Last modified: 2011-03-13 18:06:20 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 T15372, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13372 - uclimit per user
uclimit per user
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-14 20:42 UTC by Derk-Jan Hartman
Modified: 2011-03-13 18:06 UTC (History)
2 users (show)

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


Attachments

Description Derk-Jan Hartman 2008-03-14 20:42:09 UTC
In the API, it is currently possible to request the uc list for multiple users (not really well explained in the api.php help btw.) You can limit these results with uclimit. You can do: "Get the last 50 contributions made by either of these 8 users", with that option. However it is very difficult to do something like: "get the last 5 contributions of these 8 users".  I'm working on a "userwatchlist" type of javascript on en.wikipedia.org and I could really benefit from a uclimitperuser.
Comment 1 Bryan Tong Minh 2008-03-14 20:59:45 UTC
That is not really possible without querying once for each user, I think.
Comment 2 Roan Kattouw 2008-03-14 22:38:56 UTC
This isn't gonna happen, because it would allow for huge limits (uclimit=500&ucuser=A|B|C|....|Z would give 13000 results) and lots of DB queries. Even if this were to be implemented, it would hardly be faster than simply doing 8 requests.

So you're just gonna have to do:

ucuser=Alice&uclimit=5
ucuser=Bob&uclimit=5
etc.

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


Navigation
Links