Extension:NumberedHeadings

The NumberedHeadings extension toggles headings autonumbering. It is based on and replaces now unmaintained extensions MagicNumberedHeadings and MagicNoNumberedHeadings by Purodha Blissenbach, while remaining compatible with these.

What does this extension do?
This extension adds magic words  and   to the parser. If an article contains the magic word, automatic numbering of the headings in this page is forced, regardless of the user preference settings. If the article does not contain this magic word and contains a magic word, automatic numbering of the headings in this page is inhibited — again, regardless of the user preference settings. Note: If article contains both magic words,  takes precedence over.

Installation

 * 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:
 * Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Usage
Add  or   to any article to toggle automatic numbered of the headings in this article.

Collaboration
Following contributions are welcome (preferably through GitHub):
 * Localizations of the magic words  and
 * Bug fixes
 * Improvements