Jump to content

Extension:SectionAnchors

From mediawiki.org
Revision as of 13:53, 9 June 2026 by BkHuber (talk | contribs) (general content review for latest version)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
MediaWiki extensions manual
SectionAnchors
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]

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


Bluespice icon

This extension was originally made for BlueSpice . BlueSpice is a MediaWiki distribution for enterprises and organizations. It enhances MediaWiki, in particular in the areas of quality management, process support, administration, editing and security. This extension is bundled with BlueSpice pro.

BlueSpice: