https://bugzilla.wikimedia.org/show_bug.cgi?id=47990
Web browser: ---
Bug ID: 47990
Summary: Maintenance script to permanently delete files
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Maintenance scripts
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Mobile Platform: ---
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?
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l