SQL
AخA
SELECT
CONCAT('[[{{ns:', page_namespace, '}}:', page_title, ']]') AS 'from',
CONCAT('[[{{ns:', pl_namespace, '}}:', pl_title, ']]') AS 'to'
FROM page
JOIN templatelinks ON tl_from = page_id AND tl_from_namespace = page_namespace
JOIN pagelinks ON pl_from = page_id AND pl_from_namespace = page_namespace
WHERE
tl_namespace = 10 AND tl_title = 'Soft_redirect'
/* AND pl_namespace = -1 */
;
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.