Editing Module:Protection banner/config
From WikiOasis Meta
More actions
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| 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. | ||
-- | -- | ||
-- ${EXPLANATIONBLURB} - an explanation blurb, e.g. "Please discuss any changes | -- ${EXPLANATIONBLURB} - an explanation blurb, e.g. "Please discuss any changes | ||
| Line 53: | Line 50: | ||
-- | -- | ||
-- ${INTROBLURB} - the PROTECTIONBLURB parameter, plus the expiry if an expiry | -- ${INTROBLURB} - the PROTECTIONBLURB parameter, plus the expiry if an expiry | ||
-- is set. E.g. "Editing of this page by new or unregistered users is currently | -- is set. E.g. "Editing of this page by new or unregistered users is currently | ||
-- disabled until dd Month YYYY." | -- disabled until dd Month YYYY." | ||
-- | -- | ||
| Line 127: | Line 124: | ||
tooltip = '${TOOLTIPBLURB}', | tooltip = '${TOOLTIPBLURB}', | ||
link = '${IMAGELINK}', | link = '${IMAGELINK}', | ||
alt = ' | alt = 'Page ${PROTECTIONLEVEL}' | ||
}, | }, | ||
| Line 139: | Line 136: | ||
autoconfirmed = { | autoconfirmed = { | ||
alt = 'Page protected with pending changes level 1', | alt = 'Page protected with pending changes level 1', | ||
tooltip = 'All edits by unregistered and new users are subject to review | tooltip = 'All edits by unregistered and new users are subject to review', | ||
image = 'Padlock-silver-light.svg' | image = 'Padlock-silver-light.svg' | ||
}, | }, | ||
| Line 145: | Line 142: | ||
alt = 'Page protected with pending changes level 2', | alt = 'Page protected with pending changes level 2', | ||
tooltip = 'All edits by users who are not reviewers or administrators are' | tooltip = 'All edits by users who are not reviewers or administrators are' | ||
.. ' subject to review | .. ' subject to review', | ||
image = 'Padlock-orange.svg' | image = 'Padlock-orange.svg' | ||
} | } | ||
| Line 164: | Line 161: | ||
edit = { | edit = { | ||
blp = { | blp = { | ||
description = ' | description = 'For pages protected to promote compliance with the' | ||
.. ' [[Wikipedia: | .. ' [[w:Wikipedia:Biographies of living persons' | ||
.. '| | .. '|biographies of living persons]] policy', | ||
text = '${INTROFRAGMENT} | text = '${INTROFRAGMENT} to promote compliance with' | ||
.. ' [[Wikipedia: | .. ' [[w:Wikipedia:Biographies of living persons' | ||
.. "| | .. "|Wikipedia's policy on the biographies" | ||
.. ' | .. ' of living people]].', | ||
tooltip = '${TOOLTIPFRAGMENT} | tooltip = '${TOOLTIPFRAGMENT} to promote compliance with the policy on' | ||
.. ' | .. ' biographies of living people', | ||
}, | }, | ||
dmca = { | dmca = { | ||
description = ' | description = 'For pages protected by the Wikimedia Foundation' | ||
.. ' | .. ' due to [[Special:MyLanguage/Legal#DMCA|Digital Millennium Copyright Act]] takedown requests', | ||
explanation = function (protectionObj, args) | explanation = function (protectionObj, args) | ||
local ret = ' | local ret = 'Pursuant to a rights owner notice under the Digital' | ||
.. ' | .. ' Millennium Copyright Act (DMCA) regarding some content' | ||
.. ' | .. ' in this article, the Wikimedia Foundation acted under' | ||
.. ' | .. ' applicable law and took down and restricted the content' | ||
.. ' | .. ' in question.' | ||
if args.notice then | if args.notice then | ||
ret = ret .. ' | ret = ret .. ' A copy of the received notice can be found here: ' | ||
.. args.notice .. ' | .. args.notice .. '.' | ||
end | end | ||
ret = ret .. ' | ret = ret .. ' For more information, including websites discussing' | ||
.. ' | .. ' how to file a counter-notice, please see' | ||
.. | .. " [[Special:MyLanguage/Office actions|Office actions]] and the article's ${TALKPAGE}." | ||
.. "''' | .. "'''Do not remove this template from the article until the" | ||
.. " | .. " restrictions are withdrawn'''." | ||
return ret | return ret | ||
end, | end, | ||
image = ' | image = 'Padlock-black.svg', | ||
}, | }, | ||
dispute = { | dispute = { | ||
description = ' | 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". | ||
local display = ' | local display = 'disputes' | ||
local disputes | local disputes | ||
if args.section then | if args.section then | ||
| Line 217: | Line 214: | ||
local msg | local msg | ||
if type(protectionObj.expiry) == 'number' then | if type(protectionObj.expiry) == 'number' then | ||
msg = '${INTROFRAGMENT} | msg = '${INTROFRAGMENT} or until editing %s have been resolved.' | ||
else | else | ||
msg = '${INTROFRAGMENT} | msg = '${INTROFRAGMENT} until editing %s have been resolved.' | ||
end | end | ||
return string.format(msg, disputes) | return string.format(msg, disputes) | ||
end, | end, | ||
explanation = " | explanation = "This protection is '''not''' an endorsement of the" | ||
.. '${CURRENTVERSION} | .. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}', | ||
tooltip = ' | tooltip = '${TOOLTIPFRAGMENT} due to editing disputes', | ||
}, | |||
ecp = { | |||
description = 'For articles in topic areas authorized by' | |||
.. ' [[Arbitration Committee|ArbCom]] or' | |||
.. ' meets the criteria for community use', | |||
tooltip = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}' | |||
.. ' under extended confirmed editing restrictions', | |||
alt = 'Extended-protected ${PAGETYPE}', | |||
}, | }, | ||
mainpage = { | mainpage = { | ||
description = ' | description = 'For pages protected for being displayed on the [[Main Page]]', | ||
text = ' | text = 'This file is currently' | ||
.. ' | .. ' [[Special:MyLanguage/Help:Protection|protected]] from' | ||
.. ' | .. ' editing because it is currently or will soon be displayed' | ||
.. ' | .. ' on the [[Special:MyLanguage/Main Page|Main Page]].', | ||
explanation = ' | explanation = 'Images on the Main Page are protected due to their high' | ||
.. ' | .. ' visibility. Please discuss any necessary changes on the ${TALKPAGE}.' | ||
.. '<br /><span style="font-size:90%;">' | .. '<br /><span style="font-size:90%;">' | ||
.. "''' | .. "'''Administrators:''' Once this image is definitely off the Main Page," | ||
.. ' | .. ' please unprotect this file, or reduce to semi-protection,' | ||
.. ' | .. ' as appropriate.</span>', | ||
}, | }, | ||
office = { | office = { | ||
description = ' | description = 'For pages protected by the Wikimedia Foundation', | ||
text = function (protectionObj, args) | text = function (protectionObj, args) | ||
local ret = ' | local ret = 'This ${PAGETYPE} is currently under the' | ||
.. '[[ | .. ' scrutiny of the' | ||
.. ' | .. ' [[Special:MyLanguage/Office actions|Wikimedia Foundation Office]]' | ||
.. ' and is protected.' | |||
if protectionObj.protectionDate then | if protectionObj.protectionDate then | ||
ret = ret .. ' | ret = ret .. ' It has been protected since ${PROTECTIONDATE}.' | ||
end | end | ||
return ret | return ret | ||
end, | end, | ||
explanation = " | explanation = "If you can edit this page, please discuss all changes and" | ||
.. "${TALKPAGE} | .. " additions on the ${TALKPAGE} first. '''Do not remove protection from this" | ||
.. " | .. " page unless you are authorized by the Wikimedia Foundation to do" | ||
.. " | .. " so.'''", | ||
image = ' | image = 'Padlock-black.svg', | ||
}, | }, | ||
reset = { | reset = { | ||
description = ' | description = 'For pages protected by the Wikimedia Foundation and' | ||
.. ' | .. ' "reset" to a bare-bones version', | ||
text = ' | text = 'This ${PAGETYPE} is currently under the' | ||
.. '[[ | .. ' scrutiny of the' | ||
.. ' | .. ' [[Special:MyLanguage/Office actions|Wikimedia Foundation Office]]' | ||
.. ' and is protected.', | |||
explanation = function (protectionObj, args) | explanation = function (protectionObj, args) | ||
local ret = '' | local ret = '' | ||
if protectionObj.protectionDate then | if protectionObj.protectionDate then | ||
ret = ret .. ' | ret = ret .. 'On ${PROTECTIONDATE} this ${PAGETYPE} was' | ||
else | else | ||
ret = ret .. ' | ret = ret .. 'This ${PAGETYPE} has been' | ||
end | end | ||
ret = ret .. ' | ret = ret .. ' reduced to a' | ||
.. ' | .. ' simplified, "bare bones" version so that it may be completely' | ||
.. ' | .. ' rewritten to ensure it meets the policies of' | ||
.. '[[ | .. ' [[Special:MyLanguage/Neutral point of view|Neutral Point of View]] and [[w:en:WP:V|Verifiability]].' | ||
.. ' | .. ' Standard Wikipedia policies will apply to its rewriting—which' | ||
.. ' | .. ' will eventually be open to all editors—and will be strictly' | ||
.. ' | .. ' enforced. The ${PAGETYPE} has been ${PROTECTIONLEVEL} while' | ||
.. ' | .. ' it is being rebuilt.\n\n' | ||
.. ' | .. 'Any insertion of material directly from' | ||
.. ' | .. ' pre-protection revisions of the ${PAGETYPE} will be removed, as' | ||
.. ' | .. ' will any material added to the ${PAGETYPE} that is not properly' | ||
.. ' | .. ' sourced. The associated talk page(s) were also cleared on the' | ||
.. | .. " same date.\n\n" | ||
.. " | .. "If you can edit this page, please discuss all changes and" | ||
.. "${TALKPAGE} | .. " additions on the ${TALKPAGE} first. '''Do not override" | ||
.. " | .. " this action, and do not remove protection from this page," | ||
.. " | .. " unless you are authorized by the Wikimedia Foundation" | ||
.. " | .. " to do so. No editor may remove this notice.'''" | ||
return ret | return ret | ||
end, | end, | ||
image = ' | image = 'Padlock-black.svg', | ||
}, | }, | ||
sock = { | sock = { | ||
description = ' | description = 'For pages protected due to' | ||
.. '[[ | .. ' [[Special:MyLanguage/Sock puppetry|sock puppetry]]', | ||
text = '${INTROFRAGMENT} | text = '${INTROFRAGMENT} to prevent [[Sock puppetry|sock puppets]] of' | ||
.. '[[ | .. ' [[Special:MyLanguage/Blocked user|blocked]] or' | ||
.. '[[ | .. ' [[Special:MyLanguage/Banned user|banned users]]' | ||
.. ' | .. ' from editing it.', | ||
tooltip = ' | tooltip = '${TOOLTIPFRAGMENT} to prevent sock puppets of blocked or banned users from' | ||
.. ' | .. ' editing it', | ||
}, | }, | ||
template = { | template = { | ||
description = '[[Wikipedia: | description = 'For [[w:en:Wikipedia:High-risk templates|high-risk]]' | ||
.. ' | .. ' templates and Lua modules', | ||
text = ' | text = 'This is a permanently [[Special:MyLanguage/Help:Protection|protected]] ${PAGETYPE},' | ||
.. ' | .. ' as it is [[w:en:Wikipedia:High-risk templates|high-risk]].', | ||
explanation = ' | explanation = 'Please discuss any changes on the ${TALKPAGE}; you may' | ||
.. ' | .. ' ${EDITREQUEST} to ask an' | ||
.. '| | .. ' [[Special:MyLanguage/Meta:Administrators|administrator]] or' | ||
.. '[[Wikipedia: | .. ' [[w:en: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' | ||
.. ' [[Special:MyLanguage/Consensus|consensus]]. You can also' | |||
.. '[[ | .. ' [[Meta:Requests for help from a sysop or bureaucrat|request]] that the page be' | ||
.. ' | .. ' unprotected.', | ||
tooltip = ' | tooltip = 'This high-risk ${PAGETYPE} is permanently ${PROTECTIONLEVEL}' | ||
.. ' | .. ' to prevent vandalism', | ||
alt = ' | alt = 'Permanently protected ${PAGETYPE}', | ||
}, | }, | ||
usertalk = { | usertalk = { | ||
description = ' | description = 'For pages protected against disruptive edits by a' | ||
.. ' | .. ' particular user', | ||
text = '${INTROFRAGMENT} | text = '${INTROFRAGMENT} to prevent ${VANDAL} from using it to make disruptive edits,' | ||
.. ' | .. ' such as abusing the' | ||
.. '{{[[Template:unblock|unblock]]}} | .. ' {{[[Template:unblock|unblock]]}} template.', | ||
explanation = ' | explanation = 'If you cannot edit this user talk page and you need to' | ||
.. ' | .. ' make a change or leave a message, you can' | ||
.. '[[ | .. ' [[Meta:Requests for help from a sysop or bureaucrat' | ||
.. '|request an edit]],' | |||
.. '| | .. ' [[Meta:Requests for help from a sysop or bureaucrat' | ||
.. '[[ | .. '|request unprotection]],' | ||
.. ' [[Special:Userlogin|log in]],' | |||
.. '| | .. ' or [[Special:UserLogin/signup|create an account]].', | ||
.. '[[Special: | |||
.. ' | |||
}, | }, | ||
vandalism = { | vandalism = { | ||
description = ' | description = 'For pages protected against' | ||
.. '[[ | .. ' [[Meta:Vandalism|vandalism]]', | ||
text = ' | text = '${INTROFRAGMENT} due to [[Meta:Vandalism|vandalism]].', | ||
explanation = function (protectionObj, args) | explanation = function (protectionObj, args) | ||
local ret = '' | local ret = '' | ||
if protectionObj.level == 'sysop' then | if protectionObj.level == 'sysop' then | ||
ret = ret .. " | ret = ret .. "This protection is '''not''' an endorsement of the" | ||
.. '${CURRENTVERSION} | .. ' ${CURRENTVERSION}. ' | ||
end | end | ||
return ret .. '${EXPLANATIONBLURB}' | return ret .. '${EXPLANATIONBLURB}' | ||
end, | end, | ||
tooltip = ' | tooltip = '${TOOLTIPFRAGMENT} due to vandalism', | ||
} | } | ||
}, | }, | ||
move = { | move = { | ||
dispute = { | dispute = { | ||
description = ' | description = 'For pages protected against page moves due to' | ||
.. ' | .. ' disputes over the page title', | ||
explanation = " | explanation = "This protection is '''not''' an endorsement of the" | ||
.. '${CURRENTVERSION} | .. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}', | ||
image = ' | image = 'Padlock-olive.svg' | ||
}, | }, | ||
vandalism = { | vandalism = { | ||
description = ' | description = 'For pages protected against' | ||
.. '[[Wikipedia: | .. ' [[w:en:Wikipedia:Vandalism#Page-move vandalism' | ||
.. '| | .. ' |page-move vandalism]]' | ||
} | } | ||
}, | }, | ||
| Line 394: | Line 397: | ||
protectionBlurbs = { | protectionBlurbs = { | ||
edit = { | edit = { | ||
default = ' | default = 'This ${PAGETYPE} is currently [[Help:Protection|' | ||
.. ' | .. 'protected]] from editing', | ||
autoconfirmed = '[[ | autoconfirmed = 'Editing of this ${PAGETYPE} by [[Special:MyLanguage/Newly' | ||
.. ' | .. ' registered user|new]] or [[Special:MyLanguage/Unregistered' | ||
.. ' | .. ' user|unregistered]] users is currently [[Special:MyLanguage/Help:Protection|disabled]]', | ||
extendedconfirmed = 'This ${PAGETYPE} is ${PROTECTIONLEVEL} as a result of' | |||
.. ' [[Special:MyLanguage/Arbitration Committee|ArbCom]] enforcement or meets the' | |||
.. ' [[w:en:Wikipedia:Protection policy#extended|criteria for community use]]', | |||
}, | }, | ||
move = { | move = { | ||
default = ' | default = 'This ${PAGETYPE} is currently [[Special:MyLanguage/Help:Protection|protected]]' | ||
.. ' | .. ' from [[Special:MyLanguage/Help:Moving a page|page moves]]' | ||
}, | }, | ||
autoreview = { | autoreview = { | ||
autoconfirmed = 'All edits made to this ${PAGETYPE} by' | autoconfirmed = 'All edits made to this ${PAGETYPE} by' | ||
.. ' [[ | .. ' [[Special:MyLanguage/Newly registered users|new]] or' | ||
.. ' [[ | .. ' [[Special:MyLanguage/Unregistered users|unregistered]]' | ||
.. ' users are currently' | .. ' users are currently' | ||
.. ' [[ | .. ' [[Flagged Revisions|subject to review]]', | ||
default = 'All edits made to this ${PAGETYPE} by users who are not' | default = 'All edits made to this ${PAGETYPE} by users who are not' | ||
.. ' [[Wikipedia:Reviewing|reviewers]] or' | .. ' [[w:en:Wikipedia:Reviewing|reviewers]] or' | ||
.. ' [[ | .. ' [[Special:MyLanguage/Meta:Administrators|administrators]] are currently' | ||
.. ' [[ | .. ' [[Flagged Revisions|subject to review]]' | ||
}, | }, | ||
upload = { | upload = { | ||
default = ' | default = 'Uploading new versions of this ${PAGETYPE} is currently disabled' | ||
} | } | ||
}, | }, | ||
| Line 440: | Line 446: | ||
edit = { | edit = { | ||
autoconfirmed = { | autoconfirmed = { | ||
subject = ' | subject = 'See the [[w:en: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} | .. ' ${EDITREQUEST}, discuss changes on the ${TALKPAGE},' | ||
.. '[[ | .. ' [[Meta:Requests for help from a sysop or bureaucrat' | ||
.. '|request unprotection]], [[Special:Userlogin|log in]], or' | |||
.. '| | .. ' [[Special:UserLogin/signup|create an account]].', | ||
.. ' | default = 'See the [[w:en:Wikipedia:Protection policy|' | ||
default = ' | .. 'protection policy]] and ${PROTECTIONLOG} for more details. If you' | ||
.. ' | .. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can' | ||
.. ' | .. ' [[Meta:Requests for help from a sysop or bureaucrat' | ||
.. '[[ | .. '|request unprotection]], [[Special:Userlogin|log in]], or' | ||
.. ' | .. ' [[Special:UserLogin/signup|create an account]].', | ||
.. '| | }, | ||
.. ' | extendedconfirmed = { | ||
default = 'Extended confirmed protection prevents edits from all IP editors' | |||
.. ' and registered users with fewer than 30 days tenure and 500 edits.' | |||
.. ' The [[w:en:Wikipedia:Protection policy#extended|policy on community use]]' | |||
.. ' specifies that extended confirmed protection can be applied to combat' | |||
.. ' disruption, given that semi-protection has proven to be ineffective.' | |||
.. ' Please discuss any changes on the ${TALKPAGE}; you may' | |||
.. ' ${EDITREQUEST} to ask for unconversial changes supported by' | |||
.. ' [[Special:MyLanguage/Consensus|consensus]].' | |||
}, | }, | ||
default = { | default = { | ||
subject = ' | subject = 'See the [[w:en:Wikipedia:Protection policy|' | ||
.. ' | .. 'protection policy]] and ${PROTECTIONLOG} for more details.' | ||
.. ' | .. ' Please discuss any changes on the ${TALKPAGE}; you' | ||
.. ' | .. ' may ${EDITREQUEST} to ask an' | ||
.. ' | .. ' [[Special:MyLanguage/Meta: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 [[Special:MyLanguage/Consensus' | ||
.. ' | .. '|consensus]]. You may also [[Meta:Requests for help from a sysop or bureaucrat' | ||
.. ' | .. '|request]] that this page be unprotected.', | ||
.. '| | default = 'See the [[w:en:Wikipedia:Protection policy|' | ||
default = ' | .. 'protection policy]] and ${PROTECTIONLOG} for more details.' | ||
.. ' | .. ' You may [[Meta:Requests for help from a sysop or bureaucrat|request an' | ||
.. ' | .. ' edit]] to this page, or [[Meta:Requests for help from a sysop or bureaucrat' | ||
.. '|ask]] for it to be unprotected.' | |||
.. ' | |||
.. '| | |||
} | } | ||
}, | }, | ||
move = { | move = { | ||
default = { | default = { | ||
subject = ' | subject = 'See the [[w:en: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 [[Meta:Babel]]. You can also' | |||
.. '[[ | .. ' [[Meta:Requests for help from a sysop or bureaucrat|request]] that the page be' | ||
.. ' | .. ' unprotected.', | ||
default = ' | default = 'See the [[w:en: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' | ||
.. ' [[Meta:Babel]]. You can also' | |||
.. '[[ | .. ' [[Meta:Requests for help from a sysop or bureaucrat|request]] that the page be' | ||
.. ' | .. ' unprotected.' | ||
} | } | ||
}, | }, | ||
autoreview = { | autoreview = { | ||
default = { | default = { | ||
reviewer = ' | reviewer = 'See the [[w:en:Wikipedia:Protection policy|' | ||
.. ' | .. 'protection policy]] and ${PROTECTIONLOG} for more details.' | ||
.. ' Edits to this ${PAGETYPE} will not be visible to readers' | .. ' Edits to this ${PAGETYPE} will not be visible to readers' | ||
.. ' until they are accepted by a reviewer or an administrator.' | .. ' until they are accepted by a reviewer or an administrator.' | ||
.. ' To avoid the need for your edits to be reviewed, you may' | .. ' To avoid the need for your edits to be reviewed, you may' | ||
.. ' [[ | .. ' [[Meta:Requests for help from a sysop or bureaucrat' | ||
.. '|request unprotection]]. Experienced editors may also' | .. '|request unprotection]]. Experienced editors may also' | ||
.. ' request the [[Wikipedia:Reviewing|reviewer user right]].', | .. ' request the [[w:en:Wikipedia:Reviewing|reviewer user right]].', | ||
default = ' | default = 'See the [[w:en:Wikipedia:Protection policy|' | ||
.. ' | .. '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' | ||
.. ' will not be visible to readers until they are accepted by' | .. ' will not be visible to readers until they are accepted by' | ||
.. ' 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' | ||
.. ' [[ | .. ' [[Meta:Requests for help from a sysop or bureaucrat' | ||
.. '|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]].' | ||
| Line 519: | Line 528: | ||
upload = { | upload = { | ||
default = { | default = { | ||
default = ' | default = 'See the [[w:en: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' | ||
.. ' | .. ' [[Template:Edit Protected|protected edit request]], or you' | ||
.. ' can [[Meta:Requests for help from a sysop or bureaucrat|request]]' | |||
.. ' | .. ' that the file be unprotected.' | ||
} | } | ||
} | } | ||
| Line 547: | Line 556: | ||
protectionLevels = { | protectionLevels = { | ||
edit = { | edit = { | ||
default = ' | default = 'protected', | ||
templateeditor = ' | templateeditor = 'template-protected', | ||
extendedconfirmed = ' | extendedconfirmed = 'extended-protected', | ||
autoconfirmed = ' | autoconfirmed = 'semi-protected', | ||
}, | }, | ||
move = { | move = { | ||
default = ' | default = 'move-protected' | ||
}, | }, | ||
autoreview = { | autoreview = { | ||
}, | }, | ||
upload = { | upload = { | ||
default = ' | default = 'upload-protected' | ||
} | } | ||
}, | }, | ||
| Line 574: | Line 583: | ||
images = { | images = { | ||
edit = { | edit = { | ||
default = ' | default = 'Padlock.svg', | ||
templateeditor = ' | templateeditor = 'Padlock-pink.svg', | ||
extendedconfirmed = ' | extendedconfirmed = 'Padlock-blue.svg', | ||
autoconfirmed = ' | autoconfirmed = 'Padlock-silver.svg' | ||
}, | }, | ||
move = { | move = { | ||
default = ' | default = 'Padlock-olive.svg', | ||
}, | }, | ||
autoreview = { | autoreview = { | ||
| Line 587: | Line 596: | ||
}, | }, | ||
upload = { | upload = { | ||
default = ' | default = 'Padlock-purple.svg' | ||
} | } | ||
}, | }, | ||
| Line 612: | Line 621: | ||
imageLinks = { | imageLinks = { | ||
edit = { | edit = { | ||
default = 'Wikipedia: | default = 'w:en:Wikipedia:Protection policy#full', | ||
templateeditor = 'Wikipedia: | templateeditor = 'w:en:Wikipedia:Protection policy#template', | ||
extendedconfirmed = 'Wikipedia: | extendedconfirmed = 'w:en:Wikipedia:Protection policy#extended', | ||
autoconfirmed = 'Wikipedia: | autoconfirmed = 'w:en:Wikipedia:Protection policy#semi' | ||
}, | }, | ||
move = { | move = { | ||
default = 'Wikipedia: | default = 'w:en:Wikipedia:Protection policy#move' | ||
}, | }, | ||
autoreview = { | autoreview = { | ||
autoconfirmed = 'Wikipedia: | autoconfirmed = 'w:en:Wikipedia:Protection policy#pc1', | ||
reviewer = 'Wikipedia: | reviewer = 'w:en:Wikipedia:Protection policy#pc2' | ||
}, | }, | ||
upload = { | upload = { | ||
default = 'Wikipedia: | default = 'w:en:Wikipedia:Protection policy#upload' | ||
} | } | ||
}, | }, | ||
| Line 657: | Line 666: | ||
-- 4. the protection level (e.g. "sysop" or "autoconfirmed") | -- 4. the protection level (e.g. "sysop" or "autoconfirmed") | ||
-- 5. the action (e.g. "edit" or "move") | -- 5. the action (e.g. "edit" or "move") | ||
-- | -- | ||
-- When the module looks up a category in the table, first it will will check to | -- When the module looks up a category in the table, first it will will check to | ||
-- see a key exists that corresponds to all five parameters. For example, a | -- see a key exists that corresponds to all five parameters. For example, a | ||
| Line 736: | Line 745: | ||
protectionCategories = { | protectionCategories = { | ||
['all|all|all|all|all'] = ' | ['all|all|all|all|all'] = 'Protected', | ||
['all|all|office|all|all'] = ' | ['all|all|office|all|all'] = 'Office-protected', | ||
['all|all|reset|all|all'] = ' | ['all|all|reset|all|all'] = 'Office-protected', | ||
['all|all|dmca|all|all'] = ' | ['all|all|dmca|all|all'] = 'Office-protected', | ||
['all|all|mainpage|all|all'] = ' | ['all|all|mainpage|all|all'] = 'fully-protected main page files', | ||
['all| | ['all|all|all|extendedconfirmed|all'] = 'pages under 30-500 editing restriction', | ||
['all|all|all|autoconfirmed|edit'] = ' | ['all|all|ecp|extendedconfirmed|all'] = 'pages under 30-500 editing restriction', | ||
['indef|all|all|autoconfirmed|edit'] = ' | ['all|all|all|autoconfirmed|edit'] = 'semi-protected', | ||
['all|all|blp|autoconfirmed|edit'] = ' | ['indef|all|all|autoconfirmed|edit'] = 'indefinitely semi-protected', | ||
['temp|all|blp|autoconfirmed|edit'] = ' | ['all|all|blp|autoconfirmed|edit'] = 'indefinitely semi-protected biographies of living people', | ||
['all|all|dispute|autoconfirmed|edit'] = ' | ['temp|all|blp|autoconfirmed|edit'] = 'temporarily semi-protected biographies of living people', | ||
['all|all|sock|autoconfirmed|edit'] = ' | ['all|all|dispute|autoconfirmed|edit'] = 'pages semi-protected due to dispute', | ||
['all|all|vandalism|autoconfirmed|edit'] = ' | ['all|all|sock|autoconfirmed|edit'] = 'pages semi-protected from banned users', | ||
['all|category|all|autoconfirmed|edit'] = ' | ['all|all|vandalism|autoconfirmed|edit'] = 'pages semi-protected against vandalism', | ||
['all|file|all|autoconfirmed|edit'] = ' | ['all|category|all|autoconfirmed|edit'] = 'semi-protected categories', | ||
['all|portal|all|autoconfirmed|edit'] = ' | ['all|file|all|autoconfirmed|edit'] = 'semi-protected files', | ||
['all|project|all|autoconfirmed|edit'] = ' | ['all|portal|all|autoconfirmed|edit'] = 'semi-protected portals', | ||
['all|talk|all|autoconfirmed|edit'] = ' | ['all|project|all|autoconfirmed|edit'] = 'semi-protected project pages', | ||
['all|template|all|autoconfirmed|edit'] = ' | ['all|talk|all|autoconfirmed|edit'] = 'semi-protected talk pages', | ||
['all|user|all|autoconfirmed|edit'] = ' | ['all|template|all|autoconfirmed|edit'] = 'semi-protected templates', | ||
['all|template|all|templateeditor|edit'] = ' | ['all|user|all|autoconfirmed|edit'] = 'semi-protected user and user talk pages', | ||
['all|all|blp|sysop|edit'] = ' | ['all|template|all|templateeditor|edit'] = 'template-protected templates', | ||
['temp|all|blp|sysop|edit'] = ' | ['all|all|blp|sysop|edit'] = 'indefinitely protected biographies of living people', | ||
['all|all|dispute|sysop|edit'] = ' | ['temp|all|blp|sysop|edit'] = 'temporarily protected biographies of living people', | ||
['all|all|sock|sysop|edit'] = ' | ['all|all|dispute|sysop|edit'] = 'pages protected due to dispute', | ||
['all|all|vandalism|sysop|edit'] = ' | ['all|all|sock|sysop|edit'] = 'pages protected from banned users', | ||
['all|category|all|sysop|edit'] = ' | ['all|all|vandalism|sysop|edit'] = 'pages protected against vandalism', | ||
['all|file|all|sysop|edit'] = ' | ['all|category|all|sysop|edit'] = 'protected categories', | ||
['all|project|all|sysop|edit'] = ' | ['all|file|all|sysop|edit'] = 'fully-protected files', | ||
['all|talk|all|sysop|edit'] = ' | ['all|project|all|sysop|edit'] = 'fully-protected project pages', | ||
['all|template|all|sysop|edit'] = ' | ['all|talk|all|sysop|edit'] = 'fully-protected talk pages', | ||
['all|user|all|sysop|edit'] = ' | ['all|template|all|sysop|edit'] = 'fully-protected templates', | ||
['all|module|all|all|edit'] = ' | ['all|user|all|sysop|edit'] = 'protected user and user talk pages', | ||
['all|module|all|templateeditor|edit'] = ' | ['all|module|all|all|edit'] = 'fully-protected modules', | ||
['all|module|all|autoconfirmed|edit'] = ' | ['all|module|all|templateeditor|edit'] = 'template-protected modules', | ||
['all|all|all|sysop|move'] = ' | ['all|module|all|autoconfirmed|edit'] = 'semi-protected modules', | ||
['indef|all|all|sysop|move'] = ' | ['all|all|all|sysop|move'] = 'move-protected', | ||
['all|all|dispute|sysop|move'] = ' | ['indef|all|all|sysop|move'] = 'indefinitely move-protected', | ||
['all|all|vandalism|sysop|move'] = ' | ['all|all|dispute|sysop|move'] = 'pages move-protected due to dispute', | ||
['all|portal|all|sysop|move'] = ' | ['all|all|vandalism|sysop|move'] = 'pages move-protected due to vandalism', | ||
['all|portal|all|sysop|move'] = ' | ['all|portal|all|sysop|move'] = 'move-protected portals', | ||
['all|project|all|sysop|move'] = ' | ['all|portal|all|sysop|move'] = 'move-protected portals', | ||
['all|talk|all|sysop|move'] = ' | ['all|project|all|sysop|move'] = 'move-protected project pages', | ||
['all|template|all|sysop|move'] = ' | ['all|talk|all|sysop|move'] = 'move-protected talk pages', | ||
['all|user|all|sysop|move'] = ' | ['all|template|all|sysop|move'] = 'move-protected templates', | ||
['all|all|all|autoconfirmed|autoreview'] = ' | ['all|user|all|sysop|move'] = 'move-protected user and user talk pages', | ||
['all|all|all|reviewer|autoreview'] = ' | ['all|all|all|autoconfirmed|autoreview'] = 'pending changes protected pages (level 1)', | ||
['all|file|all|all|upload'] = ' | ['all|all|all|reviewer|autoreview'] = 'pending changes protected pages (level 2)', | ||
['all|file|all|all|upload'] = 'upload-protected files', | |||
}, | }, | ||
| Line 820: | Line 830: | ||
-- Keys are namespace numbers, or the string "default" for the default value. | -- Keys are namespace numbers, or the string "default" for the default value. | ||
pagetypes = { | pagetypes = { | ||
[0] = ' | [0] = 'article', | ||
[6] = ' | [6] = 'file', | ||
[10] = ' | [10] = 'template', | ||
[14] = ' | [14] = 'category', | ||
[828] = ' | [828] = 'module', | ||
default = ' | default = 'page' | ||
}, | }, | ||
| Line 874: | Line 884: | ||
-- default arguments automatically. However, users can override any of the | -- default arguments automatically. However, users can override any of the | ||
-- arguments. | -- arguments. | ||
wrappers = { | wrappers = { | ||
['Template:Pp- | ['Template:Pp'] = {}, | ||
['Template:Pp | ['Template:Pp-30-500'] = {'ecp'}, | ||
['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-move'] = {action = 'move'}, | ['Template:Pp-move'] = {action = 'move'}, | ||
['Template:Pp-move-dispute'] = {'dispute', action = 'move'}, | ['Template:Pp-move-dispute'] = {'dispute', action = 'move'}, | ||
| Line 892: | Line 901: | ||
['Template:Pp-reset'] = {'reset'}, | ['Template:Pp-reset'] = {'reset'}, | ||
['Template:Pp-semi-indef'] = {small = true}, | ['Template:Pp-semi-indef'] = {small = true}, | ||
['Template:Pp | ['Template:Pp-sock'] = {'sock'}, | ||
['Template: | ['Template:PP-template'] = {'template', small = true}, | ||
['Template:Pp-upload'] = {action = 'upload'}, | ['Template:Pp-upload'] = {action = 'upload'}, | ||
['Template:Pp-usertalk'] = {'usertalk'}, | ['Template:Pp-usertalk'] = {'usertalk'}, | ||
| Line 900: | Line 909: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- | ||
-- MESSAGES | -- MESSAGES | ||
-- | -- | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| Line 916: | Line 925: | ||
-- intro-blurb-noexpiry or intro-fragment-noexpiry. | -- intro-blurb-noexpiry or intro-fragment-noexpiry. | ||
-- It is possible to use banner parameters in these messages. | -- It is possible to use banner parameters in these messages. | ||
['intro-blurb-expiry'] = '${PROTECTIONBLURB} | ['intro-blurb-expiry'] = '${PROTECTIONBLURB} until ${EXPIRY}.', | ||
['intro-blurb-noexpiry'] = '${PROTECTIONBLURB} | ['intro-blurb-noexpiry'] = '${PROTECTIONBLURB}.', | ||
['intro-fragment-expiry'] = '${PROTECTIONBLURB} | ['intro-fragment-expiry'] = '${PROTECTIONBLURB} until ${EXPIRY},', | ||
['intro-fragment-noexpiry'] = '${PROTECTIONBLURB}', | ['intro-fragment-noexpiry'] = '${PROTECTIONBLURB}', | ||
| Line 929: | Line 938: | ||
-- if not the tooltip-blurb-noexpiry message is used. | -- if not the tooltip-blurb-noexpiry message is used. | ||
-- It is possible to use banner parameters in these messages. | -- It is possible to use banner parameters in these messages. | ||
['tooltip-blurb-expiry'] = ' | ['tooltip-blurb-expiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL} until ${EXPIRY}.', | ||
['tooltip-blurb-noexpiry'] = ' | ['tooltip-blurb-noexpiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}.', | ||
['tooltip-fragment-expiry'] = ' | ['tooltip-fragment-expiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL} until ${EXPIRY},', | ||
['tooltip-fragment-noexpiry'] = ' | ['tooltip-fragment-noexpiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| Line 941: | Line 950: | ||
-- 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'] = ' | ['explanation-blurb-nounprotect'] = 'See the [[w:en:Wikipedia:Protection policy|' | ||
.. ' | .. 'protection policy]] and ${PROTECTIONLOG} for more details.' | ||
.. ' | .. ' Please discuss any changes on the ${TALKPAGE}; you' | ||
.. ' | .. ' may ${EDITREQUEST} to ask an' | ||
.. '| | .. ' [[Special:MyLanguage/Meta: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 [[Special:MyLanguage/Consensus' | ||
.. ' | .. '|consensus]].', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| Line 957: | Line 966: | ||
-- or the pending changes log link produced by the ${PROTECTIONLOG} parameter. | -- or the pending changes log link produced by the ${PROTECTIONLOG} parameter. | ||
-- It is possible to use banner parameters in these messages. | -- It is possible to use banner parameters in these messages. | ||
['protection-log-display'] = ' | ['protection-log-display'] = 'protection log', | ||
['pc-log-display'] = ' | ['pc-log-display'] = 'pending changes log', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| Line 967: | Line 976: | ||
-- or the move log link produced by the ${CURRENTVERSION} parameter. | -- or the move log link produced by the ${CURRENTVERSION} parameter. | ||
-- It is possible to use banner parameters in these messages. | -- It is possible to use banner parameters in these messages. | ||
['current-version-move-display'] = ' | ['current-version-move-display'] = 'current title', | ||
['current-version-edit-display'] = ' | ['current-version-edit-display'] = 'current version', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| Line 977: | Line 986: | ||
-- with the ${TALKPAGE} parameter. | -- with the ${TALKPAGE} parameter. | ||
-- It is possible to use banner parameters in this message. | -- It is possible to use banner parameters in this message. | ||
['talk-page-link-display'] = ' | ['talk-page-link-display'] = 'talk page', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| Line 986: | Line 995: | ||
-- with the ${EDITREQUEST} parameter. | -- with the ${EDITREQUEST} parameter. | ||
-- It is possible to use banner parameters in this message. | -- It is possible to use banner parameters in this message. | ||
['edit-request-display'] = ' | ['edit-request-display'] = 'submit an edit request', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| Line 994: | Line 1,003: | ||
-- 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'] = ' | ['expiry-date-format'] = 'F j, Y', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| Line 1,001: | Line 1,010: | ||
-- These messages determine which tracking categories the module outputs. | -- These messages determine which tracking categories the module outputs. | ||
['tracking-category-incorrect'] = ' | ['tracking-category-incorrect'] = 'Pages with incorrect protection templates', | ||
['tracking-category-template'] = ' | ['tracking-category-template'] = 'Template-protected pages other than templates and modules', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| Line 1,009: | Line 1,018: | ||
-- 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'] = ' | ['image-filename-indef'] = 'Padlock.svg', | ||
['image-filename-default'] = 'Transparent.gif', | ['image-filename-default'] = 'Transparent.gif', | ||