SQL
AخA
SELECT concat( "[https://en.wikipedia.org/w/index.php?title=Draft:{{urlencode:",
p.page_title, "}}&redirect=no Draft:", p.page_title, "] redirects to [[User:", r.rd_title, "]]" )
AS "Redirects from draft to user namespace"
FROM redirect r
INNER JOIN page p ON p.page_id = r.rd_from
WHERE p.page_namespace = 118
AND r.rd_namespace = 2
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.