SQL
AخA
SELECT concat( "[https://en.wikipedia.org/w/index.php?title=Category:{{urlencode:",
p.page_title, "}}&redirect=no Category:", p.page_title, "] redirects to [[:Category:", r.rd_title, "]]" )
AS "Redirects in Category: namespace"
FROM redirect r
INNER JOIN page p ON p.page_id = r.rd_from
WHERE p.page_namespace = 14
#AND r.rd_namespace != 14
ORDER by 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.
All SQL code is licensed under CC0 License.