Open main menu

EUSwiki β

Changes

Module:Protection banner/config

176 bytes added, 09:21, 8 August 2014
add tooltip fragment messages and convert existing TOOLTIPBLURB parameters to TOOLTIPFRAGMENT parameters where appropriate
text = '${INTROBLURB}',
explanation = '${EXPLANATIONBLURB}',
tooltip = '${TOOLTIPBLURB}.',
link = '${IMAGELINK}',
alt = 'Page ${PROTECTIONLEVEL}'
.. "|Wikipedia's policy on the biographies"
.. ' of living people]].',
tooltip = '${TOOLTIPBLURBTOOLTIPFRAGMENT} to promote compliance with the policy on'
.. ' biographies of living people',
},
explanation = "This protection is '''not''' an endorsement of the"
.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}',
tooltip = '${TOOLTIPBLURBTOOLTIPFRAGMENT} due to editing disputes',
},
mainpage = {
.. ' [[Wikipedia:List of banned users|banned users]]'
.. ' from editing it.',
tooltip = '${TOOLTIPBLURBTOOLTIPFRAGMENT} to prevent sock puppets of blocked or banned users from'
.. ' editing it',
},
return ret .. '${EXPLANATIONBLURB}'
end,
tooltip = '${TOOLTIPBLURBTOOLTIPFRAGMENT} due to vandalism',
}
},
-- 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}',
--------------------------------------------------------------------------------
Anonymous user