Module:Protection banner: Difference between revisions
Jump to navigation
Jump to search
add red padlocks when expiry is explicitly set to indefinite
>Mr. Stradivarius (fix Module:Submit an edit request function name) |
>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" |