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
Bdijkstra
.
Toggle Highlighting
SQL
SELECT page_title, GROUP_CONCAT(DISTINCT pr_type) AS pr_type, GROUP_CONCAT(DISTINCT pr_level) AS pr_level, GROUP_CONCAT(DISTINCT pr_cascade) AS pr_cascade, GROUP_CONCAT(DISTINCT pr_expiry) AS pr_expiry FROM page, page_restrictions, `user` WHERE page_namespace=2 AND page_id=pr_page AND REGEXP_REPLACE(page_title, '/.*', '')=REPLACE(user_name, ' ', '_') AND NOT EXISTS (SELECT DISTINCT * FROM recentchanges, actor WHERE rc_type!=5 AND rc_actor=actor_id AND actor_user=user_id) GROUP BY page_title
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...