localp={}localfunctionremoveFalsePositives(str)ifnotstrthenreturn''endreturnmw.ustring.gsub(mw.ustring.gsub(str,"<!--.--->",""),"<nowiki>.-</nowiki>","")endfunctionp.checkforcats(frame)localt=mw.title.getCurrentTitle()tc=t:getContent()iftc==nilthenreturn""endtc=removeFalsePositives(mw.ustring.gsub(tc,"%[%[رده:مقالههای ایجاد شده توسط ایجادگر%]%]",""))ifmw.ustring.match(tc,"%[%[%s-رده:")==nilthenreturn""elsereturn"[[رده:درخواستهای مقالهها برای ایجاد همراه ردهها]]"endendfunctionp.submitted(frame)ifmw.ustring.find(removeFalsePositives(mw.title.getCurrentTitle():getContent()),'{{درخواستهای مقالهها برای ایجاد||',1,true)thenreturnframe.args[1]elsereturnframe.args[2]endendreturnp