Module:Class mask/sandbox: Difference between revisions

Content deleted Content added
No edit summary
only check for dab page in main talk space
Line 34:
if title.subjectPageTitle.isRedirect then
return resolveExtraGrade('redirect',args)
end
if require('Module:Disambiguation').isDisambiguation(title.subjectPageTitle:getContent()) then
return resolveFQSgrade('disambig',args)
end
local ns = title.namespace
if ns==1 then -- Talk
if require('Module:Disambiguation').isDisambiguation(title.subjectPageTitle:getContent()) then
return talkDefault
return resolveFQSgrade('disambig',args)
else
return talkDefault
end
elseif ns==7 or ns==711 then -- File talk
return resolveFQSgrade('file', args)