wiki.techinc.nl/tests/parser
C. Scott Ananian 083ec382c4 Handle conflicting image format options in predictable way.
The PHP parser now uses the first image format option that appears,
and ignores subsequent format options.  This enforces the "zero or one"
language in
https://en.wikipedia.org/wiki/Wikipedia:Extended_image_syntax#Type
and makes parser behavior more predictable.  This also matches Parsoid
behavior.

Change-Id: Ifa32238b3d274123c7b98022cf688c33edfd7197
2014-03-18 14:21:33 -04:00
..
preprocess Removing all disambiguation code from core 2013-09-05 14:07:51 -07:00
extraParserTests.txt
parserTest.inc Parser tests: Make Foobar.svg consistent. 2014-03-18 13:27:55 -04:00
ParserTestResult.php Fix formatting of some php docs 2014-03-15 20:49:55 +00:00
parserTests.txt Handle conflicting image format options in predictable way. 2014-03-18 14:21:33 -04:00
parserTestsParserHook.php Update formatting 2013-02-14 12:22:13 +01:00
README tip to run parser tests 2012-01-09 12:47:21 +00:00

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"