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
Vexations
.
This ignores deletion nomination that were not done via page curation
Toggle Highlighting
SQL
#deletion nominations by patrollers SELECT log_r.log_user_text, COUNT(CASE log_r.log_action WHEN 'reviewed' THEN 1 END) AS reviews, COUNT(CASE log_r.log_action WHEN 'delete' THEN 1 END ) AS deletions, COUNT(CASE log_r.log_action WHEN 'delete' THEN 1 END )/COUNT(CASE log_r.log_action WHEN 'reviewed' THEN 1 END)*100 AS percentage FROM logging_userindex log_r WHERE log_r.log_timestamp >= NOW() - INTERVAL 360 DAY AND log_r.log_namespace = 0 AND log_r.log_type = 'pagetriage-curation' AND log_r.log_action IN ('reviewed','delete') AND log_user IN (SELECT ug_user FROM `user_groups` WHERE ug_group = 'patroller') GROUP BY log_r.log_user_text ORDER BY percentage 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...