Last modified: 2011-03-13 18:05:14 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?
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> ==