Changes

Jump to navigation Jump to search

Module:Effective protection level

177 bytes added, 17:04, 6 April 2016
handle extendedconfirmed
elseif title.namespace == 6 then
return 'filemover'
elseif level == 'extendedconfirmed' then
return 'extendedconfirmed'
else
return 'autoconfirmed'
local blacklistentry = mw.ext.TitleBlacklist.test(action, pagename)
if blacklistentry then
return if not blacklistentry.params.autoconfirmed and then return 'templateeditor' elseif level == 'extendedconfirmed' then return 'autoconfirmedextendedconfirmed' or else return 'templateeditorautoconfirmed' end
elseif level == 'editsemiprotected' then -- create-semiprotected pages return this for some reason
return 'autoconfirmed'
Anonymous user

Navigation menu