Module:Sandbox/Wnt
Appearance
local p = {}
-- Returns the permission required to perform a given action on a given title.
-- If no title is specified, the title of the page being displayed is used.
function p._main(action, args)
return "action = " .. (action or 'NIL') .. "args[1] = " .. (args[1] or 'NIL')
end
setmetatable(p, { __index = function(t, k)
return function(frame)
return t._main(k, frame.args)
end
end })
return p