From e8a682f56702708ce2fe52fe3c1402ab57f333b5 Mon Sep 17 00:00:00 2001 From: Alex Monk Date: Wed, 9 Dec 2015 22:48:28 +0000 Subject: [PATCH] Single edit tab: Update preference value It's all Timo's fault for suggesting the new values in I65d96627 PS21, obviously. Bug: T120969 Change-Id: Ib0309342a831ec1950c1be8c7a0c79a31c413163 --- VisualEditor.hooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VisualEditor.hooks.php b/VisualEditor.hooks.php index a54997b366..7414b30cea 100644 --- a/VisualEditor.hooks.php +++ b/VisualEditor.hooks.php @@ -73,7 +73,7 @@ class VisualEditorHooks { !$user->getOption( 'visualeditor-enable' ) || $user->getOption( 'visualeditor-betatempdisable' ) || $user->getOption( 'visualeditor-autodisable' ) || - $user->getOption( 'visualeditor-tabs' ) === 'preferwt' || + $user->getOption( 'visualeditor-tabs' ) === 'prefer-wt' || ( $veConfig->get( 'VisualEditorDisableForAnons' ) && $user->isAnon() ) || false // TODO: Detect incompatibility - P2373 ) {