Module:Protection banner/config: Difference between revisions
construct msg all at once
(add image link config) |
(construct msg all at once) |
||
| Line 503: | Line 503: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
local msg = { | local msg = { | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| Line 509: | Line 509: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
['intro-blurb-expiry'] = '${PROTECTIONBLURB} until ${EXPIRY}', | |||
['intro-blurb-noexpiry'] = '${PROTECTIONBLURB}', | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| Line 516: | Line 516: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
['tooltip-blurb-expiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL} until ${EXPIRY}', | |||
['tooltip-blurb-noexpiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}', | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| Line 523: | Line 523: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
['explanation-blurb-full-subject'] = 'See the [[Wikipedia:Protection policy|' | |||
.. 'protection policy]] and ${PROTECTIONLOG} for more details.' | .. 'protection policy]] and ${PROTECTIONLOG} for more details.' | ||
.. ' Please discuss any changes on the ${TALKPAGE}; you' | .. ' Please discuss any changes on the ${TALKPAGE}; you' | ||
| Line 532: | Line 532: | ||
.. '|consensus]]. You may also [[Wikipedia:Requests for' | .. '|consensus]]. You may also [[Wikipedia:Requests for' | ||
.. ' page protection#Current requests for reduction in protection level' | .. ' page protection#Current requests for reduction in protection level' | ||
.. '|request]] that this page be unprotected.' | .. '|request]] that this page be unprotected.', | ||
['explanation-blurb-full-nounprotect'] = 'See the [[Wikipedia:Protection policy|' | |||
.. 'protection policy]] and ${PROTECTIONLOG} for more details.' | .. 'protection policy]] and ${PROTECTIONLOG} for more details.' | ||
.. ' Please discuss any changes on the ${TALKPAGE}; you' | .. ' Please discuss any changes on the ${TALKPAGE}; you' | ||
| Line 541: | Line 541: | ||
.. ' is [[Help:Minor edit#When to mark an edit as a minor edit' | .. ' is [[Help:Minor edit#When to mark an edit as a minor edit' | ||
.. '|uncontroversial]] or supported by [[Wikipedia:Consensus' | .. '|uncontroversial]] or supported by [[Wikipedia:Consensus' | ||
.. '|consensus]].' | .. '|consensus]].', | ||
['explanation-blurb-move-subject'] = 'See the [[Wikipedia:Protection policy|' | |||
.. 'protection policy]] and ${PROTECTIONLOG} for more details.' | .. 'protection policy]] and ${PROTECTIONLOG} for more details.' | ||
.. ' The page may still be edited but cannot be moved' | .. ' The page may still be edited but cannot be moved' | ||
| Line 549: | Line 549: | ||
.. ' ${TALKPAGE} or at [[Wikipedia:Requested moves]]. You can also' | .. ' ${TALKPAGE} or at [[Wikipedia:Requested moves]]. You can also' | ||
.. ' [[Wikipedia:Requests for page protection|request]] that the page be' | .. ' [[Wikipedia:Requests for page protection|request]] that the page be' | ||
.. ' unprotected.' | .. ' unprotected.', | ||
['explanation-blurb-move-talk'] = 'See the [[Wikipedia:Protection policy|' | |||
.. 'protection policy]] and ${PROTECTIONLOG} for more details.' | .. 'protection policy]] and ${PROTECTIONLOG} for more details.' | ||
.. ' The page may still be edited but cannot be moved' | .. ' The page may still be edited but cannot be moved' | ||
| Line 557: | Line 557: | ||
.. ' [[Wikipedia:Requested moves]]. You can also' | .. ' [[Wikipedia:Requested moves]]. You can also' | ||
.. ' [[Wikipedia:Requests for page protection|request]] that the page be' | .. ' [[Wikipedia:Requests for page protection|request]] that the page be' | ||
.. ' unprotected.' | .. ' unprotected.', | ||
['explanation-blurb-create-xfd'] = 'See the [[Wikipedia:Protection policy|' | |||
.. 'protection policy]] and ${PROTECTIONLOG} for more details.' | .. 'protection policy]] and ${PROTECTIONLOG} for more details.' | ||
.. ' Please see the ${DELETIONDISCUSSION}' | .. ' Please see the ${DELETIONDISCUSSION}' | ||
| Line 568: | Line 568: | ||
.. ' unprotected, or contact the administrator who deleted the page for the' | .. ' unprotected, or contact the administrator who deleted the page for the' | ||
.. ' deleted material to be restored. If unsuccessful, you can use' | .. ' deleted material to be restored. If unsuccessful, you can use' | ||
.. ' [[Wikipedia:Deletion review|deletion review]].' | .. ' [[Wikipedia:Deletion review|deletion review]].', | ||
['explanation-blurb-create-noxfd'] = 'See the [[Wikipedia:Protection policy|' | |||
.. 'protection policy]] and ${PROTECTIONLOG} for more details.' | .. 'protection policy]] and ${PROTECTIONLOG} for more details.' | ||
.. ' Please see the ${PROTECTIONLOG}' | .. ' Please see the ${PROTECTIONLOG}' | ||
| Line 578: | Line 578: | ||
.. ' unprotected, or contact the administrator who deleted the page for the' | .. ' unprotected, or contact the administrator who deleted the page for the' | ||
.. ' deleted material to be restored. If unsuccessful, you can use' | .. ' deleted material to be restored. If unsuccessful, you can use' | ||
.. ' [[Wikipedia:Deletion review|deletion review]].' | |||