mediawiki-extensions-Visual.../modules/ve-mw/ce
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
..
annotations build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
nodes [BREAKING CHANGE] Evalute block/inline state when inserting a transclusion node 2016-05-16 09:19:13 +01:00
styles/nodes Use iconWhenInvisible for alien extension nodes 2016-03-07 18:15:45 +00:00
ve.ce.MWResizableNode.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00