On 31/03/2008, Siebrand Mazeland s.mazeland@xs4all.nl wrote:
AFAIK this is implemented by the extension Seealso you can find in SVN.
I haven't tested it, but looking at the code it seems to just add an <h1> tag directly to the HTML at a fairly late stage. I can't see how it would add anything to the table of contents.
What's needed is a way for tag extensions to return wikitext rather than HTML - the problem is caused by parsing the wikitext for the tag as a separate call to the parser, rather than along with the rest of the page. Does such a method not exist? (I can't seem to find one.)