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 COUNT(DISTINCT log_title) FROM logging SELECT COUNT(DISTINCT log_title), CASE WHEN log_params LIKE '%edit=autoconfirmed%' THEN 'edit_autoconfirmed' WHEN log_params LIKE '%edit=editextendedsemiprotected%' THEN 'edit_extendedconfirmed' WHEN log_params LIKE '%edit=sysop%' THEN 'edit_sysop' WHEN log_params LIKE '%create=autoconfirmed%' THEN 'create_autoconfirmed' WHEN log_params LIKE '%create=sysop%' THEN 'create_sysop' WHEN log_params LIKE '%create=editextendedsemiprotected%' THEN 'create_editextendedconfirmed' WHEN log_params LIKE '%move=autoconfirmed%' THEN 'move_autoconfirmed' WHEN log_params LIKE '%move=editextendedsemiprotected%' THEN 'move_extendedconfirmed' WHEN log_params LIKE '%move=sysop%' THEN 'move_sysop' ELSE log_params END AS protection_type FROM logging WHERE log_type = 'protect' AND log_action = 'protect' AND log_timestamp BETWEEN 20210101000000 AND 20220101000000 GROUP BY protection_type
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...