Last modified: 2013-05-02 23:26:52 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 T50011, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48011 - API: notlimit parameter does not accept "max" as a value
API: notlimit parameter does not accept "max" as a value
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Echo (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: bsitu
https://en.wikipedia.org/w/api.php?ac...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-02 16:49 UTC by Kunal Mehta (Legoktm)
Modified: 2013-05-02 23:26 UTC (History)
4 users (show)

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


Attachments

Description Kunal Mehta (Legoktm) 2013-05-02 16:49:20 UTC
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)
Comment 1 Gerrit Notification Bot 2013-05-02 17:57:42 UTC
Related URL: https://gerrit.wikimedia.org/r/62003 (Gerrit Change I6bb7272b5a3df5fe9ccd3cf78a24769ca38a3f20)
Comment 2 Gerrit Notification Bot 2013-05-02 23:26:52 UTC
https://gerrit.wikimedia.org/r/62003 (Gerrit Change I6bb7272b5a3df5fe9ccd3cf78a24769ca38a3f20) | change APPROVED and MERGED [by jenkins-bot]

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


Navigation
Links