mediawiki-extensions-Visual.../modules/ve-mw/dm/models
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.MWImageModel.js MWImageModel: Use clearDefaultDimensions 2016-02-08 12:37:26 +00:00
ve.dm.MWMediaResourceProvider.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.dm.MWMediaResourceQueue.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.dm.MWMediaSearchProvider.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.dm.MWMediaSearchQueue.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.dm.MWParameterModel.js Use widgets for wiki-page-name, wiki-user-name, wiki-template-name, boolean, URL and line template fields 2016-04-06 22:07:19 +01:00
ve.dm.MWTemplateModel.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.dm.MWTemplatePlaceholderModel.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.dm.MWTemplateSpecModel.js MWTemplateSpecModel: Use namespace constant 2016-03-01 21:41:10 +00:00
ve.dm.MWTransclusionContentModel.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.dm.MWTransclusionModel.js [BREAKING CHANGE] Evalute block/inline state when inserting a transclusion node 2016-05-16 09:19:13 +01:00
ve.dm.MWTransclusionPartModel.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00