Ignore height as well as width for framed images.
authorC. Scott Ananian <cscott@cscott.net>
Wed, 5 Mar 2014 17:26:28 +0000 (12:26 -0500)
committerC. Scott Ananian <cscott@cscott.net>
Thu, 3 Apr 2014 18:56:55 +0000 (14:56 -0400)
commit079c3dda80358b0b322b36f041bf1b82bf930069
tree51196b90d690a3e800a1967bcb82c4d23b1d3aa4
parenta08177050075e9e13fe78490a6c4d0d887f5d448
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
includes/filerepo/file/File.php
tests/parser/parserTests.txt