Jump to content

Module:Protection banner/config: Difference between revisions

use default values in the images table, to make them future-proofed against new protection levels
(add more comments; explain functions in the banner config and what some of the other config tables do)
(use default values in the images table, to make them future-proofed against new protection levels)
Line 552: Line 552:
images = {
images = {
edit = {
edit = {
sysop = 'Padlock.svg',
default = 'Padlock.svg',
templateeditor = 'Padlock-pink.svg',
templateeditor = 'Padlock-pink.svg',
autoconfirmed = 'Padlock-silver.svg'
autoconfirmed = 'Padlock-silver.svg'
},
},
move = {
move = {
sysop = 'Padlock-olive.svg',
default = 'Padlock-olive.svg',
templateeditor = 'Padlock-olive.svg'
},
},
autoreview = {
autoreview = {
autoconfirmed = 'Padlock-silver-light.svg',
autoconfirmed = 'Padlock-silver-light.svg',
reviewer = 'Padlock-orange.svg'
default = 'Padlock-orange.svg'
}
}
},
},
Cookies help us deliver our services. By using our services, you agree to our use of cookies.