Fork of قوالب الشرح اليتيمة by جار الله
This query is marked as a draft This query has been published by Nehaoua.

SQL

x
 
SELECT 
        p1.page_namespace,CONCAT('[[قالب:',p1.page_title,']]')
        FROM page AS p1
        WHERE 
        p1.page_title LIKE '%/شرح' 
        and p1.page_is_redirect = 0
        and p1.page_namespace in  (10)
        AND NOT EXISTS (SELECT 1
        FROM page AS p2
        WHERE p2.page_namespace = 10
        AND p2.page_title = replace(p1.page_title,'/شرح' ,'')
        and p2.page_is_redirect = 0
        )
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...