Extension:SectionAnchors

From mediawiki.org
This extension is maintained by a member of the MediaWiki Stakeholders' Group .
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+
Composer mediawiki/section-anchors
License GNU General Public License 3.0 only
Download
Quarterly downloads 1 (Ranked 148th)
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[edit]

  • 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' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

External links[edit]