mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
Merge "SET: Always show wikitext editor on action=edit if multiple tabs are in use"
This commit is contained in:
commit
e7fb159d02
|
@ -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
|
||||
) {
|
||||
|
|
Loading…
Reference in a new issue