Last modified: 2011-03-13 18:04:54 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 T21664, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19664 - API list=allusers should implement account creation cutoff dates
API list=allusers should implement account creation cutoff dates
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.16.x
All All
: Lowest enhancement (vote)
: ---
Assigned To: Roan Kattouw
http://transgender-taiwan.org/index.p...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-11 21:29 UTC by Dan Jacobson
Modified: 2011-03-13 18:04 UTC (History)
3 users (show)

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


Attachments

Description Dan Jacobson 2009-07-11 21:29:11 UTC
list=allusers needs additional parameter to specify creation cutoff dates.

So I can, say,
"show me users created after 20090201".
"show me users created between 200902... and 200903...".

We see the URL above contains creation information, so it shouldn't be that hard to do.

This will be more flexible than seeing just http://example.org/index.php?title=Special:Log&type=newusers .
Comment 1 Bryan Tong Minh 2009-07-11 22:50:38 UTC
There is no index on user_registration, so this can't be implemented efficiently.
Comment 2 Splarka 2009-07-12 01:22:52 UTC
This might be experimentally possible after bug 18638 and bug 19195 (since user IDs are sequential).
Comment 3 Dan Jacobson 2009-07-12 18:17:33 UTC
Well as far as those ancient users, tough luck. All I know is for
"what new accounts have been created in the past 30 days?" I suppose
I'll take my business,
>SELECT user_registration,user_name FROM user
>WHERE DATE_SUB(CURDATE(),INTERVAL 30 DAY) <= user_registration
>ORDER BY user_registration;
elsewhere, i.e., directly to MySQL. So, "thanks, bye." :-)
P.S., sure, you might say "Holmes, Special:Log&type=newusers is just
what you are looking for. Case closed." Well, it was, until bug 18364.

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


Navigation
Links