Page MenuHomePhabricator

Create maintenance script to force re-queueing MediaWiki communication methods for specified list of tickets
Open, Needs TriagePublic

Description

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 Comment, 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

Event Timeline

Urbanecm created this task.Fri, Aug 23, 8:00 PM
Urbanecm moved this task from Backlog to GCI on the User-Urbanecm board.Sun, Aug 25, 11:59 PM
Urbanecm renamed this task from Create maintenance script to force re-running add_to_mediawiki for one ticket to Create maintenance script to force re-queueing MediaWiki communication methods for specified list of tickets.Mon, Aug 26, 5:03 PM
Urbanecm updated the task description. (Show Details)
Urbanecm updated the task description. (Show Details)