mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 17:36:35 +00:00
8130acebfd
Adding the ability to edit image size in the media edit dialog. The size is now a separate widget. The following changes were made: * The dialog was changed to a booklet with 'general settings' and 'advanced settings', in preparation for other edit features. * The original image maximum size is fetched from the API and cached. * Maximum size is limited to the image's original maximum size. * Aspect ratio is kept when changing height or width, using original image size to preserve a sane ratio through the MediaSizeWidget. * If an error is found in the size, the image will retain its previously set dimensions. Depends on MediaSizeWidget: I3d0f9348a52 Bug: 38129 Change-Id: I2946fb21c46ce05583b219f665ef68928188899e |
||
---|---|---|
.. | ||
ve.ce.MWAlienExtensionNode.js | ||
ve.ce.MWBlockImageNode.js | ||
ve.ce.MWEntityNode.js | ||
ve.ce.MWExtensionNode.js | ||
ve.ce.MWGalleryNode.js | ||
ve.ce.MWHeadingNode.js | ||
ve.ce.MWHieroNode.js | ||
ve.ce.MWImageCaptionNode.js | ||
ve.ce.MWImageNode.js | ||
ve.ce.MWInlineImageNode.js | ||
ve.ce.MWMathNode.js | ||
ve.ce.MWNumberedExternalLinkNode.js | ||
ve.ce.MWPreformattedNode.js | ||
ve.ce.MWReferenceListNode.js | ||
ve.ce.MWReferenceNode.js | ||
ve.ce.MWTransclusionNode.js |