jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/366490 )

Change subject: Revert "Stop RelatedArticles A/B test and clean up config"
......................................................................


Revert "Stop RelatedArticles A/B test and clean up config"

This reverts commit ebf6e60c8daf14e1e0bfe7f340c72633615cf6fd.

This change would benefit to be tested by a Related
Articles / Related Pages developer, but none was available.

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

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



diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 8743c6f..d213a1c 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -2907,6 +2907,11 @@
                $wgRelatedArticlesLoggingBucketSize = 0.01;
                $wgRelatedArticlesUseCirrusSearch = 
$wmgRelatedArticlesUseCirrusSearch;
                $wgRelatedArticlesOnlyUseCirrusSearch = false;
+
+               // T167236: Maintain backwards compatibility with the currently 
deployed
+               // version of RelatedArticles.
+               $wgRelatedArticlesEnabledSamplingRate = 
$wgRelatedArticlesEnabledBucketSize;
+               $wgRelatedArticlesLoggingSamplingRate = 
$wgRelatedArticlesLoggingBucketSize;
        }
 }
 
diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 813a8c8..bee4534 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -17474,8 +17474,16 @@
        'related-articles-footer-blacklisted-skins' => [],
 ],
 
+'wgRelatedArticlesEnabledSamplingRate' => [
+       'default' => 1,
+       // T167310
+       'enwiki' => 0.98,
+],
+
 'wgRelatedArticlesEnabledBucketSize' => [
        'default' => 1,
+       // T167310
+       'enwiki' => 0.98,
 ],
 
 'wmgUseRelatedSites' => [

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I3fb1bc7d867d55d0d574becaed2b6b3e4afa6a4f
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Dereckson <[email protected]>
Gerrit-Reviewer: Dereckson <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to