Extension:MagicNumberedHeadings

The MagicNumberedHeadings extension adds MagicWord __NUMBEREDHEADINGS__ to force autonumbering of the headings of a page. I was created so as to resolve bug 3254.

This extension adds a Magic Word __NUMBEREDHEADINGS__ to the parser. If an article contains this MagicWord, automatic numbering of the headings in this page is performed, regardless of the user preference setting.

Usage

 * Add "__NUMBEREDHEADINGS__" to any article.

Installation
Download the code, see below, into this directory: $IP/extensions/MagicNumberedHeadings/

Note, $IP is the MediaWiki installation directory. You should end up with these files:

$IP/extensions/MagicNumberedHeadings/MagicNumberedHeadings.php $IP/extensions/MagicNumberedHeadings/MagicNumberedHeadings.i18n.php

Changes to LocalSettings.php
Add this line towards the end of your $IP/LocalSettings.php Note, $IP is the MediaWiki installation directory.