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
Gerges
.
Toggle Highlighting
SQL
SELECT actor_name AS user, COUNT(DISTINCT rev_id) AS edits FROM revision JOIN actor ON (rev_actor = actor_id) JOIN page ON (rev_page = page_id) JOIN user_groups ON (actor_user = ug_user) WHERE page_title LIKE "مراجعة_الزملاء/%" AND ug_group = "reviewer" AND rev_timestamp >= DATE_SUB(NOW(), INTERVAL 12 MONTH) AND actor_user IN ( SELECT actor_id FROM actor JOIN logging ON log_title = actor_name WHERE log_type = 'rights' AND log_action = 'rights' AND log_params LIKE '%"reviewer"%' AND log_timestamp <= DATE_SUB(NOW(), INTERVAL 12 MONTH) ) GROUP BY actor_name ORDER BY edits 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...