Jump to content

Extension:NumberHeadings

From mediawiki.org
MediaWiki extensions manual
NumberHeadings
Release status: stable
Description Allows for numbering headings in content namespaces.
Author(s) Hallo Welt! GmbH
Latest version 1.0.2
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
  • $wgNumberHeadingsEnable
  • $wgNumberHeadingsExcludeNamespaces
Quarterly downloads 4 (Ranked 132nd)
Translate the NumberHeadings extension if it is available at translatewiki.net

The NumberHeadings extension allows for numbering headings in content namespaces and showing these in the table of contents.

Installation

  • Download and move the extracted NumberHeadings 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/NumberHeadings
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'NumberHeadings' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

See also