Open main menu

Changes

Module:Protection banner

321 bytes added, 05:57, 27 May 2014
add some more variables to the reasons text
-- $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"
-- $7 = {{vandal-m|username}} replacement
blp = {
text = '$6 to promote compliance with'
.. '[[Wikipedia:Biographies of living persons'
.. "|Wikipedia's policy on the biographies"
.. ' of living people]]',
tooltip = '$6 to promote compliance with the policy on biographies of'
.. ' living people',
categoryOrder = 'reason',
},
dispute = {
text = '$6 $1 editing $2 have been resolved',
tooltip = 'due to editing disputes',
dispute = true,
},
sock = {
text = '$6 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 to prevent sock puppets of blocked or banned users from'
.. ' editing it',
categoryOrder = 'reason',
},
usertalk = {
text = '$6 to prevent $7 from using it to make disruptive edits, such' .. ' as abusing the' .. ' {{[[Template:unblock|unblock]]}} template',
explanation = 'If you cannot edit this user talk page and you need to'
.. ' make a change or leave a message, you can'
},
vandalism = {
text = '$6 due to [[Wikipedia:Vandalism|vandalism]]',
tooltip = 'due to vandalism',
categoryOrder = 'namespace',
Anonymous user