mediawiki-extensions-Visual.../modules/ve-mw/ui/dialogs
Moriel Schottlender 89aecd54ba Deal with 'none'/'border' and default size in media edit
There are several conditions to defaultSize behavior of thumbnails and
frameless images and other images when it comes to default size. In the
same principle is 'border' which is not quite a type despite the fact
it 'behaves' as such in wikitext (and has a unique identifier that comes
instead of the other types.

This commit aims to organize this behavior for the user in an
understandable manner.

* Add 'basic' image type for images that have no specified type ('none')
* Handle the difference in 'default' size behavior between basic images
  and thumbnails/frameless. The thumb/frameless images have the default
  wiki size. Other images' default size is their original dimensions.
* Force wiki-configured default size for thumbnails and frameless images
  in the DM. This is done because at the moment Parsoid's output is of
  Wikipedia's default size rather than the local wiki's. The size is
  adapted if needed, directly in the DM.
* Added 'border' as a pseudo-type checkbox flag that sets css class
  'mw-image-border' is for parsoid rendering on save.
* Add 'make full size' to the size widget select and treat it as a faux
  default button for basic and frame images.

Bug: 62013
Bug: 62024
Bug: 61155
Bug: 61059
Bug: 61282
Change-Id: I6778705306f0dd6bb96afeb91383089a4ddab7ed
2014-03-05 03:53:46 +00:00
..
ve.ui.MWAdvancedTransclusionDialog.js Prevent superfluous setPage calls by introducing a lock 2014-02-28 17:26:04 -08:00
ve.ui.MWBetaWelcomeDialog.js (Stand back again) Even moar label manias! (label refactoring) + VE core update 2014-02-12 14:05:23 -08:00
ve.ui.MWCommandHelpDialog.js Add MW-specific keyboard shortcut help 2014-02-19 23:53:22 +00:00
ve.ui.MWMediaEditDialog.js Deal with 'none'/'border' and default size in media edit 2014-03-05 03:53:46 +00:00
ve.ui.MWMediaInsertDialog.js Merge "Revert "Revert "Set href attribute of newly inserted image to image title""" 2014-03-01 01:38:43 +00:00
ve.ui.MWMetaDialog.js Let users set __NOINDEX__ & __INDEX__ status 2014-02-19 17:48:03 -08:00
ve.ui.MWReferenceDialog.js Add placeholder to 'group' field in reference dialog too 2014-02-19 17:33:35 -08:00
ve.ui.MWReferenceListDialog.js Show placeholder text in group input box on reference list dialog 2014-02-18 20:56:45 +00:00
ve.ui.MWSaveDialog.js Don't show edit summary preview if it's blank 2014-02-22 00:55:43 +00:00
ve.ui.MWTemplateDialog.js Use small option for template dialog 2014-03-01 01:24:29 +00:00
ve.ui.MWTransclusionDialog.js Prevent superfluous setPage calls by introducing a lock 2014-02-28 17:26:04 -08:00