Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Possibly orphaned talk subpages (parent missing)
by
Certes
This query is marked as a draft
This query has been published
by
Jonesey95
.
Now changed to check non-article talk namespaces (odd ns except 1), changed to non-article talk namespaces
Toggle Highlighting
SQL
SELECT page_namespace AS CSns, page_title AS CurrentSubpage FROM page Ps WHERE page_namespace=10 AND page_title LIKE "%/doc" AND page_is_redirect=0 AND NOT EXISTS (SELECT 1 FROM page WHERE page_namespace=Ps.page_namespace AND page_title=REGEXP_SUBSTR(Ps.page_title, ".*(?=\/)")) AND NOT EXISTS (SELECT 1 FROM page WHERE page_namespace=Ps.page_namespace AND page_title=REGEXP_SUBSTR(Ps.page_title, ".*?(?=\/)")) AND NOT EXISTS (SELECT 1 FROM page WHERE page_namespace=Ps.page_namespace-1 AND page_title=Ps.page_title) ORDER BY page_namespace, 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...