Module:Protection banner/config: Difference between revisions

no edit summary
m (1 revision imported)
No edit summary
 
(24 intermediate revisions by 15 users not shown)
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'''."
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 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 295:
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 363:
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 currently under extended confirmed protection',
Line 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 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:
default = 'Extended confirmed protection prevents edits from all unregistered 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|arbitration sanctions]].'
.. ' 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 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 fullypages 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'] = 'WikipediaTEPwiki fully protected user and user 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 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',
 
--------------------------------------------------------------------------------
Administrators, verified
2,590

edits