Page MenuHomePhabricator

Mention titles limit for action=query in API documentation
Closed, ResolvedPublic

Description

Author: Wiki.Melancholie

Description:
With http://en.wikipedia.org/w/api.php?action=query&titles=1|2|...|50 there is a limit of 50 titles, but the documentation does not mention this (quote: "titles - A *list of titles* to work on").

BTW: Is there a limit for http://en.wikipedia.org/w/api.php?action=parse&text={{Project:Sandbox}}...{{}}...{{:Main_Page}} too?


Version: unspecified
Severity: enhancement
URL: http://de.wikipedia.org/w/api.php

Details

Reference
bz14713

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:14 PM
bzimport set Reference to bz14713.

(In reply to comment #0)

With http://en.wikipedia.org/w/api.php?action=query&titles=1|2|...|50 there is
a limit of 50 titles, but the documentation does not mention this (quote:
"titles - A *list of titles* to work on").

BTW: Is there a limit for
http://en.wikipedia.org/w/api.php?action=parse&text={{Project:Sandbox}}...{{}}...{{:Main_Page}}
too?

Actually, the limit doesn't just apply to titles, but to all multivalue parameters: 50 for regular users and 500 for sysops/bots. I'm not really sure where to document *that*.

Created attachment 5115
Implement permission info for API

This patch adds a new "Permissions" area to the API's help page output. So far, the only two rights that are API-specific are 'apihighlimits' and 'writeapi'. Nabbed the descriptions from the English lang files.

Attached: