Fork of
Orphaned subpages
by Bamyers99
This query is marked as a draft
This query has been published
by Cryptic.
SQL
AخA
SELECT DISTINCT CONCAT('[[{{ns:', sp.namespace, '}}:', REPLACE(sp.pagetitle, '_', ' '), ']]') AS orphan
FROM s51454__TemplateParamBot_p.enwiki_subpages AS sp
JOIN page
ON page_namespace = sp.namespace
AND page_title = sp.pagetitle
WHERE page_is_redirect = 0
ORDER BY sp.namespace, sp.pagetitle
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.