mediawiki-extensions-Visual.../modules/ve/ui/tools/buttons
Trevor Parscal 1fd7e85846 Image insertion
Objective:

* Allow inserting images from local wiki and commons

Changes:

ve.init.mw.ViewPageTarget.js
* Add media insert button to toolbar

ve.init.mw.Platform.js
* Add getMediaSources method - defaults to local wiki and commons

ve.ui.MWMediaInsertDialog.js
* New dialog for inserting media
* Uses a media select widget and inserts block images

ve.ui.Dialog.css
* Added styling for media select widget in media insert dialog

ve.ui.Widget.css
* Added styles for media select widget and media select item widget

ve.ui.MWMediaInsertButtonTool.js
* New tool for inserting media

ve.ui.MediaSelectItemWidget.js
* New item widget for media select widgets

ve.ui.MediaSelectWidget.js
* New widget for searching for and selecting media items

ve.ui.TextInputWidget.js
* Added isPending method

VisualEditor.i18n.php
* New messages for media insert dialog

VisualEditor.php
* Added links to new files and messages

PhantomJS--

Change-Id: Ia803ff3ef518782ce76802d2dab7559686a1bb0a
2013-06-06 17:36:55 -07:00
..
ve.ui.BoldButtonTool.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.BulletButtonTool.js Major UI refactoring and improvements 2013-02-26 12:29:08 -08:00
ve.ui.ClearButtonTool.js Store data in LinearData class with an index-value store for objects 2013-03-30 10:06:34 +00:00
ve.ui.IndentButtonTool.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.ItalicButtonTool.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.LinkButtonTool.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.MediaButtonTool.js Reference dialog 2013-05-13 13:10:59 -07:00
ve.ui.MWLinkButtonTool.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.MWMediaInsertButtonTool.js Image insertion 2013-06-06 17:36:55 -07:00
ve.ui.MWReferenceButtonTool.js Reference dialog 2013-05-13 13:10:59 -07:00
ve.ui.MWTemplateButtonTool.js Implement ve.ui.MWTemplateDialog 2013-05-15 19:36:18 +00:00
ve.ui.NumberButtonTool.js Major UI refactoring and improvements 2013-02-26 12:29:08 -08:00
ve.ui.OutdentButtonTool.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.RedoButtonTool.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.UndoButtonTool.js ve.Editor 2013-05-15 10:39:12 -07:00