Page MenuHomePhabricator

Allow listing of deleted files
Open, MediumPublicFeature

Description

There is no way to view all the deleted files of a wiki. It is nice to get a SpecialPage like Special:ListFiles, which is using the filearchive. Maybe call it Special:ListDeletedFiles.

Also nice to have a filter on the uploader of the deleted files. Having an opposite to Special:ListFiles/Username is in my opinion like Special:Contributions vs. Special:DeletedContributions.

Thanks.


Version: 1.20.x
Severity: enhancement

Details

Reference
bz29124

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:28 PM
bzimport set Reference to bz29124.
bzimport added a subscriber: Unknown Object (MLST).

What's the use-case for Special:ListDeletedFiles? I can understand a way to view someone's deleted uploads (on a per-user basis), but I don't see why or how showing deleted content en masse is a good idea.

Note this can be done via the api (the list all deleted files, not the username filtering part) if really needed in a specific instance.

(In reply to comment #1)

What's the use-case for Special:ListDeletedFiles? I can understand a way to
view someone's deleted uploads (on a per-user basis), but I don't see why or
how showing deleted content en masse is a good idea.

Special:ListFiles is used to see the newly uploaded files, maybe someone would see the newly deleted files within a gallery? I do not know. Maybe implement only the per-user basis and a per-sysop basis, to see the files, deleted by an sysop.

(In reply to comment #2)

Note this can be done via the api (the list all deleted files, not the username
filtering part) if really needed in a specific instance.

That is right, I have created bug 29138 and bug 29138 for the user filters.

Useful on a per-user-basis because:

When patrolling new files, you have to check the logs whether the user is copyvio-uploader or not. Showing up deleted files in the list eases making a decision (how to talk to the user or whether requesting a block due to massive violation of policies).

From the user's point it is helpful due to possible accidental file-deletion or because the user forgot to add a license. This way it is easier for the user to request undeletion.

(In reply to Rainer Rillke @commons.wikimedia from comment #4)

Useful on a per-user-basis because:

When patrolling new files, you have to check the logs whether the user is
copyvio-uploader or not. Showing up deleted files in the list eases making a
decision (how to talk to the user or whether requesting a block due to
massive violation of policies).

From the user's point it is helpful due to possible accidental file-deletion
or because the user forgot to add a license. This way it is easier for the
user to request undeletion.

Hmm, we have an index on (fa_user_text, fa_timestamp). At the very least we should add that to the list=filearchive module.

Probably should make an equivalent to the special:ListFiles/User for deleted files.

/me will try to look into this sometime in the next month

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 12:24 PM
Aklapper removed a subscriber: wikibugs-l-list.