Module:Protection banner/config: Difference between revisions
remove some periods and add wikilink, per request of User:Voidxor
(images -> files) |
(remove some periods and add wikilink, per request of User:Voidxor) |
||
Line 165: | Line 165: | ||
description = 'For pages protected to promote compliance with the' | description = 'For pages protected to promote compliance with the' | ||
.. ' [[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' | ||
.. ' [[Wikipedia:Biographies of living persons' | .. ' [[Wikipedia:Biographies of living persons' | ||
Line 175: | Line 175: | ||
dmca = { | dmca = { | ||
description = 'For pages protected by the Wikimedia Foundation' | description = 'For pages protected by the Wikimedia Foundation' | ||
.. ' due to 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 196: | Line 196: | ||
}, | }, | ||
dispute = { | dispute = { | ||
description = 'For pages protected due to editing disputes | 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". | ||
Line 227: | Line 227: | ||
}, | }, | ||
mainpage = { | mainpage = { | ||
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' | ||
.. ' [[Wikipedia:This page is protected|protected]] from' | .. ' [[Wikipedia:This page is protected|protected]] from' | ||
Line 240: | Line 240: | ||
}, | }, | ||
office = { | office = { | ||
description = 'For pages protected by the Wikimedia Foundation | description = 'For pages protected by the Wikimedia Foundation', | ||
text = function (protectionObj, args) | text = function (protectionObj, args) | ||
local ret = 'This ${PAGETYPE} is currently under the' | local ret = 'This ${PAGETYPE} is currently under the' | ||
Line 259: | Line 259: | ||
reset = { | reset = { | ||
description = 'For pages protected by the Wikimedia Foundation and' | description = 'For pages protected by the Wikimedia Foundation and' | ||
.. ' "reset" to a bare-bones version | .. ' "reset" to a bare-bones version', | ||
text = 'This ${PAGETYPE} is currently under the' | text = 'This ${PAGETYPE} is currently under the' | ||
.. ' scrutiny of the' | .. ' scrutiny of the' | ||
Line 296: | Line 296: | ||
sock = { | sock = { | ||
description = 'For pages protected due to' | description = 'For pages protected due to' | ||
.. ' [[Wikipedia:Sock puppetry|sock puppetry]] | .. ' [[Wikipedia:Sock puppetry|sock puppetry]]', | ||
text = '${INTROFRAGMENT} to prevent [[Wikipedia:Sock puppetry|sock puppets]] of' | text = '${INTROFRAGMENT} to prevent [[Wikipedia:Sock puppetry|sock puppets]] of' | ||
.. ' [[Wikipedia:Blocking policy|blocked]] or' | .. ' [[Wikipedia:Blocking policy|blocked]] or' | ||
Line 306: | Line 306: | ||
template = { | template = { | ||
description = 'For [[Wikipedia:High-risk templates|high-risk]]' | description = 'For [[Wikipedia:High-risk templates|high-risk]]' | ||
.. ' templates and Lua modules | .. ' templates and Lua modules', | ||
text = 'This is a permanently [[Help:Protection|protected]] ${PAGETYPE},' | text = 'This is a permanently [[Help:Protection|protected]] ${PAGETYPE},' | ||
.. ' as it is [[Wikipedia:High-risk templates|high-risk]].', | .. ' as it is [[Wikipedia:High-risk templates|high-risk]].', | ||
Line 324: | Line 324: | ||
usertalk = { | usertalk = { | ||
description = 'For pages protected against disruptive edits by a' | description = 'For pages protected against disruptive edits by a' | ||
.. ' particular user | .. ' particular user', | ||
text = '${INTROFRAGMENT} to prevent ${VANDAL} from using it to make disruptive edits,' | text = '${INTROFRAGMENT} to prevent ${VANDAL} from using it to make disruptive edits,' | ||
.. ' such as abusing the' | .. ' such as abusing the' | ||
Line 341: | Line 341: | ||
vandalism = { | vandalism = { | ||
description = 'For pages protected against' | description = 'For pages protected against' | ||
.. ' [[Wikipedia:Vandalism|vandalism]] | .. ' [[Wikipedia:Vandalism|vandalism]]', | ||
text = '${INTROFRAGMENT} due to [[Wikipedia:Vandalism|vandalism]].', | text = '${INTROFRAGMENT} due to [[Wikipedia:Vandalism|vandalism]].', | ||
explanation = function (protectionObj, args) | explanation = function (protectionObj, args) | ||
Line 357: | Line 357: | ||
dispute = { | dispute = { | ||
description = 'For pages protected against page moves due to' | description = 'For pages protected against page moves due to' | ||
.. ' disputes over the page title | .. ' disputes over the page title', | ||
explanation = "This protection is '''not''' an endorsement of the" | explanation = "This protection is '''not''' an endorsement of the" | ||
.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}', | .. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}', | ||
Line 365: | Line 365: | ||
description = 'For pages protected against' | description = 'For pages protected against' | ||
.. ' [[Wikipedia:Vandalism#Page-move vandalism' | .. ' [[Wikipedia:Vandalism#Page-move vandalism' | ||
.. ' |page-move vandalism]] | .. ' |page-move vandalism]]' | ||
} | } | ||
}, | }, |