mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-13 17:48:17 +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;
|
global $wgVisualEditorNamespaces;
|
||||||
if (
|
if (
|
||||||
// User has the 'visualeditor-enable' preference set
|
// User has the 'visualeditor-enable' preference set
|
||||||
// (bug 42936) ignoring hidden-ness so we can do dark launches
|
$skin->getUser()->getOption( 'visualeditor-enable' ) &&
|
||||||
$skin->getUser()->getOption( 'visualeditor-enable',
|
|
||||||
/*default=*/ false, /*ignoreHidden=*/true
|
|
||||||
) &&
|
|
||||||
in_array( $skin->getSkinName(), self::$supportedSkins ) &&
|
in_array( $skin->getSkinName(), self::$supportedSkins ) &&
|
||||||
(
|
(
|
||||||
// Article in the VisualEditor namespace
|
// Article in the VisualEditor namespace
|
||||||
|
|
Loading…
Reference in a new issue