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

Change subject: Record searchToken in referer for mobile as well
......................................................................

Record searchToken in referer for mobile as well

For desktop search we plug a token into the url so it is seen in
referer, and can be used to collect data about what links are clicked
for a particular search. This was only being sent to desktop but in
testing works equally well for the mobile site.

This should allow us to collect more accurate data from which to
measure relevance with the DBN.

Change-Id: I6eeeac426b67d56568bf9686c1e2266e9019de83
---
M CirrusSearch.php
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CirrusSearch 
refs/changes/32/326532/1

diff --git a/CirrusSearch.php b/CirrusSearch.php
index 2782a77..a908881 100644
--- a/CirrusSearch.php
+++ b/CirrusSearch.php
@@ -1157,6 +1157,7 @@
                'messages' => [],
                'remoteExtPath' => 'CirrusSearch',
                'localBasePath' => __DIR__,
+               'targets' => [ 'desktop', 'mobile' ],
        ],
 ];
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6eeeac426b67d56568bf9686c1e2266e9019de83
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: master
Gerrit-Owner: EBernhardson <ebernhard...@wikimedia.org>

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

Reply via email to