Jump to content

Module:Protection banner: Difference between revisions

add red padlocks when expiry is explicitly set to indefinite
(fix Module:Submit an edit request function name)
(add red padlocks when expiry is explicitly set to indefinite)
Line 666: Line 666:
and action == 'edit'
and action == 'edit'
and level == 'sysop'
and level == 'sysop'
and not expiry
and (not expiry or expiry == 'indef')
then
then
-- Fully protected modules and templates get the special red "indef"
-- Fully protected modules and templates get the special red "indef"
Cookies help us deliver our services. By using our services, you agree to our use of cookies.