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

Change subject: Enable VisualEditor for all logged-in users (but not anons) on 
enwiki
......................................................................


Enable VisualEditor for all logged-in users (but not anons) on enwiki

Bug: 49997
Change-Id: I7fa967db7abdc17e3e7d0547fa8941d2c912c1d5
---
M wmf-config/CommonSettings.php
M wmf-config/InitialiseSettings.php
2 files changed, 12 insertions(+), 1 deletion(-)

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



diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 34a0497..84a9363 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -1912,6 +1912,10 @@
        if ( $wmgVisualEditorExperimental ) {
                $wgVisualEditorEnableExperimentalCode = true;
        }
+       // Bug 50000 - to remove once roll-out is complete.
+       if ( $wmgVisualEditorDisableForAnons ) {
+               $wgVisualEditorDisableForAnons = true;
+       }
        if ( $wmgVisualEditorEnableEventLogging ) {
                $wgVisualEditorEnableEventLogging = true;
        }
diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index de59236..8233ae8 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -10514,7 +10514,8 @@
 
 'wmgVisualEditorDefault' => array(
        'default' => false,
-       'mediawikiwiki' => true // Enabled for all users
+       'mediawikiwiki' => true,
+       'enwiki' => true
 ),
 
 'wmgVisualEditorExperimental' => array(
@@ -10526,6 +10527,12 @@
        'default' => true,
 ),
 
+// Bug 50000 - to remove once roll-out complete
+'wmgVisualEditorDisableForAnons' => array(
+       'default' => false,
+       'enwiki' => true, // Bug 49997: Temporarily set during enwiki phased 
deployment
+),
+
 'wmgVisualEditorEnableEventLogging' => array(
        'default' => false,
        'enwiki' => true,

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I7fa967db7abdc17e3e7d0547fa8941d2c912c1d5
Gerrit-PatchSet: 6
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Jforrester <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to