SQL
AخA
#unique editors to the idealab by WMF
SELECT DISTINCT EXTRACT(Year from DATE_FORMAT(rev_timestamp,'%Y%m%d%H%i%s')) as `year`,
r.rev_user_text AS editors_WMF FROM metawiki_p.revision r
INNER JOIN metawiki_p.page AS p
ON r.rev_page = p.page_id
WHERE p.page_namespace IN (200, 201) #Grants and Grants_talk namespaces
AND r.rev_user != 0 #exclude IP edits and editors
AND r.rev_user NOT IN (SELECT ug_user FROM metawiki_p.user_groups WHERE ug_group = 'bot') #not a registered bot
AND (r.rev_user_text LIKE "%(WMF)" #not a standard staff account
OR r.rev_user_text IN ("Ijon", "Frank_Schulenburg", "Jtmorgan","SarahStierch","Wolliff","anasuyas","Chedasaurus","Ciphers","floorkoudijs","Janstee","jwild","kittycarmichael","Macruzbar","Msannakoval","Opinenow","Satihsu","Tighef","zhengan","TFlanagan-WMF")) #not a non-standard staff account OR User:FuzzyBot
AND r.rev_timestamp > 20140101000000
AND r.rev_timestamp < 20150101000000;
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.