[Wikidata-bugs] [Maniphest] [Commented On] T142955: Track number of article placeholder clicks from search results

2016-12-05 Thread Addshore
Addshore added a comment.
All deployed and dashboard updated.

https://grafana.wikimedia.org/dashboard/db/article-placeholderTASK DETAILhttps://phabricator.wikimedia.org/T142955EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: AddshoreCc: gerritbot, Lucie, Addshore, Aklapper, hoo, Ramalepe, Liugev6, Lewizho99, Maathavan, D3r1ck01, Andrew-WMDE, Izno, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Mbch331, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T142955: Track number of article placeholder clicks from search results

2016-11-30 Thread Addshore
Addshore added a comment.
This is now just pending a deploymentTASK DETAILhttps://phabricator.wikimedia.org/T142955EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: AddshoreCc: gerritbot, Lucie, Addshore, Aklapper, hoo, Ramalepe, Liugev6, Lewizho99, Maathavan, D3r1ck01, Izno, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Mbch331, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T142955: Track number of article placeholder clicks from search results

2016-11-23 Thread gerritbot
gerritbot added a comment.
Change 305989 merged by jenkins-bot:
WikidataArticlePlaceholderMetrics also send search referral data

https://gerrit.wikimedia.org/r/305989TASK DETAILhttps://phabricator.wikimedia.org/T142955EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Addshore, gerritbotCc: gerritbot, Lucie, Addshore, Aklapper, hoo, Ramalepe, Liugev6, Lewizho99, Maathavan, D3r1ck01, Izno, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Mbch331, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T142955: Track number of article placeholder clicks from search results

2016-08-22 Thread gerritbot
gerritbot added a comment.
Change 305989 had a related patch set uploaded (by Addshore):
WikidataArticlePlaceholderMetrics also send search referral data

https://gerrit.wikimedia.org/r/305989TASK DETAILhttps://phabricator.wikimedia.org/T142955EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Addshore, gerritbotCc: gerritbot, Lucie, Addshore, Aklapper, hoo, D3r1ck01, Izno, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T142955: Track number of article placeholder clicks from search results

2016-08-21 Thread Addshore
Addshore added a comment.
So something like this looks pretty solid.

SELECT * from wmf.webrequest
WHERE year = 2016
AND month = 08
AND day = 20
AND webrequest_source = 'text'
AND x_analytics_map["ns"] = '-1'
AND x_analytics_map["special"] = 'AboutTopic'
AND normalized_host.project_class = 'wikipedia'
AND referer rlike '^.*search=.*$'
AND referer rlike '^.*wikipedia\.org.*$'TASK DETAILhttps://phabricator.wikimedia.org/T142955EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: AddshoreCc: Lucie, Addshore, Aklapper, hoo, D3r1ck01, Izno, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T142955: Track number of article placeholder clicks from search results

2016-08-15 Thread hoo
hoo added a comment.
Referrer has same host name and contains [?&]search and maybe a title with a colon sounds fine with me and would probably be robust against changes in Special:Search.TASK DETAILhttps://phabricator.wikimedia.org/T142955EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Addshore, hooCc: Lucie, Addshore, Aklapper, hoo, D3r1ck01, Izno, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T142955: Track number of article placeholder clicks from search results

2016-08-15 Thread Addshore
Addshore added a comment.
@hoo @Lucie so I just took a quick look at the webrequest data and getting the numbers via that means will be fine and would provide us with daily data. An example entry can be seen below..

{"http_method":"GET","uri_host":"cy.wikipedia.org","uri_path":"/wiki/Arbennig:AboutTopic/Q432087","uri_query":"""referer":"https://cy.wikipedia.org/w/index.php?search=chris+ryan=Arbennig:Search=Go=eo5w649tpumdso7dk6y9l06o5","x_analytics":"ns=-1;special=AboutTopic;loggedIn=1;WMF-Last-Access=15-Aug-2016;https=1"}

As we already do we can identify when the AboutTopic special page has been hit by using the 'special' element of the x_analytics header which would be 'AboutTopic' for the page in all languages (alongside a ns of -1)

Matching Special:Search from the referrer will be slightly harder, as we can not use the namespace to match the string as it is different in different languages (and there is no sort of normalisation done (we could of course come up with some crazy normalisation)
The parameters in the URL however will always be there, so we could match referers that include a search= param and maybe a searchToken? and also make sure that the referer hostname is the same as the uri hostname?

Thoughts?TASK DETAILhttps://phabricator.wikimedia.org/T142955EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: AddshoreCc: Lucie, Addshore, Aklapper, hoo, D3r1ck01, Izno, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs