Module:WikiProject banner/sandbox: Difference between revisions

Content deleted Content added
No edit summary
mNo edit summary
Line 103:
local ns = title.namespace
class = class:match('^%s*(.-)%s*$'):lower()
 
-- Define a table that maps namespace IDs to category names
if pagetype=='redirect' or pagetype=='soft redirect' then
out = resolveFQSgrade('redirect')
Line 125:
end
else
-- Define a table that maps namespace IDs to category names
local ns_to_category = {
[15] = 'category', -- Category talk