Module:Class mask/sandbox: Difference between revisions

Content deleted Content added
Added optional extra Help class that would be automatically categorised based on name space when marked yes
Tags: Reverted Mobile edit Mobile web edit Advanced mobile edit
made redirect auto-categorisation apply only to Talk namespace
Tags: Reverted Mobile edit Mobile web edit Advanced mobile edit
Line 31:
if args.ignorenamespace then
return nil
end
if title.subjectPageTitle.isRedirect then
return resolveExtraGrade('redirect',args)
end
local ns = title.namespace
if ns==1 then -- Talk
if require('Module:Disambiguation').isDisambiguation(title.subjectPageTitle:getContent()).isRedirect then
return resolveExtraGrade('redirect',args)
elseif require('Module:Disambiguation').isDisambiguation(title.subjectPageTitle:getContent()) then
return resolveFQSgrade('disambig',args)
else