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 Stop using deprecated aliases for OO.ui.mixin.* 2015-06-10 20:25:04 +00:00
ve.ui.MWCategoryPopupWidget.js Stop using this.$ 2015-04-14 02:54:01 +01:00
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 Merge "MWInternalLinkAnnotationWidget: Force 'Open' button to use full path" 2015-07-02 22:39:21 +00:00
ve.ui.MWMediaInfoFieldWidget.js Stop using deprecated aliases for OO.ui.mixin.* 2015-06-10 20:25:04 +00:00
ve.ui.MWMediaResultWidget.js MWMediaResultWidget: Fallback for 'images' without dimensions 2015-08-14 19:40:48 +00:00
ve.ui.MWMediaSearchWidget.js Rearrange images when the media search window resizes 2015-04-21 17:57:17 -07:00
ve.ui.MWMoreParametersResultWidget.js Stop using this.$ 2015-04-14 02:54:01 +01:00
ve.ui.MWNoParametersResultWidget.js Stop using this.$ 2015-04-14 02:54:01 +01:00
ve.ui.MWParameterResultWidget.js Stop using this.$ 2015-04-14 02:54:01 +01:00
ve.ui.MWParameterSearchWidget.js ParameterWidget: Connect to Search results widget 'choose' events 2015-07-24 20:25:01 +02:00
ve.ui.MWReferenceGroupInputWidget.js Stop using this.$ 2015-04-14 02:54:01 +01:00
ve.ui.MWReferenceResultWidget.js ve.ui.MWReferenceResultWidget: Remove unused 'divider' code and styles 2015-07-13 17:06:27 +02:00
ve.ui.MWReferenceSearchWidget.js Remove listeners from deprecated search widget 'select' events 2015-07-13 17:06:28 +02:00
ve.ui.MWReferenceSourceSelectWidget.js Refactor reference source selection out into a widget 2015-05-06 19:11:35 +01:00
ve.ui.MWTargetWidget.js Update VE core submodule to master (edaa19b) 2015-07-18 17:19:05 -05:00
ve.ui.MWTemplateTitleInputWidget.js Use new MediaWiki core TitleInputWidget 2015-06-24 17:06:00 -07:00
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