Extension:NumberHeadings

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 2 (Ranked 135th)
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

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

See also

edit