SQL
x
SELECT concat('[[الگو:',REPLACE(page_title,'_',' '),']]')
#SELECT concat('[[پودمان:',REPLACE(page_title,'_',' '),']]')
FROM fawiki_p.page
WHERE page_namespace = 10
#WHERE page_namespace = 828
AND page_is_redirect = 0
AND page_title IN (
SELECT page_title
FROM enwiki_p.page
WHERE page_namespace = 10
#WHERE page_namespace = 828
AND page_is_redirect = 0
)
AND page_title NOT LIKE '%/doc'
AND page_title NOT LIKE '%/documnet'
AND page_id NOT IN (
SELECT ll_from
FROM fawiki_p.langlinks
WHERE ll_lang = "en"
);
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.