Jump to content
Toggle menu
  • 3 articles
  • 75 files
  • 7 users
  • 37.9K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Effective protection level: Difference between revisions

From Neodyland Wiki
←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 i...'
 
don't bother checking our own frame
Line 27: Line 27:
function p.p(frame)
function p.p(frame)
local parent = frame:getParent()
local parent = frame:getParent()
return p.main(frame.args.action or frame.args[1] or parent.args.action or parent.args[1], frame.args.title or frame.args[2] or parent.args.title or parent.args[2])
return p.main(parent.args.action or parent.args[1], parent.args.title or parent.args[2])
end
end


return p
return p
Cookies help us deliver our services. By using our services, you agree to our use of cookies.