Jump to content

Module:Pagetype: Difference between revisions

no edit summary
(Created page with "-------------------------------------------------------------------------------- -- -- --...")
No edit summary
Line 200: Line 200:
else
else
pagetype = getNsDetectValue(args)
pagetype = getNsDetectValue(args)
end
if yesno(args.plural, false) then
if cfg.irregularPlurals[pagetype] then
pagetype = cfg.irregularPlurals[pagetype]
else
pagetype = pagetype .. cfg.plural -- often 's'
end
end
end
if yesno(args.caps, false) then
if yesno(args.caps, false) then