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 talk.page_title, pr_expiry FROM page_restrictions LEFT JOIN page talk ON talk.page_id = pr_page WHERE talk.page_namespace = 1 AND talk.page_is_redirect = 0 AND pr_type = "edit" AND pr_level = "autoconfirmed" AND (talk.page_title NOT LIKE "_%/%" OR EXISTS (SELECT 1 -- Edge case: Article has / in title FROM page article WHERE article.page_namespace = 0 AND article.title = page.title AND article.page_is_redirect = 0) ) 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...