Open main menu

Changes

Module:Protection banner/config

936 bytes added, 23:44, 9 June 2014
add icon text
-- $6 = the protection date
-- $7 = {{vandal-m|username}} replacement
-- $8 = protection level/type blurb, e.g. "create-protected" or "fully protected"
-- $9 = the expiry - " until DD Month YYYY". If protection is indefinite, this is the blank string.
-- $10 = the icon-reason, prefixed with ", "
cfg.banners = {
edit = {},
cfg.banners.autoreview.pc2 = {
}
 
--------------------------------------------------------------------------------
-- Icon text
--------------------------------------------------------------------------------
 
-- Parameters are the same as for the banner table.
 
cfg['icon-text-pc1'] = 'All edits by unregistered and new users are subject to review'
cfg['icon-text-pc2'] = 'All edits by users who are not reviewers or administrators are subject to review'
cfg['icon-text-template'] = 'This is a permanently protected $4'
cfg['icon-text-default'] = 'This $4 is $8$9$10'
 
--------------------------------------------------------------------------------
-- Images
--------------------------------------------------------------------------------
cfg.images = {
Anonymous user