mediawiki-extensions-Visual.../modules/ve-mw/ui
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
..
actions Detect the type of plain pasted links 2016-03-17 19:30:13 +00:00
commands Remove all Extension:Cite code, now moved there 2016-02-05 21:36:56 +00:00
contextitems Remove all Extension:Cite code, now moved there 2016-02-05 21:36:56 +00:00
datatransferhandlers Wikitext paste: Discard autoGenerated items after conversion 2016-05-04 10:58:01 -04:00
dialogs [BREAKING CHANGE] Evalute block/inline state when inserting a transclusion node 2016-05-16 09:19:13 +01:00
elements build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
inspectors Merge "Move cursor to end when switching to external" 2016-04-26 15:05:44 +00:00
pages ve.ui.MWParameterPage: Remove non-working 'focus' handler 2016-05-10 19:27:52 +02:00
styles EducationPopup: Give pulsating blue dot an initial opacity of 0 2016-04-14 16:22:04 +01:00
themes build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
tools Merge "Add a popup after switching into VE from WTE" 2016-04-25 22:42:55 +00:00
widgets Use correct case to access ve.ui.MWCategoryItemWidget.prototype.sortKey property 2016-04-25 23:18:09 +01:00
ve.ui.MWCommandRegistry.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.ui.MWExtensionWindow.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.ui.MWMobileContext.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.ui.MWMobileSurface.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.ui.MWSequenceRegistry.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.ui.MWWikitextTransferRegistry.js Add regex for detecting labelled external links in pasted wikitext 2016-05-04 16:20:05 +01:00