Module:Protection banner/config: Difference between revisions
Content added Content deleted
Enwikipedia>Mr. Stradivarius (restructure banners table) |
Enwikipedia>Mr. Stradivarius (add icon text) |
||
Line 23: | Line 23: | ||
-- $6 = the protection date |
-- $6 = the protection date |
||
-- $7 = {{vandal-m|username}} replacement |
-- $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 = { |
cfg.banners = { |
||
edit = {}, |
edit = {}, |
||
Line 121: | Line 124: | ||
cfg.banners.autoreview.pc2 = { |
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 = { |
cfg.images = { |