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 | Download snapshot Subversion [Help] |
||
| Example | KrefeldWiki | ||
|
|||
|
Check usage (experimental) |
|||
Contents |
[edit] 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.
[edit] Usage
- Add "__NOTOCNUM__" to any article.
[edit] Installation
- 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;}
[edit] See also
Related extensions:
[edit] Bugs
For some (or all) people this extension does not work correctly. Please see discussion page for a solution.
