mediawiki-extensions-Visual.../modules/ve-mw/ui
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
..
dialogs Set up wiki-default image size 2014-02-25 16:26:15 -05:00
inspectors Give MWAlienExtensionInspector its title back 2014-02-19 19:44:26 -08:00
pages Merge "Always try to put redirects at index 0, offset 0" 2014-02-24 22:10:17 +00:00
styles Make template parameter value inputs autosize 2014-02-21 13:38:00 +00:00
tools Let users set __NOINDEX__ & __INDEX__ status 2014-02-19 17:48:03 -08:00
widgets Update MWLanguageInputWidget to new API 2014-02-20 15:30:09 -08:00
ve.ui.MWDialog.js Bump copyright like it's 2014 2014-01-05 20:06:50 +08:00