Module:Protection banner: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(treat semi-move-protected pages as unprotected)
m (check the right action variable)
Line 110: Line 110:
level = 'templateeditor'
level = 'templateeditor'
end
end
if action == 'move' and level == 'autoconfirmed' then
if self._action == 'move' and 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.