mediawiki-extensions-Visual.../modules/ve-mw
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
..
ce Make transclusions which are td/th elements behave as table cells 2015-08-04 17:52:13 +00:00
dm Merge "Make transclusions which are td/th elements behave as table cells" 2015-08-04 20:37:41 +00:00
i18n Localisation updates from https://translatewiki.net. 2015-08-11 22:10:33 +02:00
init Don't reset edit summary every time we open the save dialog 2015-08-11 20:39:31 +01:00
tests Localisation updates from https://translatewiki.net. 2015-08-08 21:16:04 +02:00
ui MWMediaResultWidget: Fallback for 'images' without dimensions 2015-08-14 19:40:48 +00:00