limit/start/end param of prop=imageinfo are for a list of titles
Open, LowPublic

Description

The imageinfo module is not working like prop=revisions:

The limit/start/end param can be used for a list of titles and the params are for each file, prop=revisions allows this params only for a single page ("enum"). Please add api information for this.

The limit param is differ from other modules, because it is for each file, not for the whole request.

Thanks.


Version: 1.18.x
Severity: normal

Details

Reference
bz28559
bzimport raised the priority of this task from to Low.
bzimport set Reference to bz28559.
bzimport added a subscriber: Unknown Object (MLST).
Reedy added a comment.Jun 5 2011, 9:25 PM

(In reply to comment #0)

The imageinfo module is not working like prop=revisions:

The limit/start/end param can be used for a list of titles and the params are
for each file, prop=revisions allows this params only for a single page
("enum"). Please add api information for this.

The limit param is differ from other modules, because it is for each file, not
for the whole request.

Thanks.

I can see what you mean about the limit, as it's going against every revision of the images. I think, but the codes not the most clear.

I'm not overly sure what you mean for the first part

For the first part:

prop=revisions is forcing one title (length of param "titles" is 1), when using rvstart/rvend/rvstartid/rvendid (the enum mode of prop=revisions).

prop=imageinfo does not force one title. iistart/iiend is apply to all titles in the same way as the limit.