mediawiki-extensions-Visual.../modules/ve-mw/ui/widgets
Robert Vogel 7047830bf3 MWMediaResultWidget: Fallback for 'images' without dimensions
When the MWMediaResultWidget receives a file that has no graphical
represenation (width:0 height:0) it uses minWidth of 30px for width of the
thumbnail.

This is, for example, the case with PDF files if the PdfHandler extension is
not active.

This patch solves the issue by falling back to the thumbwidth/thumbheight
values if width/height are 0.

Change-Id: I6bdaf1aafc0c45e26d31cd9dd9504e193f04e717
2015-08-14 19:40:48 +00:00
..
ve.ui.MWCategoryInputWidget.js build: Drop last jscs over-ride and make pass 2015-07-22 15:13:09 -07:00
ve.ui.MWCategoryItemWidget.js
ve.ui.MWCategoryPopupWidget.js
ve.ui.MWCategoryWidget.js build: Drop last jscs over-ride and make pass 2015-07-22 15:13:09 -07:00
ve.ui.MWExternalLinkAnnotationWidget.js Trim external link before validating 2015-07-25 19:42:33 +01:00
ve.ui.MWInternalLinkAnnotationWidget.js
ve.ui.MWMediaInfoFieldWidget.js
ve.ui.MWMediaResultWidget.js MWMediaResultWidget: Fallback for 'images' without dimensions 2015-08-14 19:40:48 +00:00
ve.ui.MWMediaSearchWidget.js
ve.ui.MWMoreParametersResultWidget.js
ve.ui.MWNoParametersResultWidget.js
ve.ui.MWParameterResultWidget.js
ve.ui.MWParameterSearchWidget.js ParameterWidget: Connect to Search results widget 'choose' events 2015-07-24 20:25:01 +02:00
ve.ui.MWReferenceGroupInputWidget.js
ve.ui.MWReferenceResultWidget.js
ve.ui.MWReferenceSearchWidget.js
ve.ui.MWReferenceSourceSelectWidget.js
ve.ui.MWTargetWidget.js
ve.ui.MWTemplateTitleInputWidget.js
ve.ui.MWTocItemWidget.js build: Drop last jscs over-ride and make pass 2015-07-22 15:13:09 -07:00
ve.ui.MWTocWidget.js build: Drop last jscs over-ride and make pass 2015-07-22 15:13:09 -07:00