Tidy up tidy usage
authorArlo Breault <abreault@wikimedia.org>
Mon, 16 Mar 2015 18:26:52 +0000 (10:26 -0800)
committerC. Scott Ananian <cscott@cscott.net>
Mon, 16 Mar 2015 20:33:50 +0000 (16:33 -0400)
commit78c3f2f4b146dd714593d85a3b74d005bdd2eae6
tree6f5affd0083a7c69af7c770028938e134a0bf81c
parent510dfa7d9a4e7ac77e7b6b03a2de22f144c4d91e
Tidy up tidy usage

 * There's a branch path in the sanitizer that depends on $wgUseTidy,
   which means the test output differs from on wiki.

 * In general, we should set these variables to match the wiki behaviour
   in tests.

 * Exposes T92892, Sanitizer removes empty tags when tidy is disabled.

 * Tweaked tests for T19663 to use an extension tag to show that
   HTML5 tags with non-word characters make it through the parser
   intact (before being ultimately sanitized).

Change-Id: I09c72fd739e11a8b757f37dc4c790758d782ad73
RELEASE-NOTES-1.25
includes/parser/ParserOptions.php
tests/parser/parserTest.inc
tests/parser/parserTests.txt
tests/parser/parserTestsParserHook.php
tests/phpunit/includes/parser/NewParserTest.php