Module:Protection banner/config: Difference between revisions

Content added Content deleted
Enwikipedia>Mr. Stradivarius
(re-jig the deletion blurb messages)
Enwikipedia>Mr. Stradivarius
(new structure for the image filename data)
Line 186: Line 186:


cfg.images = {
cfg.images = {
full = 'Padlock.svg',
edit = {},
move = {},
semi = 'Padlock-silver.svg',
create = {},
template = 'Padlock-pink.svg',
autoreview = {}
indef = 'Padlock-red.svg'
}
}

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'


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------