Page MenuHomePhabricator

Filter based on datetime
Closed, ResolvedPublic


It would be nice to provide a filter or generator which can generate all newly uploaded files between two datetimes given by the user. This helps in making time slotted bot runs.

My exact usecase is that I have a image analyzer which runs on commons and I wanted to find accuracy and other statistics for each day of the week for all the new files uploaded in that day.

Extending this, it would also be nice to have a filter/generator which provides all modified files in a time period and so on.

Event Timeline

Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald TranscriptJul 25 2016, 2:59 AM
Mpaa added a subscriber: Mpaa.Jul 25 2016, 5:25 PM

I guess you would like a resolution smaller than 1d?
Otherwise -logevents:upload,,20121231,20100101 should work.

AbdealiJK closed this task as Resolved.Jul 26 2016, 11:36 PM
AbdealiJK claimed this task.

@Mpaa that did work for a resolution for 1 day.
For my purpose, 1Day is sufficient so I'm closing this task for the time being. If someone needs a smaller resolution it can be reopened.