mediawiki-extensions-Visual.../modules/ve-mw/ui
Moriel Schottlender 21ccb20d3a Only display image info if that exists
When a new search is performed in the MWMediaSearchWidget,
image thumbnail details are extracted from the API's imageinfo.
In some cases, this parameter does not exist. MWMediaResultWidget
relies on that parameter to get image details like 'src' and
width/height. Without it the search fails.

This fix makes sure that the thumbnail result is only displayed
if there are 'imageinfo' details at all. Otherwise, the image
result is ignored.

Bug: 61392
Change-Id: I5261059bb42d3a57441514eafaa0bffa3a3c3ba4
2014-02-14 18:12:26 -05:00
..
dialogs Merge "Explain what the number on the edit summary screen means" 2014-02-13 01:09:33 +00:00
inspectors (Stand back again) Even moar label manias! (label refactoring) + VE core update 2014-02-12 14:05:23 -08:00
pages Let users set #REDIRECT and __STATICREDIRECT__ status 2014-02-12 15:24:12 -08:00
styles Mark disambiguation and redirect pages in the link inspector 2014-02-07 23:48:41 +00:00
tools (Stand back again) Even moar label manias! (label refactoring) + VE core update 2014-02-12 14:05:23 -08:00
widgets Only display image info if that exists 2014-02-14 18:12:26 -05:00
ve.ui.MWDialog.js Bump copyright like it's 2014 2014-01-05 20:06:50 +08:00