Hello all,
Occasionally while I am editing my Wiki a "contents" box will appear at the top of the page I am working on. It seems that it is triggered by inserting things in-between the heading codes (==,===,====, etc.).
I don't know exactly what is triggering this box (obviously) but I need to disable it for certain pages (Main Page, etc.).
Does anyone know exactly how this thing is triggered or how to disable it?
Thanks!
On 31/12/06, Philip Beach beachboy22@verizon.net wrote:
Occasionally while I am editing my Wiki a "contents" box will appear at the top of the page I am working on. It seems that it is triggered by inserting things in-between the heading codes (==,===,====, etc.).
Yes, that's the auto-generated table of contents.
Does anyone know exactly how this thing is triggered or how to disable it?
Add the magic word __NOTOC__ to the page somewhere; it will suppress table of contents generation.
This information was also available at http://meta.wikimedia.org/wiki/Help:Table_of_contents#Table_of_contents_.28T....
Rob Church
That worked perfectly.
Thanks a lot for your prompt reply!
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Rob Church Sent: Sunday, December 31, 2006 12:20 AM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] disable "contents box"
On 31/12/06, Philip Beach beachboy22@verizon.net wrote:
Occasionally while I am editing my Wiki a "contents" box will appear at
the
top of the page I am working on. It seems that it is triggered by
inserting
things in-between the heading codes (==,===,====, etc.).
Yes, that's the auto-generated table of contents.
Does anyone know exactly how this thing is triggered or how to disable it?
Add the magic word __NOTOC__ to the page somewhere; it will suppress table of contents generation.
This information was also available at http://meta.wikimedia.org/wiki/Help:Table_of_contents#Table_of_contents_.28T OC.29.
Rob Church _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org