Extension:SectionAnchors/en

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


File:MediaWiki Stakeholders' Group Logo.svg <translate> This extension is maintained by a member of the <tvar name=1>MediaWiki Stakeholders' Group </tvar>.</translate>
MediaWiki extensions manual
SectionAnchors
Release status: stable
Description Adds buttons to section headings
Author(s) Hallo Welt! GmbH
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 Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
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

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/SectionAnchors</tvar>|Download]] and move the extracted <tvar name=name>SectionAnchors</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/SectionAnchors
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'SectionAnchors' );
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

External links