mediawiki-extensions-Visual.../modules/ve/ui
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
..
actions ve.Editor 2013-05-15 10:39:12 -07:00
dialogs Image insertion 2013-06-06 17:36:55 -07:00
elements ve.Element refactor 2013-05-14 19:47:32 +00:00
inspectors Consistent use of mw in HTML classes, and data element and annotation types 2013-05-28 13:49:56 +01:00
layouts Fix documentation for GridLayout to add a return type 2013-05-25 12:48:17 +02:00
styles Image insertion 2013-06-06 17:36:55 -07:00
tools Image insertion 2013-06-06 17:36:55 -07:00
widgets Image insertion 2013-06-06 17:36:55 -07:00
ve.ui.Action.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
ve.ui.ActionFactory.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.CommandRegistry.js Make MW meta dialog experimental 2013-05-24 17:53:06 +02:00
ve.ui.Context.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
ve.ui.Dialog.js Prevent scrolling in top-level window while dialog is open 2013-06-06 23:43:19 +00:00
ve.ui.DialogFactory.js UI "Views" refactor 2013-04-18 15:53:50 -07:00
ve.ui.Frame.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
ve.ui.Inspector.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
ve.ui.InspectorFactory.js UI "Views" refactor 2013-04-18 15:53:50 -07:00
ve.ui.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.Layout.js ve.Element refactor 2013-05-14 19:47:32 +00:00
ve.ui.Surface.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
ve.ui.Tool.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.Toolbar.js Make MW meta dialog experimental 2013-05-24 17:53:06 +02:00
ve.ui.ToolFactory.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.ui.Trigger.js jshint: Fix trailing comma 2013-06-05 13:00:49 +02:00
ve.ui.TriggerRegistry.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.ViewRegistry.js Link inspector fixes 2013-04-24 18:29:55 -07:00
ve.ui.Widget.js ve.Element refactor 2013-05-14 19:47:32 +00:00
ve.ui.Window.js Pending input refactor 2013-06-06 21:17:35 +00:00
ve.ui.WindowSet.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00