<foo> == Heading 1 == Text == Heading 2 == Text == Heading 3 == Text </foo>
This creates no TOC.
<foo> __TOC__ ...
This forces the TOC, but is a lame workaround.
__TOC__ == Heading 1 == <foo> __TOC__ == Heading 2 == </foo>
This creates 2 TOCs so it clearly is bug that needs a fix.
Support desk discussion: http://www.mediawiki.org/wiki/Thread:Project:Support_desk/Tag_hook:_recursiveTagParse%28%29_-_TOC_not_loaded
Version: unspecified
Severity: normal