Modul:Protection banner: Unterschied zwischen den Versionen

renumber the cfg.reasons parameters
(missed one)
(renumber the cfg.reasons parameters)
Zeile 9: Zeile 9:


cfg.reasons = {
cfg.reasons = {
-- $1 = "until" or "or until" depending on the expiry
-- $1 = Intro blurb, e.g. "This page is currently
-- $2 = "disputes", with or without a section link
-- $3 = the type of the page, e.g. "article", "template", or "page"
-- $4 = A blurb "it has been protected for x years, x months and x days."
-- $5 = the protection date
-- $6 = Intro blurb, e.g. "This page is currently
--      [[Help:Protection|protected]] from editing"
--      [[Help:Protection|protected]] from editing"
-- $2 = "until" or "or until" depending on the expiry
-- $3 = "disputes", with or without a section link
-- $4 = the type of the page, e.g. "article", "template", or "page"
-- $5 = A blurb "it has been protected for x years, x months and x days."
-- $6 = the protection date
-- $7 = {{vandal-m|username}} replacement
-- $7 = {{vandal-m|username}} replacement
blp = {
blp = {
text = '$6 to promote compliance with'
text = '$1 to promote compliance with'
.. '[[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 = '$6 to promote compliance with the policy on biographies of'
tooltip = '$1 to promote compliance with the policy on biographies of'
.. ' living people',
.. ' living people',
categoryOrder = 'reason',
categoryOrder = 'reason',
},
},
dispute = {
dispute = {
text = '$6 $1 editing $2 have been resolved',
text = '$1 $2 editing $3 have been resolved',
tooltip = 'due to editing disputes',
tooltip = 'due to editing disputes',
dispute = true,
dispute = true,
Zeile 33: Zeile 33:
},
},
office = {
office = {
text = 'This $3 is currently under the scrutiny of the'
text = 'This $4 is currently under the scrutiny of the'
.. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]'
.. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]'
.. ' and is protected. $4',
.. ' and is protected. $5',
categoryOrder = 'reason',
categoryOrder = 'reason',
},
},
reset = {
reset = {
text = 'On $5 this article was reduced to a simplified,'
text = 'On $6 this article was reduced to a simplified,'
..' "bare bones" version so that it may be completely rewritten to'
..' "bare bones" version so that it may be completely rewritten to'
.. ' ensure it meets the policies of'
.. ' ensure it meets the policies of'
Zeile 58: Zeile 58:
},
},
sock = {
sock = {
text = '$6 to prevent [[Wikipedia:Sock puppetry|sock puppets]] of'
text = '$1 to prevent [[Wikipedia:Sock puppetry|sock puppets]] of'
.. ' [[Wikipedia:Blocking policy|blocked]] or'
.. ' [[Wikipedia:Blocking policy|blocked]] or'
.. ' [[Wikipedia:List of banned users|banned users]]'
.. ' [[Wikipedia:List of banned users|banned users]]'
.. ' from editing it',
.. ' from editing it',
tooltip = '$6 to prevent sock puppets of blocked or banned users from'
tooltip = '$1 to prevent sock puppets of blocked or banned users from'
.. ' editing it',
.. ' editing it',
categoryOrder = 'reason',
categoryOrder = 'reason',
},
},
usertalk = {
usertalk = {
text = '$6 to prevent $7 from using it to make disruptive edits, such'
text = '$1 to prevent $7 from using it to make disruptive edits, such'
.. ' as abusing the'
.. ' as abusing the'
.. ' {{[[Template:unblock|unblock]]}} template',
.. ' {{[[Template:unblock|unblock]]}} template',
Zeile 83: Zeile 83:
},
},
vandalism = {
vandalism = {
text = '$6 due to [[Wikipedia:Vandalism|vandalism]]',
text = '$1 due to [[Wikipedia:Vandalism|vandalism]]',
tooltip = '$6 due to vandalism',
tooltip = '$1 due to vandalism',
categoryOrder = 'namespace',
categoryOrder = 'namespace',
},
},
Anonymer Benutzer