Module:Protection banner: Difference between revisions
Content added Content deleted
Enwikipedia>Mr. Stradivarius (fix Module:Submit an edit request function name) |
Enwikipedia>Mr. Stradivarius (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" |