Module:Namespace

local p = {}

local namespaceAccess = { ['MAIN']     = 'true', ['TALK']     = 'false', ['FILE']     = 'true', ['FILE_TALK'] = 'false', ['USER']     = 'false', ['USER_TALK'] = 'false' }

function _namespace(namespace) if string.len(namespace) == 0 then namespace = 'MAIN' end local access = namespaceAccess[namespace] if access == nil then access = 'false' end

return access end

function p.articleManagement(frame) return _namespace(frame.args[1]) end

function p.articleManagementInternal(namespace) return _namespace(namespace) end

return p