jenkins-bot has submitted this change and it was merged.

Change subject: Don't consider visualeditor-enable
......................................................................


Don't consider visualeditor-enable

We have our own sticky preference that determines which editor they see
initially.

Bug: T94759
Change-Id: I74e0e17b96ce910531f29cd6820089dc7a5a88f6
---
M modules/editor/editors/visualeditor/ext.flow.editors.visualeditor.js
1 file changed, 0 insertions(+), 2 deletions(-)

Approvals:
  EBernhardson: Looks good to me, approved
  jenkins-bot: Verified



diff --git 
a/modules/editor/editors/visualeditor/ext.flow.editors.visualeditor.js 
b/modules/editor/editors/visualeditor/ext.flow.editors.visualeditor.js
index 0bdad04..91eb1a1 100644
--- a/modules/editor/editors/visualeditor/ext.flow.editors.visualeditor.js
+++ b/modules/editor/editors/visualeditor/ext.flow.editors.visualeditor.js
@@ -186,8 +186,6 @@
 
        mw.flow.editors.visualeditor.static.isSupported = function () {
                return !!(
-                       mw.user.options.get( 'visualeditor-enable' ) &&
-
                        // ES5 support, from es5-skip.js
                        ( function () {
                                // This test is based on 'use strict',

-- 
To view, visit https://gerrit.wikimedia.org/r/201356
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I74e0e17b96ce910531f29cd6820089dc7a5a88f6
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Mattflaschen <[email protected]>
Gerrit-Reviewer: EBernhardson <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to