Module:Protection banner/config: Difference between revisions

no edit summary
(Undid revision 868575645 by Bellezzasolo (talk) Hold this while images get protected)
No edit summary
 
(33 intermediate revisions by 22 users not shown)
Line 137:
alt = 'Page protected with pending changes',
tooltip = 'All edits by unregistered and new users are subject to review prior to becoming visible to unregistered users',
image = 'PadlockPending-silverprotection-lightshackle.svg'
}
},
Line 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 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 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 extended-confirmed protected${PROTECTIONLEVEL}',
alt = 'Extended-protected ${PAGETYPE}',
},
Line 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 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 254:
.. " page unless you are authorized by the Wikimedia Foundation to do"
.. " so.'''",
image = 'PadlockOffice-blackprotection-shackle.svg',
},
reset = {
Line 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 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 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 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 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 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 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 407 ⟶ 405:
autoreview = {
default = '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]]'
},
upload = {
Line 437 ⟶ 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 454 ⟶ 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, if 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 uncontroversial 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 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 503:
autoreview = {
default = {
default = 'See the [[w:Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Edits to this ${PAGETYPE} by new and unregistered users'
Line 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 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 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 = {
default = 'PadlockPending-silverprotection-lightshackle.svg'
},
upload = {
default = 'PadlockUpload-purpleprotection-shackle.svg'
}
},
Line 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 = {
default = 'w:Wikipedia:Protection policy#pending'
},
upload = {
default = 'w:Wikipedia:Protection policy#upload'
}
},
Line 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|alltalk|all|autoconfirmedsysop|autoreviewmove'] = 'Wikipedia pending changes = 'TEPwiki move-protected talk pages',
['all|filetemplate|all|allsysop|uploadmove'] = 'WikipediaTEPwiki uploadmove-protected filestemplates',
['all|user|all|sysop|move'] = 'TEPwiki move-protected user and user talk pages',
['all|all|all|autoconfirmed|autoreview'] = 'TEPwiki pending changes protected pages',
['all|file|all|all|upload'] = 'TEPwiki upload-protected files',
},
 
Line 873 ⟶ 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'},
Line 937 ⟶ 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 990 ⟶ 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" gH:i a e',
 
--------------------------------------------------------------------------------
Line 997 ⟶ 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,005 ⟶ 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