Last modified: 2011-03-13 18:05:14 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 744 - Forcing TOC inside header results in very broken page
Forcing TOC inside header results in very broken page
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2004-10-18 21:37 UTC by Tom Gilder
Modified: 2011-03-13 18:05 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Tom Gilder 2004-10-18 21:37:31 UTC

 = __TOC__ =


 = test = __TOC__ = test =

...results in very messed up page, with two TOCs, one of which is inside a header. Possibly need to 
ignore __TOC__ inside headers?
Comment 1 Antoine "hashar" Musso (WMF) 2004-11-13 19:32:11 UTC
Incorrect use of __NOTOC__ , it should be on its own line not in a heading.

If you want to make a header named "__NOTOC__" use the <nowiki> tag :

== foo ==

== <nowiki>__TOC__</nowiki> ==

Note You need to log in before you can comment on or make changes to this bug.