wiki.techinc.nl/tests/parser
Tim Starling eb40eb0f18 Client-side migration for empty li preservation
It is desirable in terms of user-friendly syntax to display an empty
list item if the user adds one to the source. However, we suspect that
this change will break the rendering of existing templates. So, preserve
the empty <li> element, but style it with display:none so that there is
no user-visible change. Changes can then be observed with a user script,
then eventually the CSS can be removed so that the desired behaviour will
be user visible.

This is imagined as a staged deployment of T89331, i.e. it is better to
resolve differences with Html5Depurate one at a time instead of
deploying it all at once.

The CSS module is specified in parser/MWTidy.php since the tidy driver
hierarchy is not meant to be so closely tied to the MW environment.

Bug: T49673
Change-Id: Ifb44b782c617240e3de73dcdf76c8737c7307d94
2015-10-28 23:35:18 +00:00
..
preprocess Replace 'emailpage' with 'emailuser' 2015-08-20 10:49:03 +00:00
extraParserTests.txt
parserTest.inc In parserTests.php, fix upload directory handling 2015-09-28 15:48:32 +10:00
ParserTestResult.php tests: Clean up file headers 2015-04-01 00:17:12 +01:00
parserTests.txt Client-side migration for empty li preservation 2015-10-28 23:35:18 +00:00
parserTestsParserHook.php Tidy up tidy usage 2015-03-16 16:33:50 -04:00
README

Parser tests are run using our PHPUnit test suite in tests/phpunit:

 $ cd tests/phpunit
 ./phpunit.php --group Parser

You can optionally filter by title using --regex. I.e. :

 ./phpunit.php --group Parser --regex="Bug 6200"