Module:Protection banner: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
m (fix comment typo) |
(more efficient p.matchNamespace logic) |
||
Line 93: | Line 93: | ||
end |
end |
||
local nskey = nskeys[ns] |
local nskey = nskeys[ns] |
||
if not nskey |
if not nskey then |
||
if ns % 2 == 1 then |
|||
⚫ | |||
elseif not nskey then |
|||
else |
|||
⚫ | |||
nskey = 'all' |
|||
end |
|||
end |
end |
||
return nskey |
return nskey |