mediawiki-extensions-Visual.../modules/ve-mw/ui
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
..
actions
commands build: Drop last jscs over-ride and make pass 2015-07-22 15:13:09 -07:00
contextitems Make transclusions which are td/th elements behave as table cells 2015-08-04 17:52:13 +00:00
dialogs Merge "Don't reset edit summary every time we open the save dialog" 2015-08-11 22:45:41 +00:00
inspectors [BrowserTest] Added screenshots scenarios for links and categories 2015-07-18 15:39:28 +00:00
pages Unbreak meta dialog cancel button 2015-08-03 22:36:53 +00:00
styles Make missingref references uneditable, not uninspectable 2015-07-24 12:03:05 -07:00
themes Remove Minerva MobileWindowManager.css 2015-08-10 08:49:35 -07:00
tools MobileArticleTarget: Give toolbar split focused/unfocused modes 2015-08-06 15:43:36 -07:00
widgets MWMediaResultWidget: Fallback for 'images' without dimensions 2015-08-14 19:40:48 +00:00
ve.ui.MWCommandRegistry.js MWCommandRegistry: Move commands' registrations to their code 2015-08-02 17:55:09 -07:00
ve.ui.MWMobileContext.js
ve.ui.MWMobileSurface.js Stop using this.$ 2015-04-14 02:54:01 +01:00
ve.ui.MWSequenceRegistry.js Comment potential override of wikitextRef sequence 2015-04-11 12:03:58 +01:00