Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Reviewer activity since November 2016
by
Insertcleverphrasehere
This query is marked as a draft
This query has been published
by
Insertcleverphrasehere
.
Toggle Highlighting
SQL
SELECT logtemp.log_user_text AS `reviewer`, COUNT(logtemp.log_page) AS `reviews` FROM ( SELECT log_user_text, log_page FROM logging JOIN user_groups ON ug_user = log_user WHERE log_timestamp BETWEEN 20180100000000 AND NOW() AND log_type = 'pagetriage-curation' AND log_action = 'reviewed' AND ug_group = 'patroller' AND log_namespace = 0 UNION SELECT log_user_text, log_page FROM logging JOIN user_groups ON ug_user = log_user WHERE log_timestamp BETWEEN 20180100000000 AND NOW() AND log_type = 'patrol' AND log_action = 'patrol' AND ug_group = 'patroller' AND log_namespace = 0 ) logtemp JOIN SELECT user_name AS `reviewer` FROM `user` WHERE EXISTS (SELECT 1 FROM user_groups WHERE user_id=ug_user AND ug_group = 'patroller') -- new page patroller GROUP BY reviewer ORDER BY COUNT(*) DESC
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...