[Mediawiki-l] Hide Table of contents or remove headings from it?

Platonides Platonides at gmail.com
Sat Jun 7 21:31:30 UTC 2008


Peter Flindt wrote:
> Hello,
> I have a page with the following content:
> 
> ==A==
> Text
> ==B==
> Text
> ...
> ==Z==
> Text
> ==more content 1==
> Text
> ==more content 2==
> Text
> ==more content 3==
> Text
> 
> I want:
> -remove A-Z from the table of contents
> -or at least collapse the table of contents per default (on this site)
> 
> Is this possible? Some other ideas?
> 
> Peter

Table of Contents collapsing stauts depends on how you left that last 
time, although you could auto-collapse it per article via global javascript.
The easier would be probably using __NOTOC__ to avoid showing it at all. 
Or if your wiki has NavFrame, you can embed the TOC on it.




More information about the MediaWiki-l mailing list