Page MenuHomePhabricator

API: allow listing of deleted files by user who deleted them
Open, LowPublic


In addition to bug 29138: Allow listing of deleted files by sysop, to find all files deleted by a sysop.


tracking to bug 22744, maybe someone has time to look at the indices.

Version: 1.20.x
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:29 PM
bzimport added a project: MediaWiki-API.
bzimport set Reference to bz29139.

Log type by user is allready possibile.

For example, Deleted items by any sysop on commons:

or for one particular sysop:

What you want is an additional filter/dropdown menu for namespace (to only see deleted *files*). That is already requested as bug 14711 (Implement namespace filter for logging information)

As such, marking as duplicate of that. Please re-open if you meant something else.

  • This bug has been marked as a duplicate of bug 14711 ***

There is a different between a list of all pages deleted in the file namespace and a list of all deleted files.

The log is a continuous writen database, so that does not handle restoring of files. And you have to do a second query to get more information about the images, because list=logevents cannot used as a generator.

See bug 27202 for a similar discussion over using the logging table or the image table.

brion added a comment.Jun 2 2011, 12:09 AM

(updating summary to clarify it's to sort by the deleting user)

Anomie moved this task from Blocked to Needs details or plan on the MediaWiki-API board.
Jdforrester-WMF removed Catrope as the assignee of this task.Apr 17 2015, 5:54 PM