Catrope has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/76522


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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor 
refs/changes/22/76522/1

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: newchange
Gerrit-Change-Id: I95664588e5e4e3d6caed90e1c83accc9434ecd49
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Catrope <[email protected]>

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

Reply via email to