mediawiki-extensions-Visual.../modules/ve-mw/dm/nodes
Ed Sanders 236e3d1241 [BREAKING CHANGE] Evalute block/inline state when inserting a transclusion node
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
2016-05-16 09:19:13 +01:00
..
ve.dm.MWAlienExtensionNode.js Fix asynchronous loading of MWAlienExtensionNode renderings 2016-04-01 12:50:13 +03:00
ve.dm.MWBlockImageNode.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.dm.MWEntityNode.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.dm.MWExtensionNode.js Remove redundant about attribute stripping code 2016-05-04 12:55:36 -04:00
ve.dm.MWGalleryNode.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.dm.MWHeadingNode.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.dm.MWImageCaptionNode.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.dm.MWImageNode.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.dm.MWInlineImageNode.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.dm.MWMagicLinkNode.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.dm.MWNumberedExternalLinkNode.js Link pasting: Match RDFa-less links as external 2016-03-17 17:18:41 +00:00
ve.dm.MWPreformattedNode.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.dm.MWSignatureNode.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.dm.MWTableNode.js MWTable: use new sanitization method 2016-01-29 10:29:19 -08:00
ve.dm.MWTransclusionNode.js [BREAKING CHANGE] Evalute block/inline state when inserting a transclusion node 2016-05-16 09:19:13 +01:00