mediawiki-extensions-Visual.../modules/ve-mw/ce/nodes
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.ce.MWAlienExtensionNode.js Bump copyright like it's 2014 2014-01-05 20:06:50 +08:00
ve.ce.MWBlockImageNode.js Deal with 'none'/'border' and default size in media edit 2014-03-05 03:53:46 +00:00
ve.ce.MWEntityNode.js Bump copyright like it's 2014 2014-01-05 20:06:50 +08:00
ve.ce.MWExtensionNode.js Merge "Factor out AJAX defaults into ve.init.mw.Target.static.apiRequest()" 2014-01-15 10:37:43 +00:00
ve.ce.MWGalleryNode.js Ultra-basic gallery editing 2014-01-15 15:13:12 -08:00
ve.ce.MWHeadingNode.js Bump copyright like it's 2014 2014-01-05 20:06:50 +08:00
ve.ce.MWHieroNode.js Bump copyright like it's 2014 2014-01-05 20:06:50 +08:00
ve.ce.MWImageCaptionNode.js Bump copyright like it's 2014 2014-01-05 20:06:50 +08:00
ve.ce.MWImageNode.js Implement SVGMaxSize 2014-02-06 00:59:25 +00:00
ve.ce.MWInlineImageNode.js Only show non-anchored resize handles for MWBlock/InlineImages 2014-01-16 02:41:48 +00:00
ve.ce.MWMathNode.js Bump copyright like it's 2014 2014-01-05 20:06:50 +08:00
ve.ce.MWNumberedExternalLinkNode.js Bump copyright like it's 2014 2014-01-05 20:06:50 +08:00
ve.ce.MWPreformattedNode.js Bump copyright like it's 2014 2014-01-05 20:06:50 +08:00
ve.ce.MWReferenceListNode.js Bump copyright like it's 2014 2014-01-05 20:06:50 +08:00
ve.ce.MWReferenceNode.js Bump copyright like it's 2014 2014-01-05 20:06:50 +08:00
ve.ce.MWTransclusionNode.js Merge "Factor out AJAX defaults into ve.init.mw.Target.static.apiRequest()" 2014-01-15 10:37:43 +00:00