Page MenuHomePhabricator

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

Related Objects

StatusSubtypeAssignedTask
OpenNone
OpenNone
OpenNone
DeclinedNone
InvalidNone
OpenNone
InvalidNone
OpenBUG REPORTNone
OpenNone
OpenNone
OpenLadsgroup
ResolvedKrinkle
ResolvedLadsgroup
Resolvedmforns
ResolvedLadsgroup
ResolvedLadsgroup
ResolvedLadsgroup
Resolved Zabe
ResolvedDreamy_Jazz
ResolvedLadsgroup
ResolvedLadsgroup
DuplicateNone
Resolved Zabe
OpenLadsgroup
Open Zabe
OpenPRODUCTION ERRORNone
ResolvedPRODUCTION ERROR Zabe
ResolvedPRODUCTION ERROR Zabe
ResolvedPRODUCTION ERROR Zabe
ResolvedSecurity Zabe
ResolvedBUG REPORTLadsgroup
Open Zabe

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:28 PM
bzimport set Reference to bz28559.
bzimport added a subscriber: Unknown Object (MLST).

(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.