Last modified: 2011-03-13 18:06:20 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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