Page MenuHomePhabricator

Add UA to node -> mediawiki requests
Open, Needs TriagePublic2 Story Points

Description

Useragent should be added to Mediawiki requests saying that this is from the termbox.

It may be possible to cheaply add the version. If so we could do this but we shouldn't spend loads of time on it. For example https://stackoverflow.com/a/36733261/5576051 suggests that we could use:
import {version} from './package.json';

Event Timeline

It adds a level of indirection but the blubber.version should be realatively readily available and is a form of pinning that already is performed (i.e. no extra effort)

Lea_WMDE set the point value for this task to 2.Mar 13 2019, 3:27 PM
Lea_WMDE added a subscriber: Lea_WMDE.

At this stage we would be introducing logging that is not being read by anyone. This ticket is only about adding a line of meta data to the requests we send.

Addshore moved this task from incoming to in progress on the Wikidata board.Mon, Mar 25, 4:04 PM