mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-12 00:58:44 +00:00
Do not have ignoreHidden set to true
We're no longer doing dark-launch deployments for the VisualEditor so this is unnecessary and a bit messy. Bug: 42936 Change-Id: I0e55faca4eabe910d9b4d8ca8c6b4b0bd42e8539
This commit is contained in:
parent
5ed4f15460
commit
96683370b4
|
@ -24,10 +24,7 @@ class VisualEditorHooks {
|
|||
global $wgVisualEditorNamespaces;
|
||||
if (
|
||||
// User has the 'visualeditor-enable' preference set
|
||||
// (bug 42936) ignoring hidden-ness so we can do dark launches
|
||||
$skin->getUser()->getOption( 'visualeditor-enable',
|
||||
/*default=*/ false, /*ignoreHidden=*/true
|
||||
) &&
|
||||
$skin->getUser()->getOption( 'visualeditor-enable' ) &&
|
||||
in_array( $skin->getSkinName(), self::$supportedSkins ) &&
|
||||
(
|
||||
// Article in the VisualEditor namespace
|
||||
|
|
Loading…
Reference in a new issue