Jforrester has uploaded a new change for review.

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

Change subject: VisualEditor: Provide framework for enabling an A/B test for IPs
......................................................................

VisualEditor: Provide framework for enabling an A/B test for IPs

Change-Id: I3ed63ba959f499c075763c8801e5d84b540b9b27
---
M wmf-config/CommonSettings.php
M wmf-config/InitialiseSettings.php
2 files changed, 10 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/04/258404/1

diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 5084e11..bd7fcf8 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -2060,6 +2060,10 @@
        if ( $wmgVisualEditorNewAccountEnableProportion ) {
                $wgVisualEditorNewAccountEnableProportion = 
$wmgVisualEditorNewAccountEnableProportion;
        }
+       // Enable for a proportion of non accounts ("IPs")
+       if ( $wmgVisualEditorNonAccountEnableProportion
+               $wgVisualEditorNonAccountEnableProportion = 
$wmgVisualEditorNonAccountEnableProportion;
+       }
 
        // Citoid
        require_once "$IP/extensions/Citoid/Citoid.php";
diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 59b28b2..850696e 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -13017,6 +13017,12 @@
        'eswiki' => 1,
 ),
 
+// Whether VisualEditor should be enabled for a proportion of non accounts 
(IPs).
+// 1 => 100% of new accounts; 2 => 50%; 10 => 10%; 20 => 5%; etc.
+'wmgVisualEditorNonAccountEnableProportion' => array(
+       'default' => false,
+),
+
 // Whether VisualEditor should be enabled for new auto-created accounts on a
 // wiki where it's not already on by default.
 'wmgVisualEditorAutoAccountEnable' => array(

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3ed63ba959f499c075763c8801e5d84b540b9b27
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Jforrester <[email protected]>

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

Reply via email to