This is a documentation page for Module:Namespace manager.
local p = {}
function p.articleManagement(frame)
local namespaceAccess = {
['MAIN'] = 'true',
['TALK'] = 'false',
['COMMUNITY'] = 'true',
['RESOURCE'] = 'true',
['FILE'] = 'true',
['FILE_TALK'] = 'false',
['USER'] = 'false',
['FALLOUTWIKI'] = 'true',
['MEDIAWIKI'] = 'true',
['TEMPLATE'] = 'true',
['USER'] = 'false',
['USER_TALK'] = 'false',
['HELP'] = 'true',
['MOD'] = 'true',
['PROJECTS'] = 'true',
}
local namespace = nil
if string.len(frame.args[1]) ~= 0 then
namespace = frame.args[1]
else
namespace = 'MAIN'
end
local access = namespaceAccess[namespace]
if access == nil then
access = 'false'
end
return access
end
return p
