Extension:MagicNoNumberedHeadings

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
MagicNoNumberedHeadings

Release status: stable

Implementation Extended syntax
Description Adds the MagicWord __NONUMBEREDHEADINGS__ to disable autonumbering of the headings in a page.
Author(s) Purodha Blissenbach (Purodhatalk)
Last version 1.12 (2009-08-14)
MediaWiki 1.11+
Database changes no
License GPL
Download
README
Example KrefeldWiki
Hooks used
ParserBeforeInternalParse
Check usage and version matrix

The MagicNoNumberedHeadings extension adds a Magic Word __NONUMBEREDHEADINGS__ to the parser. If an article contains this MagicWord, automatic numbering of the headings in this page is disabled, regardless of the user preference setting. It was created so as to resolve bug 7832.

Contents

Usage [edit]

  • Add "__NONUMBEREDHEADINGS__" to any article.

Installation [edit]

Download the code into this file:

$IP/Extensions/MagicNoNumberedHeadings/MagicNoNumberedHeadings.php

Note, $IP is the MediaWiki installation directory.

Parameters [edit]

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

Changes to LocalSettings.php [edit]

Add this line towards the end of your $IP/LocalSettings.php

require_once($IP.'/extensions/MagicNoNumberedHeadings/MagicNoNumberedHeadings.php');

Note, $IP is the MediaWiki installation directory.

Wikis using the extension [edit]

See also [edit]

Related extensions:

Mediazilla: