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
Surjection
.
Toggle Highlighting
SQL
SELECT CONCAT(CASE WHEN page.page_namespace = 10 THEN "Template" WHEN page.page_namespace = 828 THEN "Module" ELSE CONVERT(page.page_namespace,char) END, ":", page.page_title) AS formatted_title FROM ( SELECT pr_page FROM page_restriction WHERE pr_type = 'edit' AND prot.pr_level IS NOT NULL AND (prot.pr_expiry IS NULL OR prot.pr_expiry = 'infinity') AND pr_page NOT IN ( SELECT pr_page FROM page_restriction WHERE pr_type = 'move' AND prot.pr_level IS NOT NULL AND (prot.pr_expiry IS NULL OR prot.pr_expiry = 'infinity') ) ) INNER JOIN page AS page ON page.page_id = prot.pr_page WHERE page.page_namespace IN (10, 828) GROUP BY page.page_id;
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...