Changes
renumber the cfg.reasons parameters
cfg.reasons = {
-- $1 = "until" or "or until" depending on the expiry -- $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"
-- $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
blp = {
text = '$6 1 to promote compliance with'
.. '[[Wikipedia:Biographies of living persons'
.. "|Wikipedia's policy on the biographies"
.. ' of living people]]',
tooltip = '$6 1 to promote compliance with the policy on biographies of'
.. ' living people',
categoryOrder = 'reason',
},
dispute = {
text = '$6 1 $1 2 editing $2 3 have been resolved',
tooltip = 'due to editing disputes',
dispute = true,
},
office = {
text = 'This $3 4 is currently under the scrutiny of the'
.. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]'
.. ' and is protected. $45',
categoryOrder = 'reason',
},
reset = {
text = 'On $5 6 this article was reduced to a simplified,'
..' "bare bones" version so that it may be completely rewritten to'
.. ' ensure it meets the policies of'
},
sock = {
text = '$6 1 to prevent [[Wikipedia:Sock puppetry|sock puppets]] of'
.. ' [[Wikipedia:Blocking policy|blocked]] or'
.. ' [[Wikipedia:List of banned users|banned users]]'
.. ' from editing it',
tooltip = '$6 1 to prevent sock puppets of blocked or banned users from'
.. ' editing it',
categoryOrder = 'reason',
},
usertalk = {
text = '$6 1 to prevent $7 from using it to make disruptive edits, such'
.. ' as abusing the'
.. ' {{[[Template:unblock|unblock]]}} template',
},
vandalism = {
text = '$6 1 due to [[Wikipedia:Vandalism|vandalism]]', tooltip = '$6 1 due to vandalism',
categoryOrder = 'namespace',
},