Merge "SET: Always show wikitext editor on action=edit if multiple tabs are in use"

This commit is contained in:
jenkins-bot 2015-12-15 22:29:18 +00:00 committed by Gerrit Code Review
commit e7fb159d02

View file

@ -74,6 +74,7 @@ class VisualEditorHooks {
$user->getOption( 'visualeditor-betatempdisable' ) ||
$user->getOption( 'visualeditor-autodisable' ) ||
$user->getOption( 'visualeditor-tabs' ) === 'prefer-wt' ||
$user->getOption( 'visualeditor-tabs' ) === 'multi-tab' ||
( $veConfig->get( 'VisualEditorDisableForAnons' ) && $user->isAnon() ) ||
false // TODO: Detect incompatibility - T121298, P2373
) {