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
Xinbenlv
.
What are the most prominent Wikipedia articles by site states that are protected?
Toggle Highlighting
SQL
# Total SELECT COUNT(*) as total FROM page_restrictions; # Stats breakdown SELECT COUNT(*) as counts, pr_type, pr_level FROM page_restrictions WHERE pr_type = "edit" GROUP BY pr_type, pr_level; ## Count SELECT count(*) FROM page_restrictions LEFT JOIN page ON pr_page = page_id WHERE pr_type = "edit" AND page_namespace = 0 AND pr_expiry = "infinity" AND pr_level IN ("extendedconfirmed"); ## Output the top by page_len 1000 protected pages SELECT page_title FROM page_restrictions LEFT JOIN page ON pr_page = page_id WHERE pr_type = "edit" AND page_namespace = 0 AND pr_expiry = "infinity" AND pr_level IN ("extendedconfirmed") ORDER BY page_len DESC LIMIT 1000;
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...