Extension:SectionAnchors

MediaWiki extensions manual
SectionAnchors
Release status: stable
Description Adds buttons to section headings
Author(s) Hallo Welt! GmbH
Latest version 2.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+
License GNU General Public License 3.0 only
Download
Quarterly downloads 3 (Ranked 136th)
Translate the SectionAnchors extension if it is available at translatewiki.net

On mouse hover over section anchors, buttons are shown that allow to copy the URL to the respective heading into the clipboard. This eases sharing of such links, e.g. on instant messengers.


Installation

  • Download and move the extracted SectionAnchors folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/SectionAnchors
  • 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.