Page MenuHomePhabricator

API: Add timestamp sort to list=allimages
Closed, ResolvedPublic


I have not found a way, to get images sorted by timestamp, so there is no way to simulate Special:NewFiles with the api.

Please allow sorting by timestamp for list=allimages with optional start/end
(see list=categorymembers for a example of timestamp sorting in an api module).


Version: 1.21.x
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:16 PM
bzimport set Reference to bz27202.

Bryan.TongMinh wrote:

The person doing this should take a careful look into the indices on the image table, which may are all single column indices.

(In reply to comment #1)
simulates NewFiles.

No, that are only created pages in file namespace (file description, maybe of shared files), not new uploaded files. That simulate

File description created by upload are not listed in recentchanges, only the log event.

  • Bug 40120 has been marked as a duplicate of this bug. ***

I'm going to look at this one. From bug 40120.

ping - would some developers/maintainers review the patch (see comment 8) please?

Ping - would some developers/maintainers review the patch in gerrit (see comment 8, +172, -50) please?