Anonymous user
Module:Protection banner/config: Difference between revisions
add tooltip fragment messages and convert existing TOOLTIPBLURB parameters to TOOLTIPFRAGMENT parameters where appropriate
(set the expiry display to "F j, Y", as that's what Template:Pp-meta does) |
(add tooltip fragment messages and convert existing TOOLTIPBLURB parameters to TOOLTIPFRAGMENT parameters where appropriate) |
||
Line 125:
text = '${INTROBLURB}',
explanation = '${EXPLANATIONBLURB}',
tooltip = '${TOOLTIPBLURB}
link = '${IMAGELINK}',
alt = 'Page ${PROTECTIONLEVEL}'
Line 169:
.. "|Wikipedia's policy on the biographies"
.. ' of living people]].',
tooltip = '${
.. ' biographies of living people',
},
Line 223:
explanation = "This protection is '''not''' an endorsement of the"
.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}',
tooltip = '${
},
mainpage = {
Line 300:
.. ' [[Wikipedia:List of banned users|banned users]]'
.. ' from editing it.',
tooltip = '${
.. ' editing it',
},
Line 350:
return ret .. '${EXPLANATIONBLURB}'
end,
tooltip = '${
}
},
Line 872:
-- if not the tooltip-blurb-noexpiry message is used.
-- It is possible to use banner parameters in these messages.
['tooltip-blurb-expiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL} until ${EXPIRY}.',
['tooltip-blurb-noexpiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}.',
['tooltip-fragment-expiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL} until ${EXPIRY},',
['tooltip-fragment-noexpiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}',
--------------------------------------------------------------------------------
|