Module:Class mask/sandbox: Difference between revisions

Content deleted Content added
add Redirect and Help to FQS
not used
Line 1:
local p = {}
 
local isarticle = function(class)
local nonarticleclasses = {'Template', 'File', 'Category', 'Disambig', 'Redirect', 'Portal', 'Project', 'Draft', 'Book', 'FM'} -- these classes will not be identified as conflicting with NA-class
local article = true
for _,v in ipairs(nonarticleclasses) do
if class==v then -- class matches one of the non-article classes
article = false
break
end
end
return article
end
 
local ucfirst = function(s)