From mediawiki.org
MediaWiki extensions manual
OOjs UI icon advanced-invert.svg
Release status: unmaintained
Implementation Variable
Description Toggles headings autonumbering
Author(s) Stanislav Pika (Пика Пикаtalk)
Latest version 1.0.0 (2019-03-19)
MediaWiki 1.25+
Database changes No
License GNU General Public License 3.0 or later

The NumberedHeadings extension toggles headings autonumbering. It is based on the precursing extensions MagicNumberedHeadings and MagicNoNumberedHeadings without breaking any functionality.


This extension provides tow magic words:

  1. __NUMBEREDHEADINGS__: automatic numbering of the headings in this page is forced, regardless of the user preference settings
  2. __NONUMBEREDHEADINGS__:automatic numbering of the headings in this page is inhibited — again, regardless of the user preference settings
If article contains both magic words, __NUMBEREDHEADINGS__ takes precedence over __NONUMBEREDHEADINGS__.


  • Download and place the file(s) in a directory called NumberedHeadings in your extensions/ folder.
  • Add the following code at the bottom of your "LocalSettings.php " file:
    wfLoadExtension( 'NumberedHeadings' );
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.


Following contributions are welcome (preferably through GitHub):

  • Localizations of the magic words __NUMBEREDHEADINGS__ and __NONUMBEREDHEADINGS__
  • Bug fixes
  • Improvements

See also[edit]