DCausse has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/334673 )
Change subject: [WIP] Configure A/B test for CrossProject search results sidebar
......................................................................
[WIP] Configure A/B test for CrossProject search results sidebar
WIP: just to clarify what we'll be needed, not all features are merged yet.
Bug: T149806
Change-Id: I9bfda0eb73582b05c03897863199c88fa2fc11e1
---
M wmf-config/InitialiseSettings.php
1 file changed, 35 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config
refs/changes/73/334673/1
diff --git a/wmf-config/InitialiseSettings.php
b/wmf-config/InitialiseSettings.php
index 69e077a..5aea64d 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -17242,6 +17242,41 @@
'wmgCirrusSearchUserTesting' => [
'default' => [],
+ // Specific wikis are enabled from the client
+ // Enabling this on itwiki might lead to unexpected behaviors
+ 'wikipedia' => [
+ 'sidebar' => [
+ 'samplerate' => 0,
+ 'globals' => [
+ // Should enable crossproject with sitematrix
+ 'wgCirrusSearchEnableCrossProjectSearch' =>
true,
+ // Enable for all buckets
+ 'wgCirrusSearchNewCrossProjectPage' => true,
+ 'wgCirrusSearchNumCrossProjectSearchResults' =>
3,
+ ],
+ 'buckets' => [
+ // control, we explicitly hide the side bar
+ 'no_sidebar' => [
+ 'trigger' => 'no_sidebar',
+ 'globals' => [
+
'wgCirrusSearchHideCrossProjectResults' => true,
+ ]
+ ],
+ 'recall_sidebar_results' => [
+ 'trigger' => 'recall_sidebar_results',
+ 'globals' => [
+
'wgCirrusSearchCrossProjectOrder' => 'recall',
+ ],
+ ],
+ 'random_sidebar_results' => [
+ 'trigger' => 'random_sidebar_results',
+ 'globals' => [
+
'wgCirrusSearchCrossProjectOrder' => 'random',
+ ],
+ ]
+ ]
+ ]
+ ],
],
'wmgCirrusSearchLanguageDetectors' => [
--
To view, visit https://gerrit.wikimedia.org/r/334673
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9bfda0eb73582b05c03897863199c88fa2fc11e1
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: DCausse <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits