Things aren't 100% clean yet, but some tweaks are starting to go in to make output pass as XHTML.
If you'd like to test it, set these in your LocalSettings.php:
$wgMimeType = "text/xml"; $wgDocType = "-//W3C//DTD XHTML 1.0 Transitional//EN"; $wgDTD = "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";
Mozilla will let you know immediately when it finds output that's not well-formed XML by freaking out and refusing to show the page. :)
UI markup cleanup is tedious but easy. The parser still may need some tweaking here and there, and particularly clean-up for user-written HTML in wiki pages is an area that needs to be carefully checked.
Someday it might be neat to conform to XHTML 1.0 Strict, but that's a freakier land where things like 'width' and 'height' attributes are forbidden.
-- brion vibber (brion @ pobox.com)
On Sat, 03 Apr 2004 17:53:16 -0800, Brion Vibber wrote:
Things aren't 100% clean yet, but some tweaks are starting to go in to make output pass as XHTML.
The parser is mostly on track now, some remaining problems are * pre areas still sometimes nested in p's * conversion of '&' -> & (especially in urls)
Most problems remain in the edit screens and image pages now, see http://validator.aulinx.de/cgi-bin/validate.cgi?url=http%3A%2F%2Fwiki.aulinx... for a recursive validation.
wikitech-l@lists.wikimedia.org