SQL
AخA
USE arwiki_p;
SELECT CONCAT("# [[قالب:",p1.page_title,"/شرح]]") AS page_title
FROM page AS p1
WHERE CONCAT(p1.page_title, "/شرح") IN (SELECT page_title FROM page WHERE page_namespace = 10)
AND NOT EXISTS (SELECT 1
FROM page AS p2
WHERE p2.page_namespace = 10
AND p1.page_title = p2.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.