Page MenuHomePhabricator

API: notlimit parameter does not accept "max" as a value
Closed, ResolvedPublic

Description

Most API modules that take a limit let you use "max" for the limit, which automatically gives you the most results you can get based on whether you have apihighlimits or not. (example: https://en.wikipedia.org/w/api.php?action=query&list=allusers&aulimit=max)

When trying this with the echo API, you get a warning saying "notlimit may not be less than 1 (set to 0)" (https://en.wikipedia.org/w/api.php?action=query&meta=notifications&format=jsonfm&notlimit=max)


Version: unspecified
Severity: normal
URL: https://en.wikipedia.org/w/api.php?action=query&meta=notifications&format=jsonfm&notlimit=max

Details

Reference
bz48011

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:33 AM
bzimport added a project: Notifications.
bzimport set Reference to bz48011.

Related URL: https://gerrit.wikimedia.org/r/62003 (Gerrit Change I6bb7272b5a3df5fe9ccd3cf78a24769ca38a3f20)

https://gerrit.wikimedia.org/r/62003 (Gerrit Change I6bb7272b5a3df5fe9ccd3cf78a24769ca38a3f20) | change APPROVED and MERGED [by jenkins-bot]