mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 23:05: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.ce.MWAlienExtensionNode.js | ||
ve.ce.MWBlockImageNode.js | ||
ve.ce.MWEntityNode.js | ||
ve.ce.MWExtensionNode.js | ||
ve.ce.MWGalleryNode.js | ||
ve.ce.MWHeadingNode.js | ||
ve.ce.MWImageCaptionNode.js | ||
ve.ce.MWImageNode.js | ||
ve.ce.MWInlineImageNode.js | ||
ve.ce.MWMagicLinkNode.js | ||
ve.ce.MWNumberedExternalLinkNode.js | ||
ve.ce.MWPreformattedNode.js | ||
ve.ce.MWSignatureNode.js | ||
ve.ce.MWTableNode.js | ||
ve.ce.MWTransclusionNode.js |