Do not require iiurlwidth when getting thumbnails.
authorBrian Wolff <bawolff+wn@gmail.com>
Thu, 19 Jun 2014 23:19:35 +0000 (20:19 -0300)
committerBrian Wolff <bawolff+wn@gmail.com>
Thu, 18 Sep 2014 16:29:27 +0000 (13:29 -0300)
commit542cbb8b400d79d576e7871b25c16b1247771270
tree6286fec6f1c0f45c0995a0f6a66d49c9ef6af836
parent06ff9b74c59332ed1365a1716f675785962e69de
Do not require iiurlwidth when getting thumbnails.

Some file types might not have a specific width/height. As an
example, TimedMediaHandler can specify thumbnails that are
"mid" sized instead of specific width. The requirement for
iiurlwidth was breaking some edge cases with ForeignAPIRepo
and TimedMediaHandler (Specificly with ?embedplayer=yes).

Do not require a width, but also verify that thumbnail parameters
are ok by running through normaliseParams (Formats that require
a width make this function return false if none is specified).

Change-Id: I8bb4c26db56c814ddfbd3e53ca98d05378c2a0bd
RELEASE-NOTES-1.24
includes/api/ApiQueryImageInfo.php