Extension:MagicNoNumberedHeadings

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
Crystal Clear action run.svg
MagicNoNumberedHeadings
Release status: unmaintained
Implementation Extended syntax
Description Adds the MagicWord __NONUMBEREDHEADINGS__ to disable autonumbering of the headings in a page.
Author(s) Purodha Blissenbach (Purodhatalk)
Latest version 1.12 (2009-08-14)
MediaWiki 1.11+
Database changes No
License GPL
Download Template:WikimediaDownload/svn
README
Example KrefeldWiki
Hooks used
ParserBeforeInternalParse
Translate the MagicNoNumberedHeadings extension if it is available at translatewiki.net
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.

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: