Jump to content

Module:AfC submission catcheck: Difference between revisions

m
→‎top: Fixing name
(Created page with "local p = {} local function removeFalsePositives(str) if not str then return '' end str = mw.ustring.gsub(str, "<!--.--->", "") str = mw.ustring.gsub(str, "<nowiki>.-</...")
 
m (→‎top: Fixing name)
 
Line 9: Line 9:
str = mw.ustring.gsub(str, "{{[Dd]raft categories[^{}]-{{[^{}]-}}[^{}]-}}", "")
str = mw.ustring.gsub(str, "{{[Dd]raft categories[^{}]-{{[^{}]-}}[^{}]-}}", "")
str = mw.ustring.gsub(str, "{{[Dd]raft categories.-}}", "")
str = mw.ustring.gsub(str, "{{[Dd]raft categories.-}}", "")
str = mw.ustring.gsub(str,"%[%[Category:Unsuitable for Wikipedia AfC submissions%]%]","")
str = mw.ustring.gsub(str,"%[%[Category:Unsuitable for Bharatpedia AfC submissions%]%]","")
str = mw.ustring.gsub(str,"%[%[Category:[Dd]rafts.-%]%]","")
str = mw.ustring.gsub(str,"%[%[Category:[Dd]rafts.-%]%]","")
str = mw.ustring.gsub(str,"%[%[Category:.-drafts%]%]","")
str = mw.ustring.gsub(str,"%[%[Category:.-drafts%]%]","")