mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 08:34:54 +00:00
7047830bf3
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 |
||
---|---|---|
.. | ||
ve.ui.MWCategoryInputWidget.js | ||
ve.ui.MWCategoryItemWidget.js | ||
ve.ui.MWCategoryPopupWidget.js | ||
ve.ui.MWCategoryWidget.js | ||
ve.ui.MWExternalLinkAnnotationWidget.js | ||
ve.ui.MWInternalLinkAnnotationWidget.js | ||
ve.ui.MWMediaInfoFieldWidget.js | ||
ve.ui.MWMediaResultWidget.js | ||
ve.ui.MWMediaSearchWidget.js | ||
ve.ui.MWMoreParametersResultWidget.js | ||
ve.ui.MWNoParametersResultWidget.js | ||
ve.ui.MWParameterResultWidget.js | ||
ve.ui.MWParameterSearchWidget.js | ||
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 | ||
ve.ui.MWTocWidget.js |