This query is marked as a draft This query has been published by Cryptic.

SQL

AخA
 
SELECT CONCAT('[[{{ns:', sp.page_namespace, '}}:', sp.page_title, ']]')
    FROM page AS sp
    JOIN page AS bp
        ON (sp.page_namespace = bp.page_namespace
            AND bp.page_title = SUBSTR(sp.page_title, 0, LOCATE(sp.page_title, '/') - 1))
    WHERE sp.page_is_redirect = 0
        AND bp.page_is_redirect = 1
        AND sp.page_title LIKE '%/%';
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.

Checking query status...