Catrope has uploaded a new change for review. https://gerrit.wikimedia.org/r/204828
Change subject: Also load mwformatting in mobile ...................................................................... Also load mwformatting in mobile We need it for the strip-if-empty logic in MWHeading, and for consistency with desktop in general. Bug: T96395 Change-Id: I9e70df896417811df087f58f3107919ba704f7c4 --- M modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.init.js M modules/ve-mw/init/ve.init.mw.TargetLoader.js 2 files changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor refs/changes/28/204828/1 diff --git a/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.init.js b/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.init.js index daf2736..8bcceb9 100644 --- a/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.init.js +++ b/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.init.js @@ -88,7 +88,6 @@ // never be called if the browser doesn't support ES5 [ 'ext.visualEditor.viewPageTarget', - 'ext.visualEditor.mwformatting', 'ext.visualEditor.mwgallery', 'ext.visualEditor.mwimage', 'ext.visualEditor.mwmeta' diff --git a/modules/ve-mw/init/ve.init.mw.TargetLoader.js b/modules/ve-mw/init/ve.init.mw.TargetLoader.js index dffe052..6a328c5 100644 --- a/modules/ve-mw/init/ve.init.mw.TargetLoader.js +++ b/modules/ve-mw/init/ve.init.mw.TargetLoader.js @@ -21,6 +21,7 @@ modules = [ 'ext.visualEditor.mwcore', 'ext.visualEditor.mwlink', + 'ext.visualEditor.mwformatting', 'ext.visualEditor.data', 'ext.visualEditor.mwreference', 'ext.visualEditor.mwtransclusion', -- To view, visit https://gerrit.wikimedia.org/r/204828 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I9e70df896417811df087f58f3107919ba704f7c4 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/VisualEditor Gerrit-Branch: master Gerrit-Owner: Catrope <roan.katt...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits