Content deleted Content added
Indigopari (talk | contribs) made redirect auto-categorisation apply only to Talk namespace Tags: Reverted Mobile edit Mobile web edit Advanced mobile edit |
Indigopari (talk | contribs) reverting my own edits for test case reasons Tags: Manual revert Mobile edit Mobile web edit Advanced mobile edit |
||
Line 31:
if args.ignorenamespace then
return nil
end
if title.subjectPageTitle.isRedirect then
end
local ns = title.namespace
if ns==1 then -- Talk
if require('Module:Disambiguation').isDisambiguation(title.subjectPageTitle
▲ return resolveExtraGrade('redirect',args)
return resolveFQSgrade('disambig',args)
else
Line 53 ⟶ 54:
elseif ns==119 then -- Draft talk
return resolveFQSgrade('draft', args)
else
return 'NA'
Line 116 ⟶ 115:
elseif grade == 'redirect' or grade == 'red' or grade == 'redir' then
ret = resolveExtraGrade('redirect', args)
elseif grade == 'portal' or grade == 'project' or grade == 'draft' then
ret = resolveFQSgrade(grade, args)
|