Module:Protection banner/config: Difference between revisions

no edit summary
No edit summary
 
(48 intermediate revisions by 31 users not shown)
Line 41:
--
-- ${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
Line 137 ⟶ 134:
move = {},
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 = {
alt = 'Page protected with pending changes level 2',
tooltip = 'All edits by usersunregistered whoand new users are notsubject reviewersto orreview administratorsprior areto becoming visible to unregistered users',
image = 'PadlockPending-silverprotection-lightshackle.svg'
.. ' subject to review',
image = 'Padlock-orange.svg'
}
},
Line 165 ⟶ 156:
blp = {
description = 'For pages protected to promote compliance with the'
.. ' [[w:Wikipedia:Biographies of living persons'
.. '|biographies of living persons]] policy',
text = '${INTROFRAGMENT} to promote compliance with'
.. ' [[w:Wikipedia:Biographies of living persons'
.. "|Wikipedia's policy on the biographies"
.. ' of living people]].',
tooltip = '${TOOLTIPFRAGMENT} to promote compliance with the policy on'
.. ' biographies of living peoplepersons',
},
dmca = {
Line 189 ⟶ 180:
ret = ret .. ' For more information, including websites discussing'
.. ' how to file a counter-notice, please see'
.. " [[w:Wikipedia:Office actions]] and the article's ${TALKPAGE}."
.. "'''Do not remove this template from the article until the"
.. " restrictions are withdrawn'''."
return ret
end,
image = 'PadlockOffice-blackprotection-shackle.svg',
},
dispute = {
Line 229 ⟶ 220:
ecp = {
description = 'For articles in topic areas authorized by'
.. ' [[w:Wikipedia:Arbitration Committee|ArbCom]] or'
.. ' meets the criteria for community use',
tooltip = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}',
.. ' under extended confirmed editing restrictions',
alt = 'Extended-protected ${PAGETYPE}',
},
Line 238 ⟶ 228:
description = 'For pages protected for being displayed on the [[Main Page]]',
text = 'This file is currently'
.. ' [[w:Wikipedia:This page is protected|protected]] from'
.. ' editing because it is currently or will soon be displayed'
.. ' on the [[Main Page]].',
Line 253 ⟶ 243:
local ret = 'This ${PAGETYPE} is currently under the'
.. ' scrutiny of the'
.. ' [[w:Wikipedia:Office actions|Wikimedia Foundation Office]]'
.. ' and is protected.'
if protectionObj.protectionDate then
Line 264 ⟶ 254:
.. " page unless you are authorized by the Wikimedia Foundation to do"
.. " so.'''",
image = 'PadlockOffice-blackprotection-shackle.svg',
},
reset = {
Line 271 ⟶ 261:
text = 'This ${PAGETYPE} is currently under the'
.. ' scrutiny of the'
.. ' [[w:Wikipedia:Office actions|Wikimedia Foundation Office]]'
.. ' and is protected.',
explanation = function (protectionObj, args)
Line 301 ⟶ 291:
return ret
end,
image = 'PadlockOffice-blackprotection-shackle.svg',
},
sock = {
description = 'For pages protected due to'
.. ' [[w:Wikipedia:Sock puppetry|sock puppetry]]',
text = '${INTROFRAGMENT} to prevent [[w:Wikipedia:Sock puppetry|sock puppets]] of'
.. ' [[w:Wikipedia:Blocking policy|blocked]] or'
.. ' [[w:Wikipedia:Banning policy|banned users]]'
.. ' from editing it.',
tooltip = '${TOOLTIPFRAGMENT} to prevent sock puppets of blocked or banned users from'
Line 314 ⟶ 304:
},
template = {
description = 'For [[w:Wikipedia:High-risk templates|high-risk]]'
.. ' templates and Lua modules',
text = 'This is a permanently [[Help:Protection|protected]] ${PAGETYPE},'
.. ' as it is [[w:Wikipedia:High-risk templates|high-risk]].',
explanation = 'Please discuss any changes on the ${TALKPAGE}; you may'
.. ' ${EDITREQUEST} to ask an'
.. ' [[w:Wikipedia:Administrators|administrator]] or'
.. ' [[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'
.. '|uncontroversial]] or supported by'
.. ' [[w:Wikipedia:Consensus|consensus]]. You can also'
.. ' [[w:Wikipedia:Requests for page protection|request]] that the page be'
.. ' unprotected.',
tooltip = 'This high-risk ${PAGETYPE} is permanently ${PROTECTIONLEVEL}'
Line 339 ⟶ 329:
explanation = 'If you cannot edit this user talk page and you need to'
.. ' make a change or leave a message, you can'
.. ' [[w:Wikipedia:Requests for page protection'
.. '#Current requests for edits to a protected page'
.. '|request an edit]],'
.. ' [[w:Wikipedia:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]],'
Line 350 ⟶ 340:
vandalism = {
description = 'For pages protected against'
.. ' [[w:Wikipedia:Vandalism|vandalism]]',
text = '${INTROFRAGMENT} due to [[w:Wikipedia:Vandalism|vandalism]].',
explanation = function (protectionObj, args)
local ret = ''
Line 369 ⟶ 359:
explanation = "This protection is '''not''' an endorsement of the"
.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}',
image = 'PadlockMove-oliveprotection-shackle.svg'
},
vandalism = {
description = 'For pages protected against'
.. ' [[w:Wikipedia:Vandalism#Page-move vandalism'
.. ' |page-move vandalism]]'
}
Line 404 ⟶ 394:
default = 'This ${PAGETYPE} is currently [[Help:Protection|'
.. 'protected]] from editing',
autoconfirmed = 'Editing of this ${PAGETYPE} by [[w:Wikipedia:User access'
.. ' levels#New users|new]] or [[w:Wikipedia:User access levels#Unregistered'
.. ' users|unregistered]] users is currently [[Help:Protection|disabled]]',
extendedconfirmed = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}currently asunder aextended resultconfirmed ofprotection',
.. ' [[Wikipedia:Arbitration Committee|ArbCom]] enforcement or meets the'
.. ' [[Wikipedia:Protection policy#extended|criteria for community use]]',
},
move = {
Line 416 ⟶ 404:
},
autoreview = {
autoconfirmeddefault = 'All edits made to this ${PAGETYPE} by'
.. ' [[w:Wikipedia:User access levels#New users|new]] or'
.. ' [[w:Wikipedia:User access levels#Unregistered users|unregistered]]'
.. ' users are currently'
.. ' [[w:Wikipedia:Pending changes|subject to review]]',
default = 'All edits made to this ${PAGETYPE} by users who are not'
.. ' [[Wikipedia:Reviewing|reviewers]] or'
.. ' [[Wikipedia:Administrators|administrators]] are currently'
.. ' [[Wikipedia:Pending changes|subject to review]]'
},
upload = {
Line 451 ⟶ 435:
edit = {
autoconfirmed = {
subject = 'See the [[w:Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details. If you'
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can'
.. ' ${EDITREQUEST}, discuss changes on the ${TALKPAGE},'
.. ' [[w:Wikipedia:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
.. ' [[Special:UserLogin/signup|create an account]].',
default = 'See the [[w:Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details. If you'
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can'
.. ' [[w:Wikipedia:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
Line 468 ⟶ 452:
},
extendedconfirmed = {
default = 'Extended confirmed protection prevents edits from all IPunregistered editors'
.. ' and registered users with fewer than 30 days tenure and 500 edits.'
.. ' The [[w:Wikipedia:Protection policy#extended|policy on community use]]'
.. ' specifies that extended confirmed protection can be applied to combat'
.. ' disruption, given thatif semi-protection has proven to be ineffective.'
.. ' Extended confirmed protection may also be applied to enforce'
.. ' [[w:Wikipedia:Arbitration Committee|ArbComarbitration sanctions]] enforcement or meets the.'
.. ' Please discuss any changes on the ${TALKPAGE}; you may'
.. ' ${EDITREQUEST} to ask for unconversialuncontroversial changes supported by'
.. ' [[w:Wikipedia:Consensus|consensus]].'
},
default = {
subject = 'See the [[w:Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Please discuss any changes on the ${TALKPAGE}; you'
.. ' may ${EDITREQUEST} to ask an'
.. ' [[w:Wikipedia:Administrators|administrator]] to make an edit if it'
.. ' is [[Help:Minor edit#When to mark an edit as a minor edit'
.. '|uncontroversial]] or supported by [[w:Wikipedia:Consensus'
.. '|consensus]]. You may also [[w:Wikipedia:Requests for'
.. ' page protection#Current requests for reduction in protection level'
.. '|request]] that this page be unprotected.',
default = 'See the [[w:Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' You may [[w:Wikipedia:Requests for page'
.. ' protection#Current requests for edits to a protected page|request an'
.. ' edit]] to this page, or [[w:Wikipedia:Requests for'
.. ' page protection#Current requests for reduction in protection level'
.. '|ask]] for it to be unprotected.'
Line 499 ⟶ 485:
move = {
default = {
subject = 'See the [[w:Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' The page may still be edited but cannot be moved'
.. ' until unprotected. Please discuss any suggested moves on the'
.. ' ${TALKPAGE} or at [[w:Wikipedia:Requested moves]]. You can also'
.. ' [[w:Wikipedia:Requests for page protection|request]] that the page be'
.. ' unprotected.',
default = 'See the [[w:Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' The page may still be edited but cannot be moved'
.. ' until unprotected. Please discuss any suggested moves at'
.. ' [[w:Wikipedia:Requested moves]]. You can also'
.. ' [[w:Wikipedia:Requests for page protection|request]] that the page be'
.. ' unprotected.'
}
Line 517 ⟶ 503:
autoreview = {
default = {
reviewerdefault = 'See the [[w:Wikipedia: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'
.. ' [[Wikipedia:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]]. Experienced editors may also'
.. ' request the [[Wikipedia:Reviewing|reviewer user right]].',
default = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Edits to this ${PAGETYPE} by new and unregistered users'
Line 532 ⟶ 509:
.. ' a reviewer. To avoid the need for your edits to be'
.. ' reviewed, you may'
.. ' [[w:Wikipedia:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
Line 540 ⟶ 517:
upload = {
default = {
default = 'See the [[w: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'
.. ' [[w:Wikipedia:Edit requests|protected edit request]], or you'
.. ' can [[w:Wikipedia:Requests for page protection|request]]'
.. ' that the file be unprotected.'
}
Line 595 ⟶ 572:
images = {
edit = {
default = 'PadlockFull-protection-shackle.svg',
templateeditor = 'PadlockTemplate-pinkprotection-shackle.svg',
extendedconfirmed = 'PadlockExtended-blueprotection-shackle.svg',
autoconfirmed = 'PadlockSemi-silverprotection-shackle.svg'
},
move = {
default = 'PadlockMove-oliveprotection-shackle.svg',
},
autoreview = {
autoconfirmeddefault = 'PadlockPending-silverprotection-lightshackle.svg',
default = 'Padlock-orange.svg'
},
upload = {
default = 'PadlockUpload-purpleprotection-shackle.svg'
}
},
Line 633 ⟶ 609:
imageLinks = {
edit = {
default = 'w:Wikipedia:Protection policy#full',
templateeditor = 'w:Wikipedia:Protection policy#template',
extendedconfirmed = 'w:Wikipedia:Protection policy#extended',
autoconfirmed = 'w:Wikipedia:Protection policy#semi'
},
move = {
default = 'w:Wikipedia:Protection policy#move'
},
autoreview = {
autoconfirmeddefault = 'w:Wikipedia:Protection policy#pc1pending',
reviewer = 'Wikipedia:Protection policy#pc2'
},
upload = {
default = 'w:Wikipedia:Protection policy#upload'
}
},
Line 757 ⟶ 732:
 
protectionCategories = {
['all|all|all|all|all'] = 'WikipediaTEPwiki fully protected pages',
['all|all|office|all|all'] = 'WikipediaTEPwiki Office-protected pages',
['all|all|reset|all|all'] = 'WikipediaTEPwiki Office-protected pages',
['all|all|dmca|all|all'] = 'WikipediaTEPwiki Office-protected pages',
['all|all|mainpage|all|all'] = 'WikipediaTEPwiki fully- protected main page files',
['all|all|all|extendedconfirmed|all'] = 'Wikipedia pages under= 30'TEPwiki extended-500confirmed-protected editing restrictionpages',
['all|all|ecp|extendedconfirmed|all'] = 'Wikipedia pages under= 30'TEPwiki extended-500confirmed-protected editing restrictionpages',
['all|template|all|all|edit'] = 'WikipediaTEPwiki fully- protected templates',
['all|all|all|autoconfirmed|edit'] = 'WikipediaTEPwiki semi-protected pages',
['indef|all|all|autoconfirmed|edit'] = 'WikipediaTEPwiki indefinitely semi-protected pages',
['all|all|blp|autoconfirmed|edit'] = 'WikipediaTEPwiki indefinitely semi-protected biographies of living people',
['temp|all|blp|autoconfirmed|edit'] = 'WikipediaTEPwiki temporarily semi-protected biographies of living people',
['all|all|dispute|autoconfirmed|edit'] = 'WikipediaTEPwiki pages semi-protected due to dispute',
['all|all|sock|autoconfirmed|edit'] = 'WikipediaTEPwiki pages semi-protected from banned users',
['all|all|vandalism|autoconfirmed|edit'] = 'WikipediaTEPwiki pages semi-protected against vandalism',
['all|category|all|autoconfirmed|edit'] = 'WikipediaTEPwiki semi-protected categories',
['all|file|all|autoconfirmed|edit'] = 'WikipediaTEPwiki semi-protected files',
['all|portal|all|autoconfirmed|edit'] = 'WikipediaTEPwiki semi-protected portals',
['all|project|all|autoconfirmed|edit'] = 'WikipediaTEPwiki semi-protected project pages',
['all|talk|all|autoconfirmed|edit'] = 'WikipediaTEPwiki semi-protected talk pages',
['all|template|all|autoconfirmed|edit'] = 'WikipediaTEPwiki semi-protected templates',
['all|user|all|autoconfirmed|edit'] = 'WikipediaTEPwiki semi-protected user and user talk pages',
['all|templateall|all|templateeditor|edit'] = 'WikipediaTEPwiki template-protected pages other than templates and modules',
['all|template|all|blp|sysoptemplateeditor|edit'] = 'Wikipedia indefinitelyTEPwiki template-protected biographies of living peopletemplates',
['tempall|template|all|blptemplateeditor|sysop|editmove'] = 'Wikipedia temporarilyTEPwiki template-protected biographiestemplates', of-- livingmove-protected people',templates
['all|all|disputeblp|sysop|edit'] = 'WikipediaTEPwiki pagesindefinitely protected duebiographies of toliving disputepeople',
['alltemp|all|sockblp|sysop|edit'] = 'WikipediaTEPwiki pagestemporarily protected frombiographies of bannedliving userspeople',
['all|all|vandalismdispute|sysop|edit'] = 'WikipediaTEPwiki pages protected againstdue to vandalismdispute',
['all|category|all|sock|sysop|edit'] = 'WikipediaTEPwiki pages protected categoriesfrom banned users',
['all|file|all|vandalism|sysop|edit'] = 'WikipediaTEPwiki pages fully-protected filesagainst vandalism',
['all|projectcategory|all|sysop|edit'] = 'WikipediaTEPwiki fully-protected projectprotected pagescategories',
['all|talkfile|all|sysop|edit'] = 'WikipediaTEPwiki fully-protected talkprotected pagesfiles',
['all|templateproject|all|sysop|edit'] = 'WikipediaTEPwiki fully- protected templatesproject pages',
['all|usertalk|all|sysop|edit'] = 'Wikipedia protected user= and'TEPwiki userfully protected talk pages',
['all|moduletemplate|all|allextendedconfirmed|edit'] = 'WikipediaTEPwiki fullyextended-confirmed-protected modulestemplates',
['all|moduletemplate|all|templateeditorsysop|edit'] = 'WikipediaTEPwiki fully template-protected modulestemplates',
['all|moduleuser|all|autoconfirmedsysop|edit'] = 'WikipediaTEPwiki fully semi-protected modulesuser and user talk pages',
['all|module|all|all|sysop|moveedit'] = 'WikipediaTEPwiki fully move-protected pagesmodules',
['indef|all|module|all|sysoptemplateeditor|moveedit'] = 'Wikipedia indefinitelyTEPwiki movetemplate-protected pagesmodules',
['all|module|all|disputeextendedconfirmed|sysop|moveedit'] = 'WikipediaTEPwiki pages moveextended-confirmed-protected due to disputemodules',
['all|module|all|vandalismautoconfirmed|sysop|moveedit'] = 'WikipediaTEPwiki pages movesemi-protected due to vandalismmodules',
['all|portalall|all|sysop|move'] = 'WikipediaTEPwiki move-protected portalspages',
['allindef|portalall|all|sysop|move'] = 'WikipediaTEPwiki indefinitely move-protected portalspages',
['all|project|all|dispute|sysop|move'] = 'WikipediaTEPwiki pages move-protected projectdue pagesto dispute',
['all|talk|all|vandalism|sysop|move'] = 'WikipediaTEPwiki pages move-protected talkdue pagesto vandalism',
['all|templateportal|all|sysop|move'] = 'WikipediaTEPwiki move-protected templatesportals',
['all|userproject|all|sysop|move'] = 'WikipediaTEPwiki move-protected user and user talkproject pages',
['all|talk|all|sysop|move'] = 'TEPwiki move-protected talk pages',
['all|all|all|autoconfirmed|autoreview'] = 'Wikipedia pending changes protected pages (level 1)',
['all|alltemplate|all|reviewersysop|autoreviewmove'] = 'Wikipedia pending changes protected pages (level 2)= 'TEPwiki move-protected templates',
['all|fileuser|all|allsysop|uploadmove'] = 'WikipediaTEPwiki uploadmove-protected filesuser and user talk pages',
['all|all|all|autoconfirmed|autoreview'] = 'WikipediaTEPwiki pending changes protected pages (level 1)',
['all|file|all|all|upload'] = 'TEPwiki upload-protected files',
},
 
Line 899 ⟶ 876:
wrappers = {
['Template:Pp'] = {},
['Template:Pp-30-500extended'] = {'ecp'},
['Template:Pp-blp'] = {'blp'},
-- we don't need Template:Pp-create
['Template:Pp-dispute'] = {'dispute'},
['Template:Pp-main-page'] = {'mainpage'},
['Template:Pp-move'] = {action = 'move', catonly = 'yes'},
['Template:Pp-move-dispute'] = {'dispute', action = 'move', catonly = 'yes'},
-- we don't need Template:Pp-move-indef
['Template:Pp-move-vandalism'] = {'vandalism', action = 'move', catonly = 'yes'},
['Template:Pp-office'] = {'office'},
['Template:Pp-office-dmca'] = {'dmca'},
['Template:Pp-pc2pc'] = {action = 'autoreview', small = true},
['Template:Pp-pc1'] = {action = 'autoreview', small = true},
['Template:Pp-pc2'] = {action = 'autoreview', small = true},
['Template:Pp-reset'] = {'reset'},
['Template:Pp-semi-indef'] = {expiry = 'indef', small = true},
['Template:Pp-sock'] = {'sock'},
['Template:Pp-template'] = {'template', small = true},
Line 963 ⟶ 940:
-- in the MediaWiki namespace.
-- It is possible to use banner parameters in this message.
['explanation-blurb-nounprotect'] = 'See the [[w:Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Please discuss any changes on the ${TALKPAGE}; you'
.. ' may ${EDITREQUEST} to ask an'
.. ' [[w:Wikipedia:Administrators|administrator]] to make an edit if it'
.. ' is [[Help:Minor edit#When to mark an edit as a minor edit'
.. '|uncontroversial]] or supported by [[w:Wikipedia:Consensus'
.. '|consensus]].',
 
Line 1,016 ⟶ 993:
-- This is the format for the blurb expiry date. It should be valid input for
-- the first parameter of the #time parser function.
['expiry-date-format'] = 'F j, Y "at" H:i e',
 
--------------------------------------------------------------------------------
Line 1,023 ⟶ 1,000:
 
-- These messages determine which tracking categories the module outputs.
['tracking-category-incorrect'] = 'WikipediaTEPwiki pages with incorrect protection templates',
['tracking-category-template'] = 'WikipediaTEPwiki template-protected pages other than templates and modules',
 
--------------------------------------------------------------------------------
Line 1,031 ⟶ 1,008:
 
-- These are images that are not defined by their protection action and protection level.
['image-filename-indef'] = 'PadlockFull-protection-shackle.svg',
['image-filename-default'] = 'Transparent.gif',
 
Administrators, verified
2,590

edits