Module:Protection banner/config: Difference between revisions

Jump to navigation Jump to search
m
Protected "Module:Protection banner/config": High traffic page or template/module ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))
enwp>Fayenatic london
(Update categories from "fully-protected" to "fully protected", removing hyphen, per valid request at WP:CFDS)
enws>Beeswaxcandle
m (Protected "Module:Protection banner/config": High traffic page or template/module ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
Line 41: Line 41:
--
--
-- ${EDITREQUEST} - a link to create an edit request for the current page.
-- ${EDITREQUEST} - a link to create an edit request for the current page.
--
-- ${EXPIRY} - the protection expiry date in the format DD Month YYYY. If
-- protection is indefinite or is not set, this is the blank string.
--
--
-- ${EXPLANATIONBLURB} - an explanation blurb, e.g. "Please discuss any changes
-- ${EXPLANATIONBLURB} - an explanation blurb, e.g. "Please discuss any changes
Line 129: Line 132:
-- The default banner data. This holds banner data for different protection
-- The default banner data. This holds banner data for different protection
-- levels.
-- levels.
-- *required* - this table needs edit, move, autoreview and upload subtables.
-- *required* - this table needs edit, move, and autoreview subtables.
defaultBanners = {
defaultBanners = {
edit = {},
edit = {},
move = {},
move = {},
autoreview = {
autoreview = {
autoconfirmed = {
alt = 'Page protected with pending changes level 1',
tooltip = 'All edits by unregistered and new users are subject to review',
image = 'Padlock-silver-light.svg'
},
default = {
default = {
alt = 'Page protected with pending changes',
alt = 'Page protected with pending changes level 2',
tooltip = 'All edits by unregistered and new users are subject to review prior to becoming visible to unregistered users',
tooltip = 'All edits by users who are not reviewers or administrators are'
image = 'Pending-protection-shackle.svg'
.. ' subject to review',
}
}
},
}
upload = {}
},
},


Line 151: Line 158:
-- module documentation.
-- module documentation.
--
--
-- *required* - this table needs edit, move, autoreview and upload subtables.
-- *required* - this table needs edit, move, and autoreview subtables.
banners = {
banners = {
edit = {
edit = {
blp = {
blp = {
description = 'For pages protected to promote compliance with the'
description = 'For pages protected to promote compliance with the'
.. ' [[Wikipedia:Biographies of living persons'
.. ' [[:w:Wikipedia:Biographies of living persons'
.. '|biographies of living persons]] policy',
.. '|biographies of living persons]] policy.',
text = '${INTROFRAGMENT} to promote compliance with'
text = '${INTROFRAGMENT} to promote compliance with'
.. ' [[Wikipedia:Biographies of living persons'
.. ' [[:w:Wikipedia:Biographies of living persons'
.. "|Wikipedia's policy on the biographies"
.. "|Wikipedia's policy on the biographies"
.. ' of living people]].',
.. ' of living people]].',
tooltip = '${TOOLTIPFRAGMENT} to promote compliance with the policy on'
tooltip = '${TOOLTIPFRAGMENT} to promote compliance with the policy on'
.. ' biographies of living persons',
.. ' biographies of living people',
},
},
dmca = {
dmca = {
description = 'For pages protected by the Wikimedia Foundation'
description = 'For pages protected by the Wikimedia Foundation'
.. ' due to [[Digital Millennium Copyright Act]] takedown requests',
.. ' due to Digital Millennium Copyright Act takedown requests.',
explanation = function (protectionObj, args)
explanation = function (protectionObj, args)
local ret = 'Pursuant to a rights owner notice under the Digital'
local ret = 'Pursuant to a rights owner notice under the Digital'
Line 180: Line 187:
ret = ret .. ' For more information, including websites discussing'
ret = ret .. ' For more information, including websites discussing'
.. ' how to file a counter-notice, please see'
.. ' how to file a counter-notice, please see'
.. " [[Wikipedia:Office actions]] and the article's ${TALKPAGE}."
.. " [[m:Office actions]] and the article's ${TALKPAGE}."
.. "'''Do not remove this template from the article until the"
.. "'''Do not remove this template from the article until the"
.. " restrictions are withdrawn'''."
.. " restrictions are withdrawn'''."
return ret
return ret
end,
end,
image = 'Office-protection-shackle.svg',
image = 'Padlock-black.svg',
},
},
dispute = {
dispute = {
description = 'For pages protected due to editing disputes',
description = 'For pages protected due to editing disputes.',
text = function (protectionObj, args)
text = function (protectionObj, args)
-- Find the value of "disputes".
-- Find the value of "disputes".
Line 217: Line 224:
.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}',
.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}',
tooltip = '${TOOLTIPFRAGMENT} due to editing disputes',
tooltip = '${TOOLTIPFRAGMENT} due to editing disputes',
},
ecp = {
description = 'For articles in topic areas authorized by'
.. ' [[Wikipedia:Arbitration Committee|ArbCom]] or'
.. ' meets the criteria for community use',
tooltip = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}',
alt = 'Extended-protected ${PAGETYPE}',
},
},
mainpage = {
mainpage = {
description = 'For pages protected for being displayed on the [[Main Page]]',
description = 'For pages protected for being displayed on the [[Main Page]].',
text = 'This file is currently'
text = 'This file is currently'
.. ' [[Wikipedia:This page is protected|protected]] from'
.. ' [[:w:Wiki:This page is protected|protected]] from'
.. ' editing because it is currently or will soon be displayed'
.. ' editing because it is currently or will soon be displayed'
.. ' on the [[Main Page]].',
.. ' on the [[Main Page]].',
Line 239: Line 239:
},
},
office = {
office = {
description = 'For pages protected by the Wikimedia Foundation',
description = 'For pages protected by the Wikimedia Foundation.',
text = function (protectionObj, args)
text = function (protectionObj, args)
local ret = 'This ${PAGETYPE} is currently under the'
local ret = 'This ${PAGETYPE} is currently under the'
.. ' scrutiny of the'
.. ' scrutiny of the'
.. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]'
.. ' [[m:Office actions|Wikimedia Foundation Office]]'
.. ' and is protected.'
.. ' and is protected.'
if protectionObj.protectionDate then
if protectionObj.protectionDate then
Line 254: Line 254:
.. " page unless you are authorized by the Wikimedia Foundation to do"
.. " page unless you are authorized by the Wikimedia Foundation to do"
.. " so.'''",
.. " so.'''",
image = 'Office-protection-shackle.svg',
image = 'Padlock-black.svg',
},
},
reset = {
reset = {
description = 'For pages protected by the Wikimedia Foundation and'
description = 'For pages protected by the Wikimedia Foundation and'
.. ' "reset" to a bare-bones version',
.. ' "reset" to a bare-bones version.',
  text = 'This ${PAGETYPE} is currently under the'
  text = 'This ${PAGETYPE} is currently under the'
.. ' scrutiny of the'
.. ' scrutiny of the'
.. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]'
.. ' [[m:Office actions|Wikimedia Foundation Office]]'
.. ' and is protected.',
.. ' and is protected.',
explanation = function (protectionObj, args)
explanation = function (protectionObj, args)
Line 273: Line 273:
.. ' simplified, "bare bones" version so that it may be completely'
.. ' simplified, "bare bones" version so that it may be completely'
.. ' rewritten to ensure it meets the policies of'
.. ' rewritten to ensure it meets the policies of'
.. ' [[WP:NPOV|Neutral Point of View]] and [[WP:V|Verifiability]].'
.. ' [[:w:WP:NPOV|Neutral Point of View]] and [[:w:WP:V|Verifiability]].'
.. ' Standard Wikipedia policies will apply to its rewriting—which'
.. ' Standard Wikipedia policies will apply to its rewriting—which'
.. ' will eventually be open to all editors—and will be strictly'
.. ' will eventually be open to all editors—and will be strictly'
Line 291: Line 291:
return ret
return ret
end,
end,
image = 'Office-protection-shackle.svg',
image = 'Padlock-black.svg',
},
},
sock = {
sock = {
description = 'For pages protected due to'
description = 'For pages protected due to'
.. ' [[Wikipedia:Sock puppetry|sock puppetry]]',
.. ' [[:w:Wikipedia:Sock puppetry|sock puppetry]].',
text = '${INTROFRAGMENT} to prevent [[Wikipedia:Sock puppetry|sock puppets]] of'
text = '${INTROFRAGMENT} to prevent [[Wikipedia:Sock puppetry|sock puppets]] of'
.. ' [[Wikipedia:Blocking policy|blocked]] or'
.. ' [[Wikisource:Blocking policy|blocked]] or'
.. ' [[Wikipedia:Banning policy|banned users]]'
.. ' [[:w:Wikipedia:Banning policy|banned users]]'
.. ' from editing it.',
.. ' from editing it.',
tooltip = '${TOOLTIPFRAGMENT} to prevent sock puppets of blocked or banned users from'
tooltip = '${TOOLTIPFRAGMENT} to prevent sock puppets of blocked or banned users from'
Line 304: Line 304:
},
},
template = {
template = {
description = 'For [[Wikipedia:High-risk templates|high-risk]]'
description = 'For [[:w:Wikipedia:High-risk templates|high-risk]]'
.. ' templates and Lua modules',
.. ' templates and Lua modules.',
text = 'This is a permanently [[Help:Protection|protected]] ${PAGETYPE},'
text = 'This is a permanently [[:w:Help:Protection|protected]] ${PAGETYPE},'
.. ' as it is [[Wikipedia:High-risk templates|high-risk]].',
.. ' as it is [[:w:Wikipedia:High-risk templates|high-risk]].',
explanation = 'Please discuss any changes on the ${TALKPAGE}; you may'
explanation = 'Please discuss any changes on the ${TALKPAGE}; you may'
.. ' ${EDITREQUEST} to ask an'
.. ' ${EDITREQUEST} to ask an'
.. ' [[Wikipedia:Administrators|administrator]] or'
.. ' [[Wikisource:Administrators|administrator]] or'
.. ' [[Wikipedia:Template editor|template editor]] to make an edit if'
.. ' [[:w:Wikipedia:Template editor|template editor]] to make an edit if'
.. ' it is [[Help:Minor edit#When to mark an edit as a minor edit'
.. ' it is [[Help:Minor edit#When to mark an edit as a minor edit'
.. '|uncontroversial]] or supported by'
.. '|uncontroversial]] or supported by'
.. ' [[Wikipedia:Consensus|consensus]]. You can also'
.. ' [[:w:Wikipedia:Consensus|consensus]]. You can also'
.. ' [[Wikipedia:Requests for page protection|request]] that the page be'
.. ' [[Wikisource:Administrators' noticeboard|request]] that the page be'
.. ' unprotected.',
.. ' unprotected.',
tooltip = 'This high-risk ${PAGETYPE} is permanently ${PROTECTIONLEVEL}'
tooltip = 'This high-risk ${PAGETYPE} is permanently ${PROTECTIONLEVEL}'
Line 323: Line 323:
usertalk = {
usertalk = {
description = 'For pages protected against disruptive edits by a'
description = 'For pages protected against disruptive edits by a'
.. ' particular user',
.. ' particular user.',
text = '${INTROFRAGMENT} to prevent ${VANDAL} from using it to make disruptive edits,'
text = '${INTROFRAGMENT} to prevent ${VANDAL} from using it to make disruptive edits,'
.. ' such as abusing the'
.. ' such as abusing the'
Line 329: Line 329:
explanation = 'If you cannot edit this user talk page and you need to'
explanation = 'If you cannot edit this user talk page and you need to'
.. ' make a change or leave a message, you can'
.. ' make a change or leave a message, you can'
.. ' [[Wikipedia:Requests for page protection'
.. ' [[Wikisource:Administrators' noticeboard'
.. '#Current requests for edits to a protected page'
.. '#Current requests for edits to a protected page'
.. '|request an edit]],'
.. '|request an edit]],'
.. ' [[Wikipedia:Requests for page protection'
.. ' [[Wikisource:Administrators' noticeboard'
.. '#Current requests for reduction in protection level'
.. '#Page (un)protection requests'
.. '|request unprotection]],'
.. '|request unprotection]],'
.. ' [[Special:Userlogin|log in]],'
.. ' [[Special:Userlogin|log in]],'
Line 340: Line 340:
vandalism = {
vandalism = {
description = 'For pages protected against'
description = 'For pages protected against'
.. ' [[Wikipedia:Vandalism|vandalism]]',
.. ' [[:w:Wikipedia:Vandalism|vandalism]].',
text = '${INTROFRAGMENT} due to [[Wikipedia:Vandalism|vandalism]].',
text = '${INTROFRAGMENT} due to [[Wikipedia:Vandalism|vandalism]].',
explanation = function (protectionObj, args)
explanation = function (protectionObj, args)
Line 356: Line 356:
dispute = {
dispute = {
description = 'For pages protected against page moves due to'
description = 'For pages protected against page moves due to'
.. ' disputes over the page title',
.. ' disputes over the page title.',
explanation = "This protection is '''not''' an endorsement of the"
explanation = "This protection is '''not''' an endorsement of the"
.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}',
.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}',
image = 'Move-protection-shackle.svg'
image = 'Padlock-olive.svg'
},
},
vandalism = {
vandalism = {
description = 'For pages protected against'
description = 'For pages protected against'
.. ' [[Wikipedia:Vandalism#Page-move vandalism'
.. ' [[:w:Wikipedia:Vandalism#Page-move vandalism'
.. ' |page-move vandalism]]'
.. ' |page-move vandalism]].'
}
}
},
},
autoreview = {},
autoreview = {}
upload = {}
},
},


