SQL
AخA
USE fawiki_p;
SELECT DISTINCT concat('* [[الگو:',page_title,']]')
FROM page
WHERE page_namespace = 10 and page_is_redirect = 0 and page_title not in (SELECT pl_title from pagelinks WHERE pl_namespace = 10 GROUP BY pl_title ORDER BY COUNT(pl_from));
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.