On Sun, Feb 14, 2010 at 7:34 PM, Marco Schuster marco@harddisk.is-a-geek.org wrote:
What about turning wgUseTidy off for some time?
The doctype that we serve is XHTML, and various AJAX tools rely on being able to parse the DOM tree as an XML document. But there are certain valid wikitext constructions that are ''guaranteed'' to generate invalid XML without tidy, because of mediawiki bugs. For example, putting a list inside a table cell (bug 17486). So tidy seems to be a requirement for the time being.
I hope that, before the doctype is changed to html5, a substantial grace period is given for people to change to an HTML5 parser in their javascript code.
One high-profile use case here is the Twinkle script.
- Carl