SQL
AخA
use arwiki_p;
select concat('* [[:نقاش_التصنيف:',page_title,']]')
from page
where page_namespace=14 and page_is_redirect=0
and (page_title like "%سينما%" or
page_title like "%أفلام%" or
page_title like "%فيلم%" or
page_title like "%ممثلون%")
and page_title not in (select pla.page_title
from categorylinks cla
join page pla on cla.cl_from=pla.page_id
where pla.page_namespace=15 and cla.cl_to="مقالات_مشروع_ويكي_سينما")
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.