mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-30 00:55:00 +00:00
5f2ce173a0
While the documentation is unclear, it seems that the 'thumbsize' in $wgDefaultUserOptions is setting up width limit rather than a general bounding box. Things that are adapted in this fix: * Only resize the image if the image is bigger than default and marked as default size. * Only limit width, even if the image is tall. * Add rounding to calculated height value. * Make sure new images follow these rules as well on insertion. Bug: 62293 Bug: 62279 Change-Id: I37525bf3480bb1da8b0538f9b38576616aabbfa6 |
||
---|---|---|
.. | ||
ve.dm.MWAlienExtensionNode.js | ||
ve.dm.MWBlockImageNode.js | ||
ve.dm.MWEntityNode.js | ||
ve.dm.MWExtensionNode.js | ||
ve.dm.MWGalleryNode.js | ||
ve.dm.MWHeadingNode.js | ||
ve.dm.MWHieroNode.js | ||
ve.dm.MWImageCaptionNode.js | ||
ve.dm.MWImageNode.js | ||
ve.dm.MWInlineImageNode.js | ||
ve.dm.MWMathNode.js | ||
ve.dm.MWNumberedExternalLinkNode.js | ||
ve.dm.MWPreformattedNode.js | ||
ve.dm.MWReferenceListNode.js | ||
ve.dm.MWReferenceNode.js | ||
ve.dm.MWTransclusionNode.js |