mediawiki-extensions-Visual.../modules/ve-mw/dm/models
Christian Williams 1fc13cce68 Make MWTransclusionModel and MWTemplateDialog extensible
Wikia has done some work on the template user experience, including
automatically showing all available parameters without the use of
TemplateData. In order to make our changes, we had to make some changes
to VE-MW.

ve.dm.MWTransclusionModel.js
* this.specCache is created so subclasses can reference it.
* Promise handlers in the fetch() method have been broken out as class
  methods so they can be overridden in subclasses.

ve.ui.MWTemplateDialog.js
* addPromptedParameters() has been moved to the
  initializeNewTemplateParameters() class method so subclasses can
  overwrite. In Wikia's implementation, we have a method of getting
  all parameters and a dialog that shows all of the parameters, so the
  request to addPromptedParameters is overwritten.
* Added a done() handler to the transclusionModel promise for Wikia
  extensibility.

Change-Id: I073c5850420e7719e82957f879423c2717af674a
2014-10-10 20:38:18 +00:00
..
ve.dm.MWImageModel.js Check for changes in the model 2014-09-04 14:05:01 -07:00
ve.dm.MWParameterModel.js Restyle parameter pages 2014-04-30 16:27:19 -07:00
ve.dm.MWReferenceModel.js Switch 'disallowQuotedKeysInObjects' jscs rule on and fix up 2014-08-22 13:50:48 -07:00
ve.dm.MWTemplateModel.js Switch 'disallowQuotedKeysInObjects' jscs rule on and fix up 2014-08-22 13:50:48 -07:00
ve.dm.MWTemplatePlaceholderModel.js
ve.dm.MWTemplateSpecModel.js Merge "Use mw.Title#getRelativeText to deal with titles relative to specific namespaces" 2014-09-26 02:50:43 +00:00
ve.dm.MWTransclusionContentModel.js Implement 'change' events in templates models 2014-01-22 19:03:17 +00:00
ve.dm.MWTransclusionModel.js Make MWTransclusionModel and MWTemplateDialog extensible 2014-10-10 20:38:18 +00:00
ve.dm.MWTransclusionPartModel.js Implement 'change' events in templates models 2014-01-22 19:03:17 +00:00