Page MenuHomePhabricator

When too many action=query list/prop/meta items are selected, it's loading forever
Closed, ResolvedPublic

Description

API action=paraminfo says:

"warnings": {
    "paraminfo": {
        "*": "Too many values supplied for parameter 'querymodules': the limit is 50"
    }
},

and browser console says:

TypeError: actionInfo is undefined load.php:2

in this case paraminfo should be queries in multiple batches.

Note that the limit for users with apihighlimits (eg. sysops, bots) should be 500.


Version: unspecified
Severity: normal

Details

Reference
bz63545

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:15 AM
bzimport set Reference to bz63545.

Ugh. When I made Gerrit change 112307 I didn't expect you to be trying anything close to 50 at once

Change 124334 had a related patch set uploaded by Bartosz Dziewoński:
Rewrite getParamInfo() to actually handle caching and continuation

https://gerrit.wikimedia.org/r/124334

Not really a fault of that change, the code for this looked like it supported this kind of calls but actually didn't. Thorough testing would be appreciated :)

Change 124334 merged by jenkins-bot:
Rewrite getParamInfo() to actually handle caching and continuation

https://gerrit.wikimedia.org/r/124334