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
Joe Roe
.
Number of mainspace pages marked reviewed by user in the last 12 months (configurable). Includes total reviews, article reviews, and redirect reviews. Basically identical to: https://en.wikipedia.org/wiki/Wikipedia:Database_reports/Top_new_article_reviewers#Last_365_days
Toggle Highlighting
SQL
SET @since = '20220628'; SELECT actor_name, COUNT(DISTINCT(log_page)) AS n_patrols, COUNT(IF(page_is_redirect = 0, 1, NULL)) AS n_articles, COUNT(IF(page_is_redirect = 1, 1, NULL)) AS n_redirects FROM actor JOIN logging_userindex ON log_actor = actor_id JOIN page ON page_title = log_title AND page_namespace = log_namespace WHERE log_action = 'reviewed' AND log_type = 'pagetriage-curation' AND log_timestamp > @since AND log_namespace = 0 GROUP BY actor_name
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...