Some times the ops team gets requests to permanently delete files. What has traditionally happened, is an ops team member gets the request, usually asks for an "upload.wikimedia.org" URL instead of a File:[...] URL and uses the swift command-line to eradicate the file from the deleted container. I've also heard reports of cleaning up thumbs that weren't previously deleted by MediaWiki, although I haven't seen this myself.
This is tedious and manual work and not all ops people have Swift domain knowledge. The requests usually come in as urgent, so it'd be nice to not have to figure out details (e.g. this time: Ceph) while handling the request.
Therefore, it'd be nice if there was a maintenance script that:
a) Takes a File:[...] as input,
b) Verifies that the file is "deleted" on the wiki,
c) Deletes it from the -deleted.NN container on every file backend,
d) Cleans up possibly generated thumbs, just in case.
e) Optionally resend cache purges?
Version: 1.22.0
Severity: enhancement