Fork of
Non-redirect subpages of redirect pages
by Cryptic
This query is marked as a draft
This query has been published
by Bamyers99.
SQL
AخA
SELECT DISTINCT CONCAT('[[{{ns:', sp.namespace, '}}:', REPLACE(sp.basepagetitle, '_', ' '), ']]') 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.basepagetitle
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.