mediawiki-extensions-Visual.../modules/ve-mw
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
..
ce [BREAKING CHANGE] Evalute block/inline state when inserting a transclusion node 2016-05-16 09:19:13 +01:00
dm [BREAKING CHANGE] Evalute block/inline state when inserting a transclusion node 2016-05-16 09:19:13 +01:00
i18n Localisation updates from https://translatewiki.net. 2016-05-13 22:24:10 +02:00
init Add WTE welcome dialog 2016-05-10 23:28:21 +00:00
tests Use new action test runner 2016-05-13 14:21:49 +00:00
themes build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ui [BREAKING CHANGE] Evalute block/inline state when inserting a transclusion node 2016-05-16 09:19:13 +01:00