mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
Merge "Allow the signature button to work in NWE as well as VE"
This commit is contained in:
commit
5e9a3ac1db
|
@ -701,7 +701,7 @@ class VisualEditorHooks {
|
|||
'namespaces' => $availableNamespaces,
|
||||
'contentModels' => $availableContentModels,
|
||||
'signatureNamespaces' => array_values(
|
||||
array_filter( $availableNamespaces, 'MWNamespace::wantSignatures' )
|
||||
array_filter( MWNamespace::getValidNamespaces(), 'MWNamespace::wantSignatures' )
|
||||
),
|
||||
'pluginModules' => array_merge(
|
||||
ExtensionRegistry::getInstance()->getAttribute( 'VisualEditorPluginModules' ),
|
||||
|
|
Loading…
Reference in a new issue