Module:Protection banner: Difference between revisions

add some more text and tooltip values
Enwikipedia>Mr. Stradivarius
(make the category name function errors more descriptive)
Enwikipedia>Mr. Stradivarius
(add some more text and tooltip values)
Line 38:
-- $2 = "disputes", with or without a section link
blp = {
text = 'to promote compliance with'
.. ' [[Wikipedia:RequestsBiographies forof pageliving protection#persons'
.. "|Wikipedia's policy on the biographies"
.. ' of living people]]',
tooltip = 'to promote compliance with the policy on biographies of'
.. ' living people'
},
dispute = {
Line 47 ⟶ 53:
},
sock = {
text = 'to prevent [[Wikipedia:Sock puppetry|sock puppets]] of'
.. ' [[Wikipedia:Blocking policy|blocked]] or'
.. ' [[Wikipedia:List of banned users|banned users]]'
.. ' from editing it',
tooltip = 'to prevent sock puppets of blocked or banned users from'
.. ' editing it'
},
usertalk = {
Line 52 ⟶ 64:
explanation = 'If you cannot edit this user talk page and you need to'
.. ' make a change or leave a message, you can'
.. ' [[Wikipedia:Requests for page protection#'
.. '#Current requests for edits to a protected page|request an edit]],'
.. '|request an edit]],'
.. ' [[Wikipedia:Requests for page protection#'
.. 'Current requests[[Wikipedia:Requests for reduction inpage protection level|request unprotection]],'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]],'
.. ' [[Special:Userlogin|log in]],'
.. ' or [[Special:UserLogin/signup|create an account]].'