Last modified: 2008-08-04 14:29:05 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 T16713, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14713 - Mention titles limit for action=query in API documentation
Mention titles limit for action=query in API documentation
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Roan Kattouw
http://de.wikipedia.org/w/api.php
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-03 17:32 UTC by Melancholie
Modified: 2008-08-04 14:29 UTC (History)
3 users (show)

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


Attachments
Implement permission info for API (1.61 KB, patch)
2008-08-04 08:15 UTC, Chad H.
Details

Description Melancholie 2008-07-03 17:32:41 UTC
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?
Comment 1 Roan Kattouw 2008-07-03 19:38:18 UTC
(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*.
Comment 2 Chad H. 2008-08-04 08:15:54 UTC
Created attachment 5115 [details]
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.
Comment 3 Chad H. 2008-08-04 14:29:05 UTC
Patch applied in r38566

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


Navigation
Links