Extension:SectionAnchors
Appearance
Release status: stable |
|
|---|---|
| Description | Adds buttons to section headings |
| Author(s) | Hallo Welt! GmbH |
| Latest version | 3.0.0-alpha |
| Compatibility policy | For every MediaWiki release that is a Long Term Support release there is a corresponding branch in the extension. |
| MediaWiki | 1.39+ |
| Licence | GNU General Public License 3.0 only |
| Download | |
| Translate the SectionAnchors extension if it is available at translatewiki.net | |
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
[edit]- 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' );
Done Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
External Links
[edit]
| This extension is included in the following wiki farms/hosts and/or packages: |

