mediawiki-extensions-Visual.../modules/ve-mw/ui/widgets
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
..
ve.ui.MWCategoryInputWidget.js Fix more code that misreads API data with $wgDebugToolbar enabled 2014-02-11 10:28:55 +00:00
ve.ui.MWCategoryItemWidget.js Fix typo in ui.MWCategoryItemWidget 2014-01-24 19:00:11 +00:00
ve.ui.MWCategoryPopupWidget.js Update VE core submodule to master (e7e2833) 2014-01-17 16:29:36 +01:00
ve.ui.MWCategoryWidget.js Bump copyright like it's 2014 2014-01-05 20:06:50 +08:00
ve.ui.MWLanguageInputWidget.js MediaWiki language inspector updates 2014-01-18 01:02:23 +00:00
ve.ui.MWLinkTargetInputWidget.js Pluralise visualeditor-linkinspector-suggest-(matching|redirect|disambig)-page 2014-02-08 00:35:30 +00:00
ve.ui.MWMediaResultWidget.js Bump copyright like it's 2014 2014-01-05 20:06:50 +08:00
ve.ui.MWMediaSearchWidget.js Only display image info if that exists 2014-02-14 18:12:26 -05:00
ve.ui.MWParameterResultWidget.js Bump copyright like it's 2014 2014-01-05 20:06:50 +08:00
ve.ui.MWParameterSearchWidget.js Bump copyright like it's 2014 2014-01-05 20:06:50 +08:00
ve.ui.MWReferenceResultWidget.js Bump copyright like it's 2014 2014-01-05 20:06:50 +08:00
ve.ui.MWReferenceSearchWidget.js Hide automatic reference names 2014-02-06 00:57:41 +00:00
ve.ui.MWTitleInputWidget.js Fix more code that misreads API data with $wgDebugToolbar enabled 2014-02-11 10:28:55 +00:00