Jdrewniak has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/376508 )

Change subject: Explore Similar AB test 2
......................................................................

Explore Similar AB test 2

Eventlogging for second Explore Similar feature test.
This time with just the language link + icon. Without
related pages and categories section.

Change-Id: I9c08d2742f143ae143850cd795fa56a2a425236a
---
M modules/ext.wikimediaEvents.searchSatisfaction.js
1 file changed, 10 insertions(+), 3 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikimediaEvents 
refs/changes/08/376508/1

diff --git a/modules/ext.wikimediaEvents.searchSatisfaction.js 
b/modules/ext.wikimediaEvents.searchSatisfaction.js
index 768e650..099d43c 100644
--- a/modules/ext.wikimediaEvents.searchSatisfaction.js
+++ b/modules/ext.wikimediaEvents.searchSatisfaction.js
@@ -118,7 +118,7 @@
                                // at the 1:2000 sampling. Sampling increased 
to 1:500, so 56k sessions
                                // per day.  Those 56k sessions will be split 
15k to dashboards, and
                                // 7k per bucket, for ~50k per bucket in a week.
-                               validBuckets = [],
+                               validBuckets = [ 'explore_similar_control', 
'explore_similar_test' ],
                                sampleSize = ( function () {
                                        var dbName = mw.config.get( 'wgDBname' 
),
                                                // Provides a place to handle 
wiki-specific sampling,
@@ -140,8 +140,8 @@
                                                                subTest: null
                                                        },
                                                        enwiki: {
-                                                               test: 2000,
-                                                               subTest: null
+                                                               test: 1000,
+                                                               subTest: 2
                                                        },
                                                        enwiktionary: {
                                                                test: 40,
@@ -701,6 +701,13 @@
                        );
 
                        /**
+                        * Loading Explore Similar module for A/B test
+                        */
+                       if ( session.get( 'subTest' ) === 
'explore_similar_test' ) {
+                               mw.loader.load( 'ext.cirrus.explore-similar' );
+                       }
+
+                       /**
                         * Explore similar event logging
                         * Listens for custom event sent by the Explore Similar 
module.
                         * These events pass along extra data that conforms to 
the

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9c08d2742f143ae143850cd795fa56a2a425236a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikimediaEvents
Gerrit-Branch: master
Gerrit-Owner: Jdrewniak <jdrewn...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to