Extension:MagicNumberedHeadings



What does this extension do?
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 file: $IP/extensions/MagicNumberedHeadings/MagicNumberedHeadings.php Note, $IP is the MediaWiki installation directory.

Parameters
None - beyond multilingual (i18n) versions of the MagicWord.

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

Wikis using the extension

 * KrefeldWiki