Page MenuHomePhabricator

Restore the local copy of the file when the file needs to be deleted on Commons
Open, Needs TriagePublic


The FileExporter/FileImporter extensions import files from local wikis to Wikimedia Commons. After the import, the local community can decide to delete the original local file.
But after deletion on the local wiki, it might turn out that the file needs to be deleted on Commons. That could happen because some US copyright details are tricky (which is why in some communities, human user triple check any file before moving it to Commons).

The wish is for a comfortable way to restore local files when an imported file was deleted on Commons.

Where this issue/wish was mentioned:

Event Timeline

Restricted Application added a project: TCB-Team. · View Herald TranscriptJan 17 2019, 5:52 PM
Jarekt added a subscriber: Jarekt.Jan 21 2019, 3:28 PM

That is a good idea

Pikne added a subscriber: Pikne.Jan 21 2019, 4:24 PM

I'm not sure if any of these feedback comments asks for automatic restoring. Village pump comments seem to be about cases where file necessarily wasn't uploaded to local project prior to nominating for deletion on Commons (which is more like T214280).

Does "automatic" mean something like some system account performing undeletions on all local projects or some local projects when some conditions are met? Since there is also a likely scenario that non-free file or file with insufficent author/source info is deleted on Commons and should have been deleted on local project for the same reason, then I'd feel more comfortable if restoring didn't happen automatically. Maybe some sort of bot notification about Commons deletion of a file that previously existed locally would do better, if local community asks for such feature.

JStrodt_WMDE updated the task description. (Show Details)Jan 22 2019, 9:22 AM

@Pikne Thanks for your comments. You're right, "automatic" is not be the best term here. This request, as I understand it, is about a more comfortable way to restore local files. It doesn't need to be automatic, though. I've updated the description accordingly.