Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Cenarium
.
Not blocked since January 2016 and neither in sysop nor patroller usergroups
Toggle Highlighting
SQL
use enwiki_p; WITH primaryQuery AS (SELECT log_user, COUNT(DISTINCT log_title) AS num FROM logging WHERE log_timestamp BETWEEN 20160101000000 AND 20161006000000 AND log_deleted = 0 AND log_namespace = 0 AND ( ( log_type = 'patrol' AND log_params NOT LIKE '%::auto";i:1%' ) OR ( log_type = 'pagetriage-curation' AND log_action = 'reviewed' ) ) GROUP BY log_user HAVING num >= 200 ) SELECT CONCAT("[[Special:Contributions/",user_name,"|",user_name,"]]") AS name, user_editcount AS editcount, user_registration AS registration, num AS patrolcount FROM user INNER JOIN primaryQuery ON log_user = user_id WHERE (SELECT COUNT(*) FROM ipblocks WHERE ipb_user = user_id AND ipb_timestamp > '20160101000000') = 0 AND (SELECT COUNT(*) FROM user_groups WHERE ug_user = user_id AND (ug_group = 'sysop' OR ug_group = 'patroller')) = 0 );
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...