wiki.techinc.nl/tests/parser
C. Scott Ananian 079c3dda80 Ignore height as well as width for framed images.
This makes the PHP parser behavior consistent with the specification at
https://www.mediawiki.org/wiki/Help:Images#Size_and_frame which says:
"An image with frame always ignores the size specification."

This is actually a fix to File::getUnscaledThumb() -- which didn't
actually return an unscaled thumb if the 'height' parameter was set.

Bug: 62258
Change-Id: I0ce295a4681042c446314945da5f811448b44fe6
2014-04-03 14:56:55 -04:00
..
preprocess Removing all disambiguation code from core 2013-09-05 14:07:51 -07:00
extraParserTests.txt Kill off Linker::getExternalLinkAttributes. 2011-02-05 23:06:36 +00:00
parserTest.inc Update set of files cleaned up after parserTests 2014-03-25 14:41:23 -04:00
ParserTestResult.php Fix formatting of some php docs 2014-03-15 20:49:55 +00:00
parserTests.txt Ignore height as well as width for framed images. 2014-04-03 14:56:55 -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"