Module:Effective protection level: Difference between revisions

Jump to navigation Jump to search
no edit summary
(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. function p._main(action, pagename) local title if type(pagename) == 'table' and pagename.prefixedText then title = pagename elseif pagename then title = mw.title.new(pagename) else title = mw.title.getCurrentTitle() end pagename = title.prefixedText if action == 'autoreview' then local leve...")
No edit summary
Tag: Reverted
Line 61: Line 61:
end
end
end
end
local blacklistentry = mw.ext.TitleBlacklist.test(action, pagename)
-- local blacklistentry = mw.ext.TitleBlacklist.test(action, pagename)
if blacklistentry then
if blacklistentry then
if not blacklistentry.params.autoconfirmed then
if not blacklistentry.params.autoconfirmed then

Navigation menu