SQL
AخA
SELECT
pt.page_title
FROM redirect AS rdt
LEFT JOIN page pt ON rdt.rd_from = pt.page_id
LEFT JOIN page pm ON pt.page_title = pm.page_title
LEFT JOIN redirect rdm ON pm.page_id = rdm.rd_from
WHERE pt.page_namespace = 1
AND pm.page_namespace = 0
AND rdt.rd_title != rdm.rd_title
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.