Module:Protection banner: Difference between revisions

add some more text and tooltip values
en>Mr. Stradivarius
(make the category name function errors more descriptive)
en>Mr. Stradivarius
(add some more text and tooltip values)
Line 38: Line 38:
-- $2 = "disputes", with or without a section link
-- $2 = "disputes", with or without a section link
blp = {
blp = {
text = 'to promote compliance with'
.. '[[Wikipedia:Biographies of living persons'
.. "|Wikipedia's policy on the biographies"
.. ' of living people]]',
tooltip = 'to promote compliance with the policy on biographies of'
.. ' living people'
},
},
dispute = {
dispute = {
Line 47: Line 53:
},
},
sock = {
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 = {
usertalk = {
Line 52: Line 64:
explanation = 'If you cannot edit this user talk page and you need to'
explanation = 'If you cannot edit this user talk page and you need to'
.. ' make a change or leave a message, you can'
.. ' make a change or leave a message, you can'
.. ' [[Wikipedia:Requests for page protection#'
.. ' [[Wikipedia:Requests for page protection'
.. 'Current requests for edits to a protected page|request an edit]],'
.. '#Current requests for edits to a protected page'
.. ' [[Wikipedia:Requests for page protection#'
.. '|request an edit]],'
.. 'Current requests for reduction in protection level|request unprotection]],'
.. ' [[Wikipedia:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]],'
.. ' [[Special:Userlogin|log in]],'
.. ' [[Special:Userlogin|log in]],'
.. ' or [[Special:UserLogin/signup|create an account]].'
.. ' or [[Special:UserLogin/signup|create an account]].'
Anonymous user