https://bugzilla.wikimedia.org/show_bug.cgi?id=39936

Bergi <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |
            Summary|Limit on number of piped    |Limit on number of piped
                   |values in API               |values in API should throw
                   |                            |machine-readable warning

--- Comment #9 from Bergi <[email protected]> 2012-09-25 17:57:38 UTC ---
OK, I agree that the non-machine-readable warning is a bug.

However I don't think we need an extra parameter for the api to throw an error
instead of truncating when there are too many values.

As we've seen, you can query the api (userinfo, paraminfo) for your current
limit and split the request if needed into chunks of the correct size.
Even if you don't want to do that, you can count the results you got and
continue requesting if got over the limit - I did that once when getting
paraminfo for *all* querymodules :-)

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to