[Mediawiki-l] TOC for Special Pages

Bart Q. Simon bqs at bluefang.com
Fri Apr 22 15:03:26 UTC 2005


I created a special page for my wiki, and in the php for it I've made
extensive use of the wikitext wgout. I've marked up a number of my
wikitext entries as headers (i.e. ==header name==, etc.)

 

When wiki renders my page it does display the wiki headers the right way
- they're large, boldfaced, underlined, etc. BUT...

 

I can't get a table of contents to appear. I've even used __FORCETOC__,
but I just get a blank table of contents.

 

Is it possible to use TOC on a special page, or is this not a supported
feature because of the way special pages are parsed?

 

Any tips would be appreciated.


Thanks!




More information about the MediaWiki-l mailing list