Module:Effective protection level: Difference between revisions
>PJosepherum m 1 revision: Updating |
iw>Paladox2017 Created page with "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. funct..." |
||
Line 1: | Line 1: | ||
local p = {} | local p = {} | ||
-- Returns the permission required to perform a given action on a given title. | -- 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. | -- If no title is specified, the title of the page being displayed is used. | ||
Line 60: | Line 60: | ||
end | end | ||
end | end | ||
setmetatable(p, { __index = function(t, k) | setmetatable(p, { __index = function(t, k) | ||
return function(frame) | return function(frame) | ||
Line 66: | Line 66: | ||
end | end | ||
end }) | end }) | ||
return p | return p |