Extension:PSINoTocNum
From MediaWiki.org
|
PSINoTocNum Release status: stable |
|||
|---|---|---|---|
![]() |
|||
| Implementation | Extended syntax | ||
| Description | New MagicWord __NOTOCNUM__ to disable TOC numbering. | ||
| Author(s) | Benedikt Meuthrath | ||
| Last version | 1 (17.04.07) | ||
| MediaWiki | 1.9.x | ||
| License | GPLv2 or later | ||
| Download |
SVN [?]:
|
||
| Example | KrefeldWiki | ||
|
|||
| Check usage and version matrix | |||
Contents |
What can this extension do? [edit]
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 [edit]
- Add "__NOTOCNUM__" to any article.
Installation [edit]
- Download the PSINoTocNum.php file and put it into your wiki's extension folder.
- Include the extension in LocalSettings.php by adding:
require_once("extensions/PSINoTocNum.php");
- Put the CSS code into Common.css (see MediaWiki:Common.css):
.tocnumber {display:none;}
See also [edit]
Related extensions:
Bugs [edit]
For some (or all) people this extension does not work correctly. Please see discussion page for a solution.
