mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 06:24:08 +00:00
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:
parent
610868d8ba
commit
87f2d0bc2a
|
@ -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',
|
||||
|
|
|
@ -1540,7 +1540,6 @@ $wgResourceModules += array(
|
|||
'ext.visualEditor.experimental' => array(
|
||||
'dependencies' => array(
|
||||
'ext.visualEditor.language',
|
||||
'ext.visualEditor.mwalienextension',
|
||||
),
|
||||
'targets' => array( 'desktop', 'mobile' ),
|
||||
),
|
||||
|
|
|
@ -1564,8 +1564,7 @@
|
|||
},
|
||||
"ext.visualEditor.experimental": {
|
||||
"dependencies": [
|
||||
"ext.visualEditor.language",
|
||||
"ext.visualEditor.mwalienextension"
|
||||
"ext.visualEditor.language"
|
||||
],
|
||||
"targets": [
|
||||
"desktop",
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
'ext.visualEditor.data',
|
||||
'ext.visualEditor.mwreference',
|
||||
'ext.visualEditor.mwtransclusion',
|
||||
'ext.visualEditor.mwalienextension',
|
||||
'ext.visualEditor.language',
|
||||
'ext.visualEditor.icons'
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue