mediawiki-extensions-Visual.../modules/ve/ui
Timo Tijhof e7af635e88 ve.ui.MWTemplateDialog: Implement templatedata API fetch
Fetch
* Added basic name expansion logic since bug 48663 is not yet
  resolved in Parsoid.
* Fetch info from template data API.

Clean up (follows-up 97157a1c, de203cb8, 718db58)
* Remove redundant initialize method.
* Pass the entire target object to #getTemplateData
  because `target.wt` is *not* the template name.
* Reorganise #createPage to be more logical and rename
  to #createParamPage.
* Add todo comments for things currently missing.
* Implement error handling of promise to prevent UI from
  going stale if the promise is not resolved.
* Fix documentation in ve.ui.MWCategoryInputWidget.

Change-Id: Ie0114a81eead86d7a3b3e3a7a5b10d25c457b524
2013-05-20 23:50:19 -07:00
..
actions ve.Editor 2013-05-15 10:39:12 -07:00
dialogs ve.ui.MWTemplateDialog: Implement templatedata API fetch 2013-05-20 23:50:19 -07:00
elements ve.Element refactor 2013-05-14 19:47:32 +00:00
inspectors ve.Editor 2013-05-15 10:39:12 -07:00
layouts Fieldsets and default sort keys 2013-05-10 16:46:08 -07:00
styles Icons for underline, strike & super/subscript buttons 2013-05-20 16:53:04 -07:00
tools Implement ve.ui.MWTemplateDialog 2013-05-15 19:36:18 +00:00
widgets ve.ui.MWTemplateDialog: Implement templatedata API fetch 2013-05-20 23:50:19 -07:00
ve.ui.Action.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.ActionFactory.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.CommandRegistry.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.Context.js ve.ui.PopupWidget visibility fixes 2013-05-17 05:49:16 +00:00
ve.ui.Dialog.js ve.ui.Context: Add embedding feature 2013-05-16 11:23:59 -07:00
ve.ui.DialogFactory.js UI "Views" refactor 2013-04-18 15:53:50 -07:00
ve.ui.Frame.js ve.Element refactor 2013-05-14 19:47:32 +00:00
ve.ui.Inspector.js ve.Editor 2013-05-15 10:39:12 -07: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 ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.Tool.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.Toolbar.js ve.ui.Context: Add embedding feature 2013-05-16 11:23:59 -07: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 ve.Editor 2013-05-15 10:39:12 -07: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 ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.WindowSet.js ve.Editor 2013-05-15 10:39:12 -07:00