Since we're on that topic again :-) I'd like to announce that I've added a script to my wiki2xml package (svn: wiki2xml/php) that runs the MediaWiki parser tests on it. At first glance, there are many errors, but at closer view, the XML is actually pretty good in most cases; just my XML-to-XHTML script is not entirely up to the task yet.
Also, the "expected results" in the parser tests are sometimes rather MediaWiki-specific. Does it matter if there's a space after <li>? It's not rendered anyway. Or, "X\nY" vs. "X Y" in HTML - no difference, AFAIK (except in <pre>). These "non-errors" make up quite a few "wrong" results in my tests.
Cheers, Magnus
wikitech-l@lists.wikimedia.org