I noticed this feature being used in pages like: http://www.wikicities.com/wiki/User_talk:Jasonr where each headline text addition is automatically added to a dynamic table of contents.
Is this a feature of MediaWiki or does anyone know what code is required to implement this? I think its a really neat function.
Thanks in advance, Alison
Alison Russell wrote:
I noticed this feature being used in pages like: http://www.wikicities.com/wiki/User_talk:Jasonr where each headline text addition is automatically added to a dynamic table of contents.
Is this a feature of MediaWiki or does anyone know what code is required to implement this? I think its a really neat function.
The table of contents is automatically displayed if there are three or more (or was it more than three?) headers in the page.
You can suppress the table of contents on a page where you don't want it by including __NOTOC__ in the page.
-- brion vibber (brion @ pobox.com)
On Tue, 15 Mar 2005 13:14:40 -0800, Brion Vibber brion@pobox.com wrote:
You can suppress the table of contents on a page where you don't want it by including __NOTOC__ in the page.
And include it in a page which wouldn't normally qualify by using __FORCETOC__, or in a position other than just before the first heading by using __TOC__
wikitech-l@lists.wikimedia.org