|
|
| Line 2: |
Line 2: |
|
| |
|
| local cfg = {} | | local cfg = {} |
|
| |
| cfg.defaultBanners = {
| |
| edit = {},
| |
| move = {},
| |
| create = {},
| |
| autoreview = {}
| |
| }
| |
|
| |
|
| -------------------------------------------------------------------------------- | | -------------------------------------------------------------------------------- |
| Line 26: |
Line 19: |
| -- $9 = the expiry - " until DD Month YYYY". If protection is indefinite, this is the blank string. | | -- $9 = the expiry - " until DD Month YYYY". If protection is indefinite, this is the blank string. |
| -- $10 = the icon-reason, prefixed with ", " | | -- $10 = the icon-reason, prefixed with ", " |
| -- $11 = A link to the page history, with display cfg['dispute-edit-link-display'] | | -- $11 = A link to the page history, with display msg['dispute-edit-link-display'] |
| -- $12 = A link to the move log, with display cfg['dispute-move-link-display'] | | -- $12 = A link to the move log, with display msg['dispute-move-link-display'] |
| -- $13 = A link to the protection log or the pending changes log, with display cfg['more-details-protection-log-display'] or cfg['more-details-pc-log-display'] | | -- $13 = A link to the protection log or the pending changes log, with display msg['more-details-protection-log-display'] or msg['more-details-pc-log-display'] |
| -- $14 = Talk page link | | -- $14 = Talk page link |
| -- $15 = Edit request link | | -- $15 = Edit request link |
| Line 138: |
Line 131: |
|
| |
|
| -------------------------------------------------------------------------------- | | -------------------------------------------------------------------------------- |
| -- Icon text | | -- Banner defaults |
| -------------------------------------------------------------------------------- | | -------------------------------------------------------------------------------- |
|
| |
|
| -- Parameters are the same as for the banner table.
| | cfg.defaultBanners = { |
| | | edit = {}, |
| cfg['icon-text-pc1'] = 'All edits by unregistered and new users are subject to review'
| | move = {}, |
| cfg['icon-text-pc2'] = 'All edits by users who are not reviewers or administrators are subject to review'
| | create = {}, |
| cfg['icon-text-template'] = 'This is a permanently protected $4'
| | autoreview = {} |
| cfg['icon-text-default'] = 'This $4 is $8$9$10'
| | } |
| | |
| --------------------------------------------------------------------------------
| |
| -- Alt text
| |
| --------------------------------------------------------------------------------
| |
| | |
| cfg['alt-text-template'] = 'Permanently protected $4'
| |
| cfg['alt-text-pc1'] = 'Page protected with pending changes level 1'
| |
| cfg['alt-text-pc2'] = 'Page protected with pending changes level 2'
| |
| cfg['alt-text-semi'] = 'Page semi-protected'
| |
| cfg['alt-text-move'] = 'Page move-protected'
| |
| cfg['alt-text-indef'] = 'Page permanently protected'
| |
| cfg['alt-text-create'] = 'Page creation-protected'
| |
| cfg['alt-text-office'] = ''
| |
| cfg['alt-text-default'] = 'Page protected'
| |
| | |
| --------------------------------------------------------------------------------
| |
| -- Reason text
| |
| --------------------------------------------------------------------------------
| |
| | |
| cfg['alt-text-full'] = 'This $4 is currently [[Help:Protection|protected]] from editing'
| |
| cfg['alt-text-semi'] = 'Editing of this $4 by [[Wikipedia:User access levels#New users|new]] or [[Wikipedia:User access levels#Unregistered users|unregistered]] users is currently [[Help:Protection|disabled]]$9'
| |
| cfg['alt-text-pc1'] = 'All edits made to this $4 by [[Wikipedia:User access levels#New users|new]] or [[Wikipedia:User access levels#Unregistered users|unregistered]] users are currently [[Wikipedia:Pending changes|subject to review]]$9'
| |
| cfg['alt-text-pc2'] = 'All edits made to this $4 by users who are not [[Wikipedia:Reviewing|reviewers]] or [[Wikipedia:Administrators|administrators]] are currently [[Wikipedia:Pending changes|subject to review]]$9'
| |
| cfg['alt-text-move'] = 'This $4 is currently [[Help:Protection|protected]] from [[Help:Moving a page|page moves]]$9'
| |
| cfg['alt-text-template'] = 'This is a permanently [[Help:Protection|protected]] $4, as it is [[Wikipedia:High-risk templates|high-risk]]$9'
| |
| cfg['alt-text-indef'] = "This page is [[Help:Protection|protected]] from editing ''indefinitely''$9"
| |
| cfg['alt-text-office'] = 'This $4 is currently [[Help:Protection|protected]] from editing$9'
| |
| cfg['alt-text-create'] = '[[Help:Starting a new page|Recreation]] of this $4 [[Help:Protection|has been disabled]]$9'
| |
| | |
| --------------------------------------------------------------------------------
| |
| -- Explanation text
| |
| --------------------------------------------------------------------------------
| |
| | |
| cfg['dispute-move-link-display'] = 'current title'
| |
| cfg['dispute-edit-link-display'] = 'current version'
| |
| | |
| cfg['more-details'] = 'See the [[Wikipedia:Protection policy|protection policy]] and $13 for more details.'
| |
| cfg['more-details-pc-log-display'] = 'pending changes log'
| |
|