I wonder if you could update the Wikipedia:List of Wikipedians by number of edits. There's been a lot of hubbub recently after the page was put on VfD for being out of date. It looks like no one there knows how to update it anymore, and to be honest, I don't care for the pag much,so I don't know much about how it works. Help is appreciated. --Dmcdevitยทt 22:11, July 18, 2005 (UTC)
See Wikipedia_talk:List of Wikipedians by number of edits#Any updates soon?. I have a program running (on Unix, but it's in C and uses Stdio, so it'll run on anything) to grovel over a database dump and produce the StatisticsUsers.csv file (or something that looks something like it, if another format would be easier). Now I need to track down what the next stage was (in terms of turning that into the stuff on Wikipedia:List of Wikipedians by number of edits. Can you help with that? Noel (talk) 04:25, 22 July 2005 (UTC)
Edit count (all):
SELECT rev_user_text User, COUNT(*) Edits FROM mw_revision revision WHERE rev_user != 0 GROUP BY rev_user ORDER BY Edits DESC LIMIT 2000
Edit count (number of articles): change COUNT(*) to COUNT(DISTINCT rev_page)
Edit count (non-minor): add AND rev_minor_edit = 0 to the WHERE clause
Edit count (main namespace only): add LEFT JOIN mw_page page ON rev_page = page_id to the FROM clause and AND page_namespace = 0 to the WHERE clause
I'm going to ask a dev to run EXPLAIN on some of these and decide if it's worth doing. r3m0t talk 21:40, July 24, 2005 (UTC)