Module:Protection banner/config: Difference between revisions

use default values in the images table, to make them future-proofed against new protection levels
en>Mr. Stradivarius
(add more comments; explain functions in the banner config and what some of the other config tables do)
en>Mr. Stradivarius
(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'
}
}
},
},
Anonymous user