Last modified: 2011-08-13 18:22:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T30559, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28559 - limit/start/end param of prop=imageinfo are for a list of titles
limit/start/end param of prop=imageinfo are for a list of titles
Status: NEW
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.18.x
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-04-15 19:14 UTC by db [inactive,noenotif]
Modified: 2011-08-13 18:22 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description db [inactive,noenotif] 2011-04-15 19:14:53 UTC
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.
Comment 1 Sam Reed (reedy) 2011-06-05 21:25:31 UTC
(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
Comment 2 db [inactive,noenotif] 2011-06-09 19:19:33 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links