Jump to content

Module:Protection banner/config: Difference between revisions

add a description field to each of the banners for auto-generating some of the documentation
(rm stuff that would only be useful for pp-create and other things unused in favor of salting)
(add a description field to each of the banners for auto-generating some of the documentation)
Line 118: Line 118:
edit = {
edit = {
blp = {
blp = {
description = 'For pages protected to promote compliance with the'
.. ' [[Wikipedia:Biographies of living persons'
.. '|biographies of living persons]] policy.',
text = '${INTROBLURB} to promote compliance with'
text = '${INTROBLURB} to promote compliance with'
.. ' [[Wikipedia:Biographies of living persons'
.. ' [[Wikipedia:Biographies of living persons'
Line 126: Line 129:
},
},
dispute = {
dispute = {
description = 'For pages protected due to editing disputes.',
text = '${DISPUTEBLURB}',
text = '${DISPUTEBLURB}',
explanation = "This protection is '''not''' an endorsement of the"
explanation = "This protection is '''not''' an endorsement of the"
Line 132: Line 136:
},
},
template = {
template = {
description = 'For [[Wikipedia:High-risk templates|high-risk]]'
.. ' 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 148: Line 154:
},
},
office = {
office = {
description = 'For pages protected by the Wikimedia Foundation.',
text = '${OFFICEBLURB}',
text = '${OFFICEBLURB}',
explanation = "If you can edit this page, please discuss all changes and"
explanation = "If you can edit this page, please discuss all changes and"
Line 156: Line 163:
},
},
reset = {
reset = {
description = 'For pages protected by the Wikimedia Foundation and'
.. ' "reset" to a bare-bones version.',
text = '${RESETBLURB}'
text = '${RESETBLURB}'
.. ' Standard Wikipedia policies will apply to its rewriting—which'
.. ' Standard Wikipedia policies will apply to its rewriting—which'
Line 175: Line 184:
},
},
sock = {
sock = {
description = 'For pages protected due to'
.. ' [[Wikipedia:Sock puppetry|sock puppetry]].',
text = '${INTROBLURB} to prevent [[Wikipedia:Sock puppetry|sock puppets]] of'
text = '${INTROBLURB} to prevent [[Wikipedia:Sock puppetry|sock puppets]] of'
.. ' [[Wikipedia:Blocking policy|blocked]] or'
.. ' [[Wikipedia:Blocking policy|blocked]] or'
Line 183: Line 194:
},
},
usertalk = {
usertalk = {
description = 'For pages protected against disruptive edits by a'
.. ' particular user.',
text = '${INTROBLURB} to prevent ${VANDAL} from using it to make disruptive edits,'
text = '${INTROBLURB} to prevent ${VANDAL} from using it to make disruptive edits,'
.. ' such as abusing the'
.. ' such as abusing the'
Line 198: Line 211:
},
},
vandalism = {
vandalism = {
description = 'For pages protected against'
.. ' [[Wikipedia:Vandalism|vandalism]].',
text = '${INTROBLURB} due to [[Wikipedia:Vandalism|vandalism]].',
text = '${INTROBLURB} due to [[Wikipedia:Vandalism|vandalism]].',
tooltip = '${TOOLTIPBLURB} due to vandalism',
tooltip = '${TOOLTIPBLURB} due to vandalism',
Line 204: Line 219:
move = {
move = {
dispute = {
dispute = {
description = 'For pages protected against page moves due to'
.. ' 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 209: Line 226:
},
},
vandalism = {
vandalism = {
description = 'For pages protected against'
.. '[[Wikipedia:Vandalism#Page-move vandalism'
.. ' |page-move vandalism]].'
}
}
},
},
Cookies help us deliver our services. By using our services, you agree to our use of cookies.