Gurch <matthew.brit...@btinternet.com> changed:
What |Removed |Added
--- Comment #1 from Gurch <matthew.brit...@btinternet.com> 2010-02-21 21:47:30
If a user has the right 'apihighlimits', API queries are limited to 5,000
items, otherwise they are limited to 500 items. UI queries are limited to 5,000
This is the case with most queries; for example, user contributions, page
history, backlinks. The main exception is category members, the UI for which
has a fixed size of 200 items (c.f. bug 11281).
The rationale for this is that the API allows multiple list modules to be
invoked in a single request, so the per-request limit is actually at least
17,000 without higher limits and 170,000 with them -- more if extensions are
installed (c.f. bug 16781).
Addressing this inconsistency would either mean restricting UI queries to 500
items (for users without 'apihighlimits') or limiting the sum of all API module
limits in a single query. Both of these constitute a loss of functionality and
break backwards compatibility, so unless a performance issue can be
demonstrated things will likely remain as they are.
I agree that this is a little odd -- if one requires 5000 items of some query
it is often quicker to scrape the UI than send 10 API requests.
I would suggest the best method of addressing this should one wish to do so
would be to ask for 'apihighlimits' to be assigned to all user accounts on
Wikimedia wikis. I don't know if the developers would be willing to do that,
but I can't imagine the performance implications would be that great. Very few
Wikimedia wiki users ever make custom API requests, and while 'apihighlimits'
is granted as part of the administrator group, any concerns about giving it to
non-privileged users are moot as the bot group also has it, and obtaining a bot
account is trivial.
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list