Page MenuHomePhabricator

Make the user agent configurable for Wikidata Query Service Updater
Closed, ResolvedPublic

Description

Since wdqs-updater is used outside WMF, we should ensure that those external use cases can be identified more easily. At the moment, the user agent is hardcoded, it should be a configuration argument instead.

Note that this concern was surfaced during the investigation of T217893.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Blazegraph accepts http.userAgent but looks like Updater does not. Probably makes sense to make it do the same.

Change 495863 had a related patch set uploaded (by Gehel; owner: Gehel):
[wikidata/query/rdf@master] wdqs-updater: make user agent configurable from http.userAgent system property

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

Change 495863 merged by jenkins-bot:
[wikidata/query/rdf@master] wdqs-updater: make user agent configurable from http.userAgent system property

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