Extension:SectionAnchors/en

From Linux Web Expert

Revision as of 19:58, 21 July 2023 by imported>FuzzyBot (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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