Jump to content

Module:Protection banner/config: Difference between revisions

new structure for the image filename data
(re-jig the deletion blurb messages)
(new structure for the image filename data)
Line 186: Line 186:


cfg.images = {
cfg.images = {
full = 'Padlock.svg',
edit = {},
semi = 'Padlock-silver.svg',
move = {},
template = 'Padlock-pink.svg',
create = {},
indef = 'Padlock-red.svg'
autoreview = {}
}
}
cfg.images.edit.sysop = 'Padlock.svg'
cfg.images.edit.templateeditor = 'Padlock-pink.svg'
cfg.images.edit.autoconfirmed = 'Padlock-silver.svg'
cfg.images.move.sysop = 'Padlock-olive.svg'
cfg.images.move.templateeditor = 'Padlock-olive.svg'
cfg.images.create.default = 'Padlock-skyblue.svg'
cfg.images.autoreview.autoconfirmed = 'Padlock-silver-light.svg'
cfg.images.autoreview.reviewer = 'Padlock-orange.svg'


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Line 374: Line 383:
msg['protection-level-create'] = 'creation-protected'
msg['protection-level-create'] = 'creation-protected'
msg['protection-level-default'] = 'protected'
msg['protection-level-default'] = 'protected'
--------------------------------------------------------------------------------
-- Images
--------------------------------------------------------------------------------
-- These are images that are not defined by their protection action and protection level.
msg['image-filename-indef'] = 'Padlock-red.svg'
msg['image-filename-default'] = 'Transparent.gif'


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Cookies help us deliver our services. By using our services, you agree to our use of cookies.