Module:Protection banner/config: Difference between revisions

w>MarcoAurelio
No edit summary
 
(24 intermediate revisions by 16 users not shown)
Line 134: Line 134:
move = {},
move = {},
autoreview = {
autoreview = {
autoconfirmed = {
alt = 'Page protected with pending changes level 1',
tooltip = 'All edits by unregistered and new users are subject to review',
image = 'Padlock-silver-light.svg'
},
default = {
default = {
alt = 'Page protected with pending changes level 2',
alt = 'Page protected with pending changes',
tooltip = 'All edits by users who are not reviewers or administrators are'
tooltip = 'All edits by unregistered and new users are subject to review prior to becoming visible to unregistered users',
.. ' subject to review',
image = 'Pending-protection-shackle.svg'
image = 'Padlock-orange.svg'
}
}
},
},
Line 162: Line 156:
blp = {
blp = {
description = 'For pages protected to promote compliance with the'
description = 'For pages protected to promote compliance with the'
.. ' [[w:Wikipedia:Biographies of living persons'
.. ' [[Wikipedia:Biographies of living persons'
.. '|biographies of living persons]] policy',
.. '|biographies of living persons]] policy',
text = '${INTROFRAGMENT} to promote compliance with'
text = '${INTROFRAGMENT} to promote compliance with'
.. ' [[w:Wikipedia:Biographies of living persons'
.. ' [[Wikipedia:Biographies of living persons'
.. "|Wikipedia's policy on the biographies"
.. "|Wikipedia's policy on the biographies"
.. ' of living people]].',
.. ' of living people]].',
tooltip = '${TOOLTIPFRAGMENT} to promote compliance with the policy on'
tooltip = '${TOOLTIPFRAGMENT} to promote compliance with the policy on'
.. ' biographies of living people',
.. ' biographies of living persons',
},
},
dmca = {
dmca = {
description = 'For pages protected by the Wikimedia Foundation'
description = 'For pages protected by the Wikimedia Foundation'
.. ' due to [[Special:MyLanguage/Legal#DMCA|Digital Millennium Copyright Act]] takedown requests',
.. ' due to [[Digital Millennium Copyright Act]] takedown requests',
explanation = function (protectionObj, args)
explanation = function (protectionObj, args)
local ret = 'Pursuant to a rights owner notice under the Digital'
local ret = 'Pursuant to a rights owner notice under the Digital'
Line 186: Line 180:
ret = ret .. ' For more information, including websites discussing'
ret = ret .. ' For more information, including websites discussing'
.. ' how to file a counter-notice, please see'
.. ' how to file a counter-notice, please see'
.. " [[Special:MyLanguage/Office actions|Office actions]] and the article's ${TALKPAGE}."
.. " [[Wikipedia:Office actions]] and the article's ${TALKPAGE}."
.. "'''Do not remove this template from the article until the"
.. "'''Do not remove this template from the article until the"
.. " restrictions are withdrawn'''."
.. " restrictions are withdrawn'''."
return ret
return ret
end,
end,
image = 'Padlock-black.svg',
image = 'Office-protection-shackle.svg',
},
},
dispute = {
dispute = {
Line 226: Line 220:
ecp = {
ecp = {
description = 'For articles in topic areas authorized by'
description = 'For articles in topic areas authorized by'
.. ' [[Arbitration Committee|ArbCom]] or'
.. ' [[Wikipedia:Arbitration Committee|ArbCom]] or'
.. ' meets the criteria for community use',
.. ' meets the criteria for community use',
tooltip = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}'
tooltip = 'This ${PAGETYPE} is extended-confirmed protected',
.. ' under extended confirmed editing restrictions',
alt = 'Extended-protected ${PAGETYPE}',
alt = 'Extended-protected ${PAGETYPE}',
},
},
Line 235: Line 228:
description = 'For pages protected for being displayed on the [[Main Page]]',
description = 'For pages protected for being displayed on the [[Main Page]]',
text = 'This file is currently'
text = 'This file is currently'
.. ' [[Special:MyLanguage/Help:Protection|protected]] from'
.. ' [[Wikipedia:This page is protected|protected]] from'
.. ' editing because it is currently or will soon be displayed'
.. ' editing because it is currently or will soon be displayed'
.. ' on the [[Special:MyLanguage/Main Page|Main Page]].',
.. ' on the [[Main Page]].',
explanation = 'Images on the Main Page are protected due to their high'
explanation = 'Images on the Main Page are protected due to their high'
.. ' visibility. Please discuss any necessary changes on the ${TALKPAGE}.'
.. ' visibility. Please discuss any necessary changes on the ${TALKPAGE}.'
Line 250: Line 243:
local ret = 'This ${PAGETYPE} is currently under the'
local ret = 'This ${PAGETYPE} is currently under the'
.. ' scrutiny of the'
.. ' scrutiny of the'
.. ' [[Special:MyLanguage/Office actions|Wikimedia Foundation Office]]'
.. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]'
.. ' and is protected.'
.. ' and is protected.'
if protectionObj.protectionDate then
if protectionObj.protectionDate then
Line 261: Line 254:
.. " page unless you are authorized by the Wikimedia Foundation to do"
.. " page unless you are authorized by the Wikimedia Foundation to do"
.. " so.'''",
.. " so.'''",
image = 'Padlock-black.svg',
image = 'Office-protection-shackle.svg',
},
},
reset = {
reset = {
Line 268: Line 261:
  text = 'This ${PAGETYPE} is currently under the'
  text = 'This ${PAGETYPE} is currently under the'
.. ' scrutiny of the'
.. ' scrutiny of the'
.. ' [[Special:MyLanguage/Office actions|Wikimedia Foundation Office]]'
.. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]'
.. ' and is protected.',
.. ' and is protected.',
explanation = function (protectionObj, args)
explanation = function (protectionObj, args)
Line 280: Line 273:
.. ' simplified, "bare bones" version so that it may be completely'
.. ' simplified, "bare bones" version so that it may be completely'
.. ' rewritten to ensure it meets the policies of'
.. ' rewritten to ensure it meets the policies of'
.. ' [[Special:MyLanguage/Neutral point of view|Neutral Point of View]] and [[w:en:WP:V|Verifiability]].'
.. ' [[WP:NPOV|Neutral Point of View]] and [[WP:V|Verifiability]].'
.. ' Standard Wikipedia policies will apply to its rewriting—which'
.. ' Standard Wikipedia policies will apply to its rewriting—which'
.. ' will eventually be open to all editors—and will be strictly'
.. ' will eventually be open to all editors—and will be strictly'
Line 298: Line 291:
return ret
return ret
end,
end,
image = 'Padlock-black.svg',
image = 'Office-protection-shackle.svg',
},
},
sock = {
sock = {
description = 'For pages protected due to'
description = 'For pages protected due to'
.. ' [[Special:MyLanguage/Sock puppetry|sock puppetry]]',
.. ' [[Wikipedia:Sock puppetry|sock puppetry]]',
text = '${INTROFRAGMENT} to prevent [[Sock puppetry|sock puppets]] of'
text = '${INTROFRAGMENT} to prevent [[Wikipedia:Sock puppetry|sock puppets]] of'
.. ' [[Special:MyLanguage/Blocked user|blocked]] or'
.. ' [[Wikipedia:Blocking policy|blocked]] or'
.. ' [[Special:MyLanguage/Banned user|banned users]]'
.. ' [[Wikipedia:Banning policy|banned users]]'
.. ' from editing it.',
.. ' from editing it.',
tooltip = '${TOOLTIPFRAGMENT} to prevent sock puppets of blocked or banned users from'