Make ext.visualEditor.mwalienextension mandatory (no longer experimental)

This module is required in order to alienate all extension blocks
by default. Otherwise they are interpreted as plain divs which
allow content editable.

Bug: T103455
Change-Id: I08f6b9a516ba6bee6ed18256222108116eceee1e
This commit is contained in:
Timo Tijhof 2015-06-23 03:30:31 +01:00
parent 610868d8ba
commit 87f2d0bc2a
4 changed files with 3 additions and 3 deletions

View file

@ -594,6 +594,7 @@ class VisualEditorHooks {
'ext.visualEditor.mwmeta',
'ext.visualEditor.mwreference',
'ext.visualEditor.mwtransclusion',
'ext.visualEditor.mwalienextension',
'ext.visualEditor.experimental',
'ext.visualEditor.viewPageTarget.init',
'ext.visualEditor.viewPageTarget',

View file

@ -1540,7 +1540,6 @@ $wgResourceModules += array(
'ext.visualEditor.experimental' => array(
'dependencies' => array(
'ext.visualEditor.language',
'ext.visualEditor.mwalienextension',
),
'targets' => array( 'desktop', 'mobile' ),
),

View file

@ -1564,8 +1564,7 @@
},
"ext.visualEditor.experimental": {
"dependencies": [
"ext.visualEditor.language",
"ext.visualEditor.mwalienextension"
"ext.visualEditor.language"
],
"targets": [
"desktop",

View file

@ -25,6 +25,7 @@
'ext.visualEditor.data',
'ext.visualEditor.mwreference',
'ext.visualEditor.mwtransclusion',
'ext.visualEditor.mwalienextension',
'ext.visualEditor.language',
'ext.visualEditor.icons'
]