Page MenuHomePhabricator

"Wikidata Query Service Updater" should have 'bot' in the user agent to indicate is a tool
Closed, ResolvedPublic

Description

While looking at some queries with WMDE folks we noticed that "Wikidata Query Service Updater" which is a tool we run for WDQS does not have "bot" in its user agent. Please add it so its requests can be properly identified as belonging to a tool we run according to our policy:
https://meta.wikimedia.org/wiki/User-Agent_policy

Details

Related Gerrit Patches:
wikidata/query/rdf : masterAdd bot to user agent header
analytics/refinery/source : masterFix user agent for WDQS updater counter
analytics/refinery/source : masterupdate user agent

Event Timeline

Nuria created this task.Nov 12 2019, 4:39 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 12 2019, 4:39 PM
Ottomata moved this task from Incoming to Bots on the Analytics board.Mon, Nov 18, 4:44 PM
Gehel added a subscriber: Mstyles.Tue, Nov 26, 8:45 AM

User agent is set in WIkibaseRepository. This looks like a simple change. @Mstyles: do you want to have a go at this one?

Mstyles claimed this task.Tue, Nov 26, 6:31 PM

Yep, I'll take a look

Change 553215 had a related patch set uploaded (by Mstyles; owner: Mstyles):
[wikidata/query/rdf@master] Add bot to user agent header

https://gerrit.wikimedia.org/r/553215

Change 554142 had a related patch set uploaded (by Mstyles; owner: Mstyles):
[analytics/refinery/source@master] update user agent

https://gerrit.wikimedia.org/r/554142

Nuria edited projects, added Analytics-Kanban; removed Analytics.Mon, Dec 2, 9:30 PM

Change 554142 merged by jenkins-bot:
[analytics/refinery/source@master] update user agent

https://gerrit.wikimedia.org/r/554142

Change 554162 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[analytics/refinery/source@master] Fix user agent for WDQS updater counter

https://gerrit.wikimedia.org/r/554162

Change 554162 merged by jenkins-bot:
[analytics/refinery/source@master] Fix user agent for WDQS updater counter

https://gerrit.wikimedia.org/r/554162

Change 553215 merged by jenkins-bot:
[wikidata/query/rdf@master] Add bot to user agent header

https://gerrit.wikimedia.org/r/553215

Gehel closed this task as Resolved.Wed, Dec 11, 4:23 PM