Jump to content

Module:Protection banner: Difference between revisions

accountcreator level is gone
(use Module:File link again, instead of the sandbox)
(accountcreator level is gone)
Line 127: Line 127:
-- Set level
-- Set level
obj.level = args.demolevel or effectiveProtectionLevel(obj.action, obj.title)
obj.level = args.demolevel or effectiveProtectionLevel(obj.action, obj.title)
if obj.level == 'accountcreator' then
if not obj.level or (obj.action == 'move' and obj.level == 'autoconfirmed') then
-- Lump titleblacklisted pages in with template-protected pages,
-- since templateeditors can do both.
obj.level = 'templateeditor'
elseif not obj.level or (obj.action == 'move' and obj.level == 'autoconfirmed') then
-- Users need to be autoconfirmed to move pages anyway, so treat
-- Users need to be autoconfirmed to move pages anyway, so treat
-- semi-move-protected pages as unprotected.
-- semi-move-protected pages as unprotected.
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.