[Toolserver-l] Global contrib count

Manish Goregaokar manishsmail at gmail.com
Sat Apr 16 12:36:01 UTC 2011


Exactly how resource-intensitive would be a bunch of queries that got the
editcount from every wiki that you find in toolserver.wiki (821 of them).
Basically it'll be a PHP code, which cycles through all the rows in
toolserver.wiki, then connects to each server/db in turn (Ill ORDER BY
server so I don't have to connect-disconnect every time), and runs
 SELECT user_editcount,user_registration FROM mw_user WHERE user_name="foo";

Thanks,
Manish*Earth* <http://en.wikipedia.org/wiki/User:Manishearth>*Talk* •
Stalk<http://en.wikipedia.org/wiki/Special:Contributions/Manishearth>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wikimedia.org/pipermail/toolserver-l/attachments/20110416/2930fba5/attachment.htm 


More information about the Toolserver-l mailing list