Wikimedia

[Tracker] Create maintenance script to force re-queueing MediaWiki communication methods for specified list of tickets

Needed skills

  • Basic Python knowledge

Problem

When users attaches/remove media to a ticket, Tracker automatically does edits on behalf of the user on Wikimedia Commons, to keep information posted on media's page up to date. However, functions responsible for this task sometimes fail due to various reasons, and it is useful for system administrators to be able to requeue the task.

Proposed solution

You should provide a maintenance script that solves the problem. The script should accept individual ticket ID or a path to a file with list of ticket IDs as an input.

You are expected to send a patch for wikimedia-cz/tracker repository, hosted at Wikimedia Gerrit. When claiming task on GCI website, students should claim a respective Phabricator task as well.

Materials

Task tags

  • python
  • django

Students who completed this task

taavi

Task type

  • code Code
close

2019