mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +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.ui.MWAdvancedTransclusionDialog.js | ||
ve.ui.MWBetaWelcomeDialog.js | ||
ve.ui.MWMediaEditDialog.js | ||
ve.ui.MWMediaInsertDialog.js | ||
ve.ui.MWMetaDialog.js | ||
ve.ui.MWReferenceDialog.js | ||
ve.ui.MWReferenceListDialog.js | ||
ve.ui.MWSaveDialog.js | ||
ve.ui.MWTemplateDialog.js | ||
ve.ui.MWTransclusionDialog.js |