mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 17:36:35 +00:00
236e3d1241
Make some of the methods we currently use to render the node static so we can re-use them before inserting. We do the evaluation without inserting the node so as not to dirty the document and transcation history. In the unlikely case the request fails, just fallback to inline. This only handles insertions for now as type changes on edit will be very rare. This changes the signature of insertTransclusionNode, which is used in Cite and Citoid extensions. Bug: T51784 Change-Id: Ibc2fc66e6866084b0a4deeb082c8a1ca412febb2 |
||
---|---|---|
.. | ||
ve.dm.MWImageModel.js | ||
ve.dm.MWMediaResourceProvider.js | ||
ve.dm.MWMediaResourceQueue.js | ||
ve.dm.MWMediaSearchProvider.js | ||
ve.dm.MWMediaSearchQueue.js | ||
ve.dm.MWParameterModel.js | ||
ve.dm.MWTemplateModel.js | ||
ve.dm.MWTemplatePlaceholderModel.js | ||
ve.dm.MWTemplateSpecModel.js | ||
ve.dm.MWTransclusionContentModel.js | ||
ve.dm.MWTransclusionModel.js | ||
ve.dm.MWTransclusionPartModel.js |