mediawiki-extensions-Visual.../modules/ve-mw/ui/dialogs
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.ui.MWCancelConfirmDialog.js Remove icon properties from windows 2016-03-29 12:33:42 +01:00
ve.ui.MWCommandHelpDialog.js CommandHelpDialog: Inherit non-corruptively 2016-03-14 20:03:52 +00:00
ve.ui.MWExtensionDialog.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.ui.MWExtensionPreviewDialog.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.ui.MWMediaDialog.js Remove icon properties from windows 2016-03-29 12:33:42 +01:00
ve.ui.MWMetaDialog.js Remove icon properties from windows 2016-03-29 12:33:42 +01:00
ve.ui.MWMobileSaveDialog.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.ui.MWRequiredParamBlankConfirmDialog.js Remove icon properties from windows 2016-03-29 12:33:42 +01:00
ve.ui.MWSaveDialog.js Warn for empty summary when edit section used 2016-02-23 00:34:12 +00:00
ve.ui.MWTableDialog.js Add controls for wikitable and sortable to table dialog 2016-02-01 10:58:42 -08:00
ve.ui.MWTemplateDialog.js [BREAKING CHANGE] Evalute block/inline state when inserting a transclusion node 2016-05-16 09:19:13 +01:00
ve.ui.MWTransclusionDialog.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.ui.MWWikitextSwitchConfirmDialog.js Remove icon properties from windows 2016-03-29 12:33:42 +01:00