Fork of
Orphaned talk pages
by Liz
This query is marked as a draft
This query has been published
by Liz.
SQL
AخA
SELECT
page_namespace,
page_id,
page_title,
page_is_redirect,
page_len
FROM
page talkpage
WHERE
talkpage.page_title NOT LIKE '%/%'
AND
talkpage.page_namespace IN (1,5,11,15,101,119)
AND
NOT EXISTS (
SELECT
1
FROM
page mainpage
WHERE
mainpage.page_namespace=talkpage.page_namespace-1
AND
mainpage.page_title=talkpage.page_title
)
AND
NOT EXISTS (
SELECT
1
FROM
templatelinks
WHERE
talkpage.page_id=tl_from
AND
tl_target_id = 418257
)
LIMIT 100
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.