mediawiki-extensions-Visual.../modules/ve-mw/dm/nodes
Moriel Schottlender b54575a797 Set up wiki-default image size
This commit makes several adjustments to make sure default size is being
handled correctly:

* Add wiki's default size configuration parameter to the
  VisualEditor.hooks.php file so it can be called from VE.
* Make sure new images are inserted with default size and are
  marked 'defaultSize = true' for the DM to handle.
* Force default size if 'defaultSize=true' in the DM
* Add a 'default|custom' switch to the media edit dialog for size
  inputs. When 'default' is chosen, the media size widget will be
  emptied, displaying its placeholders (default size)
* When the size widget's values are 0 it will automatically turn to
  default size values. If the value started default and the user
  typed in a size, it will automatically override default and use
  custom size.

Bug: 47804
Change-Id: Ib973ea2afa96090a4ba61b2b55ee63457f1329c1
2014-02-25 16:26:15 -05:00
..
ve.dm.MWAlienExtensionNode.js Bump copyright like it's 2014 2014-01-05 20:06:50 +08:00
ve.dm.MWBlockImageNode.js Set up wiki-default image size 2014-02-25 16:26:15 -05:00
ve.dm.MWEntityNode.js Simplify toDataElement in MW 2014-01-27 18:43:36 -08:00
ve.dm.MWExtensionNode.js Add tagName to ve.dm.MWGalleryNode 2014-01-27 14:28:16 -08:00
ve.dm.MWGalleryNode.js Add tagName to ve.dm.MWGalleryNode 2014-01-27 14:28:16 -08:00
ve.dm.MWHeadingNode.js Simplify toDataElement in MW 2014-01-27 18:43:36 -08:00
ve.dm.MWHieroNode.js Bump copyright like it's 2014 2014-01-05 20:06:50 +08:00
ve.dm.MWImageCaptionNode.js Simplify toDataElement in MW 2014-01-27 18:43:36 -08:00
ve.dm.MWImageNode.js Use apiRequest() function in MWMediaEditDialog 2014-02-06 22:37:04 +00:00
ve.dm.MWInlineImageNode.js Ensure we use our references to certain native or upstream methods 2014-02-20 22:30:29 +01:00
ve.dm.MWMathNode.js Bump copyright like it's 2014 2014-01-05 20:06:50 +08:00
ve.dm.MWNumberedExternalLinkNode.js Simplify toDataElement in MW 2014-01-27 18:43:36 -08:00
ve.dm.MWPreformattedNode.js Simplify toDataElement in MW 2014-01-27 18:43:36 -08:00
ve.dm.MWReferenceListNode.js Bump copyright like it's 2014 2014-01-05 20:06:50 +08:00
ve.dm.MWReferenceNode.js Remove unnecessary strangely written range clone 2014-01-21 17:35:45 +00:00
ve.dm.MWTransclusionNode.js Only generate transclusion contents for clipboard 2014-02-05 12:45:55 -08:00