{{Extension
|name        = PSINoTocNum
|status      = stable
|type        = extended syntax
|hook1       = ParserBeforeInternalParse
|hook2       = MagicWordwgVariableIDs
|hook3       = 
|hook4       = 
|author      = Benedikt Meuthrath
|image       = ScreenPSINoTocNum.png|thumb|200px
|version     = 1
|update      = 17.04.07
|mediawiki   = 1.9.x
|license     = GPLv2 or later
|download    = {{WikimediaDownload|server=svn}}
|readme      =
|changelog   =
|description = New MagicWord __NOTOCNUM__ to disable TOC numbering.
|parameters  =
|rights      = 
|example     = [http://krefeldwiki.de/wiki/Special:Version KrefeldWiki]
}}

== What can this extension do? ==

This extension realizes a new MagicWord __NOTOCNUM__. If an article contains this MagicWord numbering in the table of contents (TOC) is disabled by extra CSS.

== Usage ==

* Add "__NOTOCNUM__" to any article.

== Installation ==

# Download the PSINoTocNum.php file and put it into your wiki's extension folder.
# Include the extension in LocalSettings.php by adding: <source lang="php">require_once("extensions/PSINoTocNum.php");</source>
# Put the CSS code into Common.css (see MediaWiki:Common.css): <source lang="css">.tocnumber {display:none;}</source>

== See also ==

Related extensions:
* [[Extension:MagicNoNumberedHeadings]]
* [[Extension:MagicNumberedHeadings]]

== Bugs ==
'''For some (or all) people this extension does not work correctly. Please see discussion page for a solution.'''

[[Category:TOC extensions]]