On 1/26/06, Brion Vibber brion@pobox.com wrote:
Gerrit Quast wrote:
The problem is that for every template, mediawiki closes tags that left open. The second template (only the closing DIV) is escaped and appears as clear text.
IIRC, there's a bug in the parser cleanup when HTML Tidy is enabled which causes it to _not_ close the open tags for each template.
Of course one man's bug is another feature.
If so it looks like it's a bug which is being used by the Portal templates on wikipedia.
Someone asked a month or so ago why some of the wikipedia portal templates weren't working the same way on their installation as they did on wikipedia.
Have a look at the template: http://en.wikipedia.org/w/index.php?title=Portal:Box-header&action=edit
It leaves an open <div> to be closed by another template: http://en.wikipedia.org/w/index.php?title=Portal:Box-footer&action=edit
-- Rick DeNatale
Visit the Project Mercury Wiki Site http://www.mercuryspacecraft.com/