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
Tamzin
.
Toggle Highlighting
SQL
SELECT page_title, pr_expiry FROM page_restrictions LEFT JOIN page ON page_id = pr_page WHERE page_namespace = 1 AND page_is_redirect = 0 AND pr_type = "edit" AND pr_level = "autoconfirmed" /* Loses a small number of talkpages of articles with /s in the title... could be fixed with a subquery for whether matching article exists, but probably not worth it */ AND page_title NOT LIKE "_%/%" ORDER BY pr_expiry IS NULL, pr_expiry 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...