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
Samwalton9 (WMF)
.
Toggle Highlighting
SQL
SELECT ( SELECT COUNT(*) FROM logging WHERE log_type = "patrol" AND log_action = "patrol" AND log_timestamp BETWEEN 20201201000000 AND 20210101000000 AND log_params NOT LIKE '%"5::previd";s:1%' # Ignore new page patrols AND log_params LIKE '%"6::auto";i:0%' # Ignore autopatrols ) / ( SELECT COUNT(DISTINCT rev_id) FROM revision INNER JOIN actor on revision.rev_actor = actor.actor_id INNER JOIN user_groups on actor.actor_user = user_groups.ug_user WHERE revision.rev_timestamp BETWEEN 20201201000000 AND 20210101000000 AND user_groups.ug_group NOT IN ('autopatrolled','sysop','bot','reviewer','patroller','eliminator','botadmin') # Not comprehensive, but should discount unpatrollable edits in most cases ) * 100
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...