Consider the following query:
http://commons.wikimedia.org/w/api.php?action=query&titles=File:Test.svg&prop=imageinfo&iilimit=10&format=jsonfm
... and the result:
"query-continue": { "imageinfo": { "iistart": "2014-05-07T18:26:53Z" } },
... when using that iistart continue param, it's possible to get imageinfo for the same file revision again if iilimit was one because it's in theory possible to upload *two file revisions to an image within one second*.
Expected: Either a more precise timestamp for the short term or one has to consider adding ids to image revisions (which requires DB changes: Add ID column, [use parent ids for old file names instead of parent timestamps, move a lot of files,] ..., amendments to the API).
Sooner or later we'll have to fix that anyway.
Version: unspecified
Severity: minor
See Also:
T26782: API uses non-unique value for paging for some modules
T17441: Some tables lack unique or primary keys, may allow confusing duplicate data