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 user_name as Reviewer, page_title as 'Example page', left(log_timestamp, 12) as Timestamp, count(*) as ReviewsPerMinute, CONCAT("[https://en.wikipedia.org/w/index.php?title=Special:Log&type=pagetriage-curation&subtype=review&user=", replace(user_name, " ", "_") ,"&wpdate=", date_format(log_timestamp, '%Y-%m-%d'), " Curation log]") AS 'CurationLog' from ( SELECT user_name, page_title, log_timestamp FROM logging_userindex JOIN page ON page_title = log_title AND page_namespace = log_namespace 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 -14 day) AND page_is_redirect = 0 -- non-redirects and ((log_type = 'patrol' AND log_action = 'patrol') OR (log_type = 'pagetriage-curation' AND log_action in ('reviewed', 'reviewed-article'))) AND log_namespace = 0 -- Mainspace only and user_name != 'DannyS712 bot III' and page_id not in ( select distinct cl_from from categorylinks where cl_to in ('All_redirects_for_discussion', 'Articles_for_deletion') ) and page_id not in (select pp_page from page_props WHERE pp_propname = 'disambiguation') and ug_group in ('patroller', 'sysop') group by page_title ) x group by user_name, Timestamp having ReviewsPerMinute > 2 order by ReviewsPerMinute desc, Timestamp desc limit 500;
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...