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(*) FROM revision INNER JOIN actor on revision.rev_actor = actor.actor_id WHERE revision.rev_timestamp BETWEEN 20201201000000 AND 20210101000000 # Not comprehensive, but should discount autopatrolled edits in most cases AND actor.actor_user NOT IN ( SELECT DISTINCT ug_user FROM user_groups WHERE ug_group IN ('autopatrolled','sysop','bot','reviewer','patroller','eliminator','botadmin') ) ) * 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...