Line 389: Line 388:
--
--
-- It is possible to use banner parameters inside this table.
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and upload subtables.
-- *required* - this table needs edit, move, and autoreview subtables.
protectionBlurbs = {
protectionBlurbs = {
edit = {
edit = {
default = 'This ${PAGETYPE} is currently [[Help:Protection|'
default = 'This ${PAGETYPE} is currently [[:w:Help:Protection|'
.. 'protected]] from editing',
.. 'protected]] from editing',
autoconfirmed = 'Editing of this ${PAGETYPE} by [[Wikipedia:User access'
autoconfirmed = 'Editing of this ${PAGETYPE} by [[:w:Wikipedia:User access'
.. ' levels#New users|new]] or [[Wikipedia:User access levels#Unregistered'
.. ' levels#New users|new]] or [[Wikipedia:User access levels#Unregistered'
.. ' users|unregistered]] users is currently [[Help:Protection|disabled]]',
.. ' users|unregistered]] users is currently [[:w:Help:Protection|disabled]]'
extendedconfirmed = 'This ${PAGETYPE} is currently under extended confirmed protection',
},
},
move = {
move = {
default = 'This ${PAGETYPE} is currently [[Help:Protection|protected]]'
default = 'This ${PAGETYPE} is currently [[:w:Help:Protection|protected]]'
.. ' from [[Help:Moving a page|page moves]]'
.. ' from [[:w:Help:Moving a page|page moves]]'
},
},
autoreview = {
autoreview = {
default = 'All edits made to this ${PAGETYPE} by'
autoconfirmed = 'All edits made to this ${PAGETYPE} by'
.. ' [[Wikipedia:User access levels#New users|new]] or'
.. ' [[:w:Wikipedia:User access levels#New users|new]] or'
.. ' [[Wikipedia:User access levels#Unregistered users|unregistered]]'
.. ' [[:w:Wikipedia:User access levels#Unregistered users|unregistered]]'
.. ' users are currently'
.. ' users are currently'
.. ' [[Wikipedia:Pending changes|subject to review]]'
.. ' [[:w:Wikipedia:Pending changes|subject to review]]',
},
default = 'All edits made to this ${PAGETYPE} by users who are not'
upload = {
.. ' [[:w:Wikipedia:Reviewing|reviewers]] or'
default = 'Uploading new versions of this ${PAGETYPE} is currently disabled'
.. ' [[:w:Wikipedia:Administrators|administrators]] are currently'
.. ' [[:w:Wikipedia:Pending changes|subject to review]]'
}
}
},
},
Line 431: Line 430:
--
--
-- It is possible to use banner parameters inside this table.
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and upload subtables.
-- *required* - this table needs edit, move, and autoreview subtables.
explanationBlurbs = {
explanationBlurbs = {
edit = {
edit = {
autoconfirmed = {
autoconfirmed = {
subject = 'See the [[Wikipedia:Protection policy|'
subject = 'See the [[Wikisource:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details. If you'
.. 'protection policy]] and ${PROTECTIONLOG} for more details. If you'
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can'
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can'
.. ' ${EDITREQUEST}, discuss changes on the ${TALKPAGE},'
.. ' ${EDITREQUEST}, discuss changes on the ${TALKPAGE},'
.. ' [[Wikipedia:Requests for page protection'
.. ' [[Wikisource:Administrators' noticeboard'
.. '#Current requests for reduction in protection level'
.. '#Page (un)protection requests'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
.. ' [[Special:UserLogin/signup|create an account]].',
.. ' [[Special:UserLogin/signup|create an account]].',
default = 'See the [[Wikipedia:Protection policy|'
default = 'See the [[Wikisource:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details. If you'
.. 'protection policy]] and ${PROTECTIONLOG} for more details. If you'
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can'
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can'
.. ' [[Wikipedia:Requests for page protection'
.. ' [[Wikisource:Administrators' noticeboard'
.. '#Current requests for reduction in protection level'
.. '#Page (un)protection requests'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
.. ' [[Special:UserLogin/signup|create an account]].',
.. ' [[Special:UserLogin/signup|create an account]].',
},
extendedconfirmed = {
default = 'Extended confirmed protection prevents edits from all unregistered editors'
.. ' and registered users with fewer than 30 days tenure and 500 edits.'
.. ' The [[Wikipedia:Protection policy#extended|policy on community use]]'
.. ' specifies that extended confirmed protection can be applied to combat'
.. ' disruption, if semi-protection has proven to be ineffective.'
.. ' Extended confirmed protection may also be applied to enforce'
.. ' [[Wikipedia:Arbitration Committee|arbitration sanctions]].'
.. ' Please discuss any changes on the ${TALKPAGE}; you may'
.. ' ${EDITREQUEST} to ask for uncontroversial changes supported by'
.. ' [[Wikipedia:Consensus|consensus]].'
},
},
default = {
default = {
subject = 'See the [[Wikipedia:Protection policy|'
subject = 'See the [[Wikisource:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Please discuss any changes on the ${TALKPAGE}; you'
.. ' Please discuss any changes on the ${TALKPAGE}; you'
.. ' may ${EDITREQUEST} to ask an'
.. ' may ${EDITREQUEST} to ask an'
.. ' [[Wikipedia:Administrators|administrator]] to make an edit if it'
.. ' [[Wikisource:Administrators|administrator]] to make an edit if it'
.. ' is [[Help:Minor edit#When to mark an edit as a minor edit'
.. ' is [[:w:Help:Minor edit#When to mark an edit as a minor edit'
.. '|uncontroversial]] or supported by [[Wikipedia:Consensus'
.. '|uncontroversial]] or supported by [[Wikipedia:Consensus'
.. '|consensus]]. You may also [[Wikipedia:Requests for'
.. '|consensus]]. You may also [[Wikipedia:Requests for'
.. ' page protection#Current requests for reduction in protection level'
.. ' page protection#Page (un)protection requests'
.. '|request]] that this page be unprotected.',
.. '|request]] that this page be unprotected.',
default = 'See the [[Wikipedia:Protection policy|'
default = 'See the [[Wikisource:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' You may [[Wikipedia:Requests for page'
.. ' You may [[Wikipedia:Requests for page'
.. ' protection#Current requests for edits to a protected page|request an'
.. ' protection#Current requests for edits to a protected page|request an'
.. ' edit]] to this page, or [[Wikipedia:Requests for'
.. ' edit]] to this page, or [[Wikipedia:Requests for'
.. ' page protection#Current requests for reduction in protection level'
.. ' page protection#Page (un)protection requests'
.. '|ask]] for it to be unprotected.'
.. '|ask]] for it to be unprotected.'
}
}
Line 485: Line 472:
move = {
move = {
default = {
default = {
subject = 'See the [[Wikipedia:Protection policy|'
subject = 'See the [[Wikisource:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' The page may still be edited but cannot be moved'
.. ' The page may still be edited but cannot be moved'
.. ' until unprotected. Please discuss any suggested moves on the'
.. ' until unprotected. Please discuss any suggested moves on the'
.. ' ${TALKPAGE} or at [[Wikipedia:Requested moves]]. You can also'
.. ' ${TALKPAGE} or at [[Wikipedia:Requested moves]]. You can also'
.. ' [[Wikipedia:Requests for page protection|request]] that the page be'
.. ' [[Wikisource:Administrators' noticeboard|request]] that the page be'
.. ' unprotected.',
.. ' unprotected.',
default = 'See the [[Wikipedia:Protection policy|'
default = 'See the [[Wikisource:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' The page may still be edited but cannot be moved'
.. ' The page may still be edited but cannot be moved'
.. ' until unprotected. Please discuss any suggested moves at'
.. ' until unprotected. Please discuss any suggested moves at'
.. ' [[Wikipedia:Requested moves]]. You can also'
.. ' [[:w:Wikipedia:Requested moves]]. You can also'
.. ' [[Wikipedia:Requests for page protection|request]] that the page be'
.. ' [[Wikisource:Administrators' noticeboard|request]] that the page be'
.. ' unprotected.'
.. ' unprotected.'
}
}
Line 503: Line 490:
autoreview = {
autoreview = {
default = {
default = {
default = 'See the [[Wikipedia:Protection policy|'
reviewer = 'See the [[Wikisource:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Edits to this ${PAGETYPE} will not be visible to readers'
.. ' until they are accepted by a reviewer or an administrator.'
.. ' To avoid the need for your edits to be reviewed, you may'
.. ' [[Wikisource:Administrators' noticeboard'
.. '#Page (un)protection requests'
.. '|request unprotection]]. Experienced editors may also'
.. ' request the [[:w:Wikipedia:Reviewing|reviewer user right]].',
default = 'See the [[Wikisource:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Edits to this ${PAGETYPE} by new and unregistered users'
.. ' Edits to this ${PAGETYPE} by new and unregistered users'
Line 509: Line 505:
.. ' a reviewer. To avoid the need for your edits to be'
.. ' a reviewer. To avoid the need for your edits to be'
.. ' reviewed, you may'
.. ' reviewed, you may'
.. ' [[Wikipedia:Requests for page protection'
.. ' [[Wikisource:Administrators' noticeboard'
.. '#Current requests for reduction in protection level'
.. '#Page (un)protection requests'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
.. ' [[Special:UserLogin/signup|create an account]].'
.. ' [[Special:UserLogin/signup|create an account]].'
},
},
},
upload = {
default = {
default = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' The page may still be edited but new versions of the file'
.. ' cannot be uploaded until it is unprotected. You can'
.. ' request that a new version be uploaded by using a'
.. ' [[Wikipedia:Edit requests|protected edit request]], or you'
.. ' can  [[Wikipedia:Requests for page protection|request]]'
.. ' that the file be unprotected.'
}
}
}
},
},
Line 535: Line 519:
-- This table provides the data for the ${PROTECTIONLEVEL} parameter, which
-- This table provides the data for the ${PROTECTIONLEVEL} parameter, which
-- produces a short label for different protection levels. It is sorted by
-- produces a short label for different protection levels. It is sorted by
-- protection action and protection level, and is checked in the following
-- protection action and proteciton level, and is checked in the following
-- order:
-- order:
-- 1. page's protection action, page's protection level
-- 1. page's protection action, page's protection level
Line 542: Line 526:
--
--
-- It is possible to use banner parameters inside this table.
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and upload subtables.
-- *required* - this table needs edit, move, and autoreview subtables.
protectionLevels = {
protectionLevels = {
edit = {
edit = {
default = 'protected',
default = 'protected',
templateeditor = 'template-protected',
templateeditor = 'template-protected',
extendedconfirmed = 'extended-protected',
autoconfirmed = 'semi-protected',
autoconfirmed = 'semi-protected',
},
},
Line 554: Line 537:
},
},
autoreview = {
autoreview = {
},
upload = {
default = 'upload-protected'
}
}
},
},
Line 572: Line 552:
images = {
images = {
edit = {
edit = {
default = 'Full-protection-shackle.svg',
default = 'Padlock.svg',
templateeditor = 'Template-protection-shackle.svg',
templateeditor = 'Padlock-pink.svg',
extendedconfirmed = 'Extended-protection-shackle.svg',
autoconfirmed = 'Padlock-silver.svg'
autoconfirmed = 'Semi-protection-shackle.svg'
},
},
move = {
move = {
default = 'Move-protection-shackle.svg',
default = 'Padlock-olive.svg',
},
},
autoreview = {
autoreview = {
default = 'Pending-protection-shackle.svg'
autoconfirmed = 'Padlock-silver-light.svg',
},
default = 'Padlock-orange.svg'
upload = {
default = 'Upload-protection-shackle.svg'
}
}
},
},
Line 606: Line 583:
--
--
-- It is possible to use banner parameters inside this table.
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and upload subtables.
-- *required* - this table needs edit, move, and autoreview subtables.
imageLinks = {
imageLinks = {
edit = {
edit = {
default = 'Wikipedia:Protection policy#full',
default = 'Wikisource:Protection policy#full',
templateeditor = 'Wikipedia:Protection policy#template',
templateeditor = 'Wikisource:Protection policy#template',
extendedconfirmed = 'Wikipedia:Protection policy#extended',
autoconfirmed = 'Wikisource:Protection policy#semi'
autoconfirmed = 'Wikipedia:Protection policy#semi'
},
},
move = {
move = {
default = 'Wikipedia:Protection policy#move'
default = 'Wikisource:Protection policy#move'
},
},
autoreview = {
autoreview = {
default = 'Wikipedia:Protection policy#pending'
autoconfirmed = 'Wikisource:Protection policy#pc1',
},
reviewer = 'Wikisource:Protection policy#pc2'
upload = {
default = 'Wikipedia:Protection policy#upload'
}
}
},
},
Line 732: Line 706:


protectionCategories = {
protectionCategories = {
['all|all|all|all|all']                     = 'Wikipedia fully protected pages',
['all|all|all|all|all']                 = 'Wikisource protected pages',
['all|all|office|all|all']                 = 'Wikipedia Office-protected pages',
['all|all|office|all|all']               = 'Wikisource Office-protected pages',
['all|all|reset|all|all']                   = 'Wikipedia Office-protected pages',
['all|all|reset|all|all']               = 'Wikisource Office-protected pages',
['all|all|dmca|all|all']                   = 'Wikipedia Office-protected pages',
['all|all|dmca|all|all']                 = 'Wikisource Office-protected pages',
['all|all|mainpage|all|all']               = 'Wikipedia fully protected main page files',
['all|all|mainpage|all|all']             = 'Protected main page images',
['all|all|all|extendedconfirmed|all']      = 'Wikipedia extended-confirmed-protected pages',
['all|template|all|all|edit']           = 'Wikisource protected templates',
['all|all|ecp|extendedconfirmed|all']      = 'Wikipedia extended-confirmed-protected pages',
['all|all|all|autoconfirmed|edit']       = 'Wikisource semi-protected pages',
['all|template|all|all|edit']               = 'Wikipedia fully protected templates',
['indef|all|all|autoconfirmed|edit']     = 'Wikisource indefinitely semi-protected pages',
['all|all|all|autoconfirmed|edit']         = 'Wikipedia semi-protected pages',
['all|all|blp|autoconfirmed|edit']       = 'Wikisource indefinitely semi-protected biographies of living people',
['indef|all|all|autoconfirmed|edit']       = 'Wikipedia indefinitely semi-protected pages',
['temp|all|blp|autoconfirmed|edit']     = 'Wikisource temporarily semi-protected biographies of living people',
['all|all|blp|autoconfirmed|edit']         = 'Wikipedia indefinitely semi-protected biographies of living people',
['all|all|dispute|autoconfirmed|edit']   = 'Wikisource pages semi-protected due to dispute',
['temp|all|blp|autoconfirmed|edit']         = 'Wikipedia temporarily semi-protected biographies of living people',
['all|all|sock|autoconfirmed|edit']     = 'Wikisource pages semi-protected from banned users',
['all|all|dispute|autoconfirmed|edit']     = 'Wikipedia pages semi-protected due to dispute',
['all|all|vandalism|autoconfirmed|edit'] = 'Wikisource pages semi-protected against vandalism',
['all|all|sock|autoconfirmed|edit']         = 'Wikipedia pages semi-protected from banned users',
['all|category|all|autoconfirmed|edit'] = 'Wikisource semi-protected categories',
['all|all|vandalism|autoconfirmed|edit']   = 'Wikipedia pages semi-protected against vandalism',
['all|file|all|autoconfirmed|edit']     = 'Semi-protected images',
['all|category|all|autoconfirmed|edit']     = 'Wikipedia semi-protected categories',
['all|portal|all|autoconfirmed|edit']   = 'Semi-protected portals',
['all|file|all|autoconfirmed|edit']         = 'Wikipedia semi-protected files',
['all|project|all|autoconfirmed|edit']   = 'Semi-protected project pages',
['all|portal|all|autoconfirmed|edit']       = 'Wikipedia semi-protected portals',
['all|talk|all|autoconfirmed|edit']     = 'Semi-protected talk pages',
['all|project|all|autoconfirmed|edit']     = 'Wikipedia semi-protected project pages',
['all|template|all|autoconfirmed|edit'] = 'Wikisource semi-protected templates',
['all|talk|all|autoconfirmed|edit']         = 'Wikipedia semi-protected talk pages',
['all|user|all|autoconfirmed|edit']     = 'Wikisource semi-protected user and user talk pages',
['all|template|all|autoconfirmed|edit']     = 'Wikipedia semi-protected templates',
['all|all|blp|sysop|edit']               = 'Wikisource indefinitely protected biographies of living people',
['all|user|all|autoconfirmed|edit']         = 'Wikipedia semi-protected user and user talk pages',
['temp|all|blp|sysop|edit']             = 'Wikisource temporarily protected biographies of living people',
['all|all|all|templateeditor|edit']        = 'Wikipedia template-protected pages other than templates and modules',
['all|all|dispute|sysop|edit']           = 'Wikisource pages protected due to dispute',
['all|template|all|templateeditor|edit']    = 'Wikipedia template-protected templates',
['all|all|sock|sysop|edit']             = 'Wikisource pages protected from banned users',
['all|template|all|templateeditor|move']    = 'Wikipedia template-protected templates', -- move-protected templates
['all|all|vandalism|sysop|edit']         = 'Wikisource pages protected against vandalism',
['all|all|blp|sysop|edit']                 = 'Wikipedia indefinitely protected biographies of living people',
['all|category|all|sysop|edit']         = 'Wikisource protected categories',
['temp|all|blp|sysop|edit']                 = 'Wikipedia temporarily protected biographies of living people',
['all|file|all|sysop|edit']             = 'Protected images',
['all|all|dispute|sysop|edit']             = 'Wikipedia pages protected due to dispute',
['all|project|all|sysop|edit']           = 'Protected project pages',
['all|all|sock|sysop|edit']                 = 'Wikipedia pages protected from banned users',
['all|talk|all|sysop|edit']             = 'Protected talk pages',
['all|all|vandalism|sysop|edit']           = 'Wikipedia pages protected against vandalism',
['all|template|all|sysop|edit']         = 'Wikisource protected templates',
['all|category|all|sysop|edit']             = 'Wikipedia fully protected categories',
['all|user|all|sysop|edit']             = 'Wikisource protected user and user talk pages',
['all|file|all|sysop|edit']                 = 'Wikipedia fully protected files',
['all|module|all|all|edit']             = 'Wikisource protected modules',
['all|project|all|sysop|edit']             = 'Wikipedia fully protected project pages',
['all|module|all|autoconfirmed|edit']   = 'Wikisource semi-protected modules',
['all|talk|all|sysop|edit']                 = 'Wikipedia fully protected talk pages',
['all|all|all|sysop|move']               = 'Wikisource move-protected pages',
['all|template|all|extendedconfirmed|edit'] = 'Wikipedia extended-confirmed-protected templates',
['indef|all|all|sysop|move']             = 'Wikisource indefinitely move-protected pages',
['all|template|all|sysop|edit']             = 'Wikipedia fully protected templates',
['all|all|dispute|sysop|move']           = 'Wikisource pages move-protected due to dispute',
['all|user|all|sysop|edit']                 = 'Wikipedia fully protected user and user talk pages',
['all|all|vandalism|sysop|move']         = 'Wikisource pages move-protected due to vandalism',
['all|module|all|all|edit']                 = 'Wikipedia fully protected modules',
['all|portal|all|sysop|move']            = 'Wikisource move-protected portals',
['all|module|all|templateeditor|edit']     = 'Wikipedia template-protected modules',
['all|portal|all|sysop|move']           = 'Wikisource move-protected portals',
['all|module|all|extendedconfirmed|edit']  = 'Wikipedia extended-confirmed-protected modules',
['all|project|all|sysop|move']           = 'Wikisource move-protected project pages',
['all|module|all|autoconfirmed|edit']       = 'Wikipedia semi-protected modules',
['all|talk|all|sysop|move']             = 'Wikisource move-protected talk pages',
['all|all|all|sysop|move']                 = 'Wikipedia move-protected pages',
['all|template|all|sysop|move']         = 'Wikisource move-protected templates',
['indef|all|all|sysop|move']               = 'Wikipedia indefinitely move-protected pages',
['all|user|all|sysop|move']             = 'Wikisource move-protected user and user talk pages',
['all|all|dispute|sysop|move']             = 'Wikipedia pages move-protected due to dispute',
['all|all|all|autoconfirmed|autoreview'] = 'Wikisource pending changes protected pages (level 1)',
['all|all|vandalism|sysop|move']            = 'Wikipedia pages move-protected due to vandalism',
['all|all|all|reviewer|autoreview']     = 'Wikisource pending changes protected pages (level 2)',
['all|portal|all|sysop|move']               = 'Wikipedia move-protected portals',
['all|project|all|sysop|move']             = 'Wikipedia move-protected project pages',
['all|talk|all|sysop|move']                 = 'Wikipedia move-protected talk pages',
['all|template|all|sysop|move']             = 'Wikipedia move-protected templates',
['all|user|all|sysop|move']                 = 'Wikipedia move-protected user and user talk pages',
['all|all|all|autoconfirmed|autoreview']   = 'Wikipedia pending changes protected pages',
['all|file|all|all|upload']                 = 'Wikipedia upload-protected files',
},
},


Line 804: Line 771:
edit = nil,
edit = nil,
move = false,
move = false,
autoreview = true,
autoreview = true
upload = false
},
},


Line 852: Line 818:
filemover = {'sysop'},
filemover = {'sysop'},
templateeditor = {'sysop'},
templateeditor = {'sysop'},
extendedconfirmed = {'sysop'},
autoconfirmed = {'reviewer', 'filemover', 'templateeditor'},
autoconfirmed = {'reviewer', 'filemover', 'templateeditor', 'extendedconfirmed'},
user = {'autoconfirmed'},
user = {'autoconfirmed'},
['*'] = {'user'}
['*'] = {'user'}
Line 872: Line 837:
--
--
-- When a user calls one of these wrapper templates, they will use the
-- When a user calls one of these wrapper templates, they will use the
-- default arguments automatically. However, users can override any of the
-- default arguments automatically. The arguments cannot be overwritten by the
-- arguments.
-- user.
wrappers = {
wrappers = {
['Template:Pp']                        = {},
['Template:Pp']                        = {},
['Template:Pp-extended']                = {'ecp'},
['Template:Pp-blp']                    = {'blp'},
['Template:Pp-blp']                    = {'blp'},
-- we don't need Template:Pp-create
-- we don't need Template:Pp-create
['Template:Pp-dispute']                = {'dispute'},
['Template:Pp-dispute']                = {'dispute'},
['Template:Pp-main-page']               = {'mainpage'},
['Template:Pp-main-page']               = {'mainpage'},
['Template:Pp-move']                    = {action = 'move', catonly = 'yes'},
['Template:Pp-move']                    = {action = 'move'},
['Template:Pp-move-dispute']            = {'dispute', action = 'move', catonly = 'yes'},
['Template:Pp-move-dispute']            = {'dispute', action = 'move'},
-- we don't need Template:Pp-move-indef
-- we don't need Template:Pp-move-indef
['Template:Pp-move-vandalism']          = {'vandalism', action = 'move', catonly = 'yes'},
['Template:Pp-move-vandalism']          = {'vandalism', action = 'move'},
['Template:Pp-office']                  = {'office'},
['Template:Pp-office']                  = {'office'},
['Template:Pp-office-dmca']            = {'dmca'},
['Template:Pp-office-dmca']            = {'dmca'},
['Template:Pp-pc']                      = {action = 'autoreview', small = true},
['Template:Pp-pc1']                    = {action = 'autoreview', small = true},
['Template:Pp-pc1']                    = {action = 'autoreview', small = true},
['Template:Pp-pc2']                    = {action = 'autoreview', small = true},
['Template:Pp-reset']                  = {'reset'},
['Template:Pp-reset']                  = {'reset'},
['Template:Pp-semi-indef']              = {small = true},
['Template:Pp-semi-indef']              = {expiry = 'indef', small = true},
['Template:Pp-sock']                    = {'sock'},
['Template:Pp-sock']                    = {'sock'},
['Template:Pp-template']                = {'template', small = true},
['Template:Pp-template']                = {'template', small = true},
['Template:Pp-upload']                  = {action = 'upload'},
['Template:Pp-usertalk']                = {'usertalk'},
['Template:Pp-usertalk']                = {'usertalk'},
['Template:Pp-vandalism']              = {'vandalism'},
['Template:Pp-vandalism']              = {'vandalism'},
Line 940: Line 903:
-- in the MediaWiki namespace.
-- in the MediaWiki namespace.
-- It is possible to use banner parameters in this message.
-- It is possible to use banner parameters in this message.
['explanation-blurb-nounprotect'] = 'See the [[Wikipedia:Protection policy|'
['explanation-blurb-nounprotect'] = 'See the [[Wikisource:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Please discuss any changes on the ${TALKPAGE}; you'
.. ' Please discuss any changes on the ${TALKPAGE}; you'
Line 993: Line 956:
-- This is the format for the blurb expiry date. It should be valid input for
-- This is the format for the blurb expiry date. It should be valid input for
-- the first parameter of the #time parser function.
-- the first parameter of the #time parser function.
['expiry-date-format'] = 'F j, Y "at" H:i e',
['expiry-date-format'] = 'F j, Y',


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Line 1,000: Line 963:


-- These messages determine which tracking categories the module outputs.
-- These messages determine which tracking categories the module outputs.
['tracking-category-incorrect'] = 'Wikipedia pages with incorrect protection templates',
['tracking-category-incorrect'] = 'Wikisource pages with incorrect protection templates',
['tracking-category-template'] = 'Wikipedia template-protected pages other than templates and modules',
['tracking-category-expiry'] = 'Wikisource protected pages without expiry',
['tracking-category-template'] = 'Wikisource template-protected pages other than templates and modules',


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Line 1,008: Line 972:


-- These are images that are not defined by their protection action and protection level.
-- These are images that are not defined by their protection action and protection level.
['image-filename-indef'] = 'Full-protection-shackle.svg',
['image-filename-indef'] = 'Padlock-red.svg',
['image-filename-default'] = 'Transparent.gif',
['image-filename-default'] = 'Transparent.gif',


Anonymous user

Navigation menu