Wikimedia

WatchTranslations: Set custom useragent in requests issued by WatchTranslations

Problem

Wikimedia user agent policy says clients should use an user agent that allows system administrators to identify how to contact the application developer.

Proposed solution

You should make WatchTranslations send requests with a user-agent that complies with the policy. You need to store contact email in config.yaml.

Student is expected to upload a patch against labs/tools/watch-translations repository at Wikimedia Gerrit. Student should claim Phabricator task while claiming task at the GCI site.

Materials

Task tags

  • flask
  • python

Students who completed this task

Netx

Task type

  • code Code
close

2019