Extension:SectionAnchors/zh
Appearance
发行状态: 稳定版 |
|
|---|---|
| 描述 | Adds buttons to section headings |
| 作者 | Hallo Welt! GmbH |
| 最新版本 | 3.0.0-alpha |
| 兼容性政策 | 对于每个有长期支持的MediaWiki发行版本,扩展内都有对应的分支。 |
| MediaWiki | 1.39+ |
| 许可证 | GNU General Public License 3.0 only |
| 下載 | |
| 前往translatewiki.net翻譯SectionAnchors扩展 | |
The SectionAnchors extension adds buttons to section headings.
On the mouse hover over section anchors, buttons are shown that allow users to copy the URL to the respective heading on the clipboard.
This eases sharing such links, e.g., on instant messengers.
Installation
- Add the repo url (https://github.com/wikimedia/mediawiki-extensions-SectionAnchors
.git) as a "vcs repository" and the package name (mediawiki/SectionAnchors) and version to the require section of your composer.local.json. Example:
{ "repositories": [ { "type": "vcs", "url": "https://github.com/wikimedia/mediawiki-extensions-SectionAnchors .git" } ], "require": { "mediawiki/SectionAnchors": "SectionAnchors" } }
- Run the following command in your MediaWiki installation path
composer update --no-dev
- Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'SectionAnchors' );
完成 Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
External Links
| 此扩展在以下wiki农场/托管网站和/或软件包中提供: |

