Anonymous user
Module:Protection banner: Difference between revisions
renumber the cfg.reasons parameters
(missed one) |
(renumber the cfg.reasons parameters) |
||
Line 9:
cfg.reasons = {
-- $1 =
-- $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▼
-- [[Help:Protection|protected]] from editing"
-- $2 = "until" or "or until" depending on the expiry
-- $7 = {{vandal-m|username}} replacement
blp = {
text = '$
.. '[[Wikipedia:Biographies of living persons'
.. "|Wikipedia's policy on the biographies"
.. ' of living people]]',
tooltip = '$
.. ' living people',
categoryOrder = 'reason',
},
dispute = {
text = '$
tooltip = 'due to editing disputes',
dispute = true,
Line 33:
},
office = {
text = 'This $
.. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]'
.. ' and is protected. $
categoryOrder = 'reason',
},
reset = {
text = 'On $
..' "bare bones" version so that it may be completely rewritten to'
.. ' ensure it meets the policies of'
Line 58:
},
sock = {
text = '$
.. ' [[Wikipedia:Blocking policy|blocked]] or'
.. ' [[Wikipedia:List of banned users|banned users]]'
.. ' from editing it',
tooltip = '$
.. ' editing it',
categoryOrder = 'reason',
},
usertalk = {
text = '$
.. ' as abusing the'
.. ' {{[[Template:unblock|unblock]]}} template',
Line 83:
},
vandalism = {
text = '$
tooltip = '$
categoryOrder = 'namespace',
},
|