mediawiki-extensions-Visual.../modules/ve-mw/dm/models
Thiemo Kreuz bc1885c36f Store TemplateData JSON as is instead of copying values
Just store the JSON blob from the TemplateData API as is.

This comes with a bunch of nice consequences:
* Less code.
* Less class properties that don't do anything but copy what's
  in the TemplateData blob.
* Easier to understand what's going on. The `this.templateData`
  property is now a reference to the *actual* TemplateData
  documentation.
* No need to cache the documentedParamOrder. Just do it when
  needed.

This also removes an unused feature from the `extend()` method
that didn't made sense anyway. Before it was possible to merge
conflicting documentations. But this is not only unused, it's
impossible to have multiple documentations for the same
template.

The method acts as a straight setter now. The next patch will
rename it accordingly.

Bug: T285483
Change-Id: I3ffc202577e9a20fc7491234601ccd981113f866
2021-07-02 11:25:47 +00:00
..
ve.dm.MWImageModel.js Remove @param/@return docs that literally repeat the code 2021-06-14 15:44:51 +02:00
ve.dm.MWParameterModel.js Update documentation for all getWikitext()/serialize() methods 2021-06-18 17:30:29 +02:00
ve.dm.MWTemplateModel.js Use and document the term "known parameter" in template code 2021-07-01 12:03:38 +00:00
ve.dm.MWTemplatePlaceholderModel.js Remove @param/@return docs that literally repeat the code 2021-06-14 15:44:51 +02:00
ve.dm.MWTemplateSpecModel.js Store TemplateData JSON as is instead of copying values 2021-07-02 11:25:47 +00:00
ve.dm.MWTransclusionContentModel.js
ve.dm.MWTransclusionModel.js Merge "Update documentation for all getWikitext()/serialize() methods" 2021-07-01 11:18:08 +00:00
ve.dm.MWTransclusionPartModel.js Update documentation for all getWikitext()/serialize() methods 2021-06-18 17:30:29 +02:00