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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T2744, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 744 - Forcing TOC inside header results in very broken page
Forcing TOC inside header results in very broken page
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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

 = __TOC__ =

Or:

 = 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.


Navigation
Links