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
MPGuy2824
.
Toggle Highlighting
SQL
select count(*) as activeReviewers from ( SELECT COUNT(*) as `Reviews` FROM logging_userindex JOIN actor ON actor_id = log_actor JOIN user ON actor_user = user_id join user_groups on actor_user=ug_user WHERE log_timestamp > date_add( now(), interval -365 day) AND ((log_type = 'patrol' AND log_action = 'patrol') OR (log_type = 'pagetriage-curation' AND log_action = 'reviewed')) AND log_namespace = 0 and ug_group='sysop' GROUP BY actor_name HAVING `Reviews` >= 5 ) x
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...