On Sun, Feb 14, 2010 at 7:34 PM, Marco Schuster
<[email protected]> 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

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to