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

Change subject: Fix 429587d: set default value for visualeditor-enable to 0, 
not 1
......................................................................


Fix 429587d: set default value for visualeditor-enable to 0, not 1

With our current config, 429587d would have enabled VisualEditor by
default on all wikis, which is not what we want to do. We can make the
-enable preference default to true in the extension if we really want
to, but that requires a change to wmf-config as well.

Change-Id: I95664588e5e4e3d6caed90e1c83accc9434ecd49
---
M VisualEditor.php
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/VisualEditor.php b/VisualEditor.php
index d5f34c7..51c65fb 100644
--- a/VisualEditor.php
+++ b/VisualEditor.php
@@ -59,7 +59,7 @@
 $wgHooks['BeforeWelcomeCreation'][] = 
'VisualEditorHooks::onBeforeWelcomeCreation';
 
 // Set default values for new preferences
-$wgDefaultUserOptions['visualeditor-enable'] = 1;
+$wgDefaultUserOptions['visualeditor-enable'] = 0;
 $wgDefaultUserOptions['visualeditor-betatempdisable'] = 0;
 
 // Register resource modules

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I95664588e5e4e3d6caed90e1c83accc9434ecd49
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Catrope <[email protected]>
Gerrit-Reviewer: Jforrester <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to