Module:Protection banner/config: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
(finish adding comments for all the general data tables) |
(add comments to the messages, fix one wrong message name, and remove another that wasn't being used) |
||
Line 854: | Line 854: | ||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
||
-- These messages specify what is produced by the ${INTROBLURB} and |
|||
-- ${INTROFRAGMENT} parameters. If the protection is temporary they use the |
|||
-- intro-blurb-expiry or intro-fragment-expiry, and if not they use |
|||
-- intro-blurb-noexpiry or intro-fragment-noexpiry. |
|||
-- It is possible to use banner parameters in these messages. |
|||
['intro-blurb-expiry'] = '${PROTECTIONBLURB} until ${EXPIRY}.', |
['intro-blurb-expiry'] = '${PROTECTIONBLURB} until ${EXPIRY}.', |
||
['intro-blurb-noexpiry'] = '${PROTECTIONBLURB}.', |
['intro-blurb-noexpiry'] = '${PROTECTIONBLURB}.', |
||
Line 863: | Line 868: | ||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
||
-- These messages specify what is produced by the ${TOOLTIPBLURB} parameter. |
|||
-- If the protection is temporary the tooltip-blurb-expiry message is used, and |
|||
-- 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-expiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL} until ${EXPIRY}', |
||
['tooltip-blurb-noexpiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}', |
['tooltip-blurb-noexpiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}', |
||
Line 870: | Line 879: | ||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
||
-- An explanation blurb for pages |
-- An explanation blurb for pages that cannot be unprotected, e.g. for pages |
||
-- in the MediaWiki namespace. |
|||
⚫ | |||
-- It is possible to use banner parameters in this message. |
|||
⚫ | |||
.. '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 881: | Line 892: | ||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
||
-- Protection log |
-- Protection log display values |
||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
||
-- These messages determine the display values for the protection log link |
|||
-- or the pending changes log link produced by the ${PROTECTIONLOG} parameter. |
|||
-- It is possible to use banner parameters in these messages. |
|||
['protection-log-display'] = 'protection log', |
['protection-log-display'] = 'protection log', |
||
['pc-log-display'] = 'pending changes log', |
['pc-log-display'] = 'pending changes log', |
||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
||
-- Current version |
-- Current version display values |
||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
||
-- These messages determine the display values for the page history link |
|||
-- or the move log link produced by the ${CURRENTVERSION} parameter. |
|||
-- It is possible to use banner parameters in these messages. |
|||
['current-version-move-display'] = 'current title', |
['current-version-move-display'] = 'current title', |
||
['current-version-edit-display'] = 'current version', |
['current-version-edit-display'] = 'current version', |
||
Line 898: | Line 915: | ||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
||
-- This message determines the display value of the talk page link produced |
|||
-- with the ${TALKPAGE} parameter. |
|||
-- It is possible to use banner parameters in this message. |
|||
['talk-page-link-display'] = 'talk page', |
['talk-page-link-display'] = 'talk page', |
||
Line 904: | Line 924: | ||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
||
-- This message determines the display value of the edit request link produced |
|||
-- with the ${EDITREQUEST} parameter. |
|||
-- It is possible to use banner parameters in this message. |
|||
['edit-request-display'] = 'submit an edit request', |
['edit-request-display'] = 'submit an edit request', |
||
Line 918: | Line 941: | ||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
||
-- These messages determine which tracking categories the module outputs. |
|||
['tracking-category-incorrect'] = 'Wikipedia pages with incorrect protection templates', |
['tracking-category-incorrect'] = 'Wikipedia pages with incorrect protection templates', |
||
['tracking-category-expiry'] = 'Wikipedia protected pages without expiry', |
['tracking-category-expiry'] = 'Wikipedia protected pages without expiry', |
||
['tracking-category-create'] = 'Wikipedia pages tagged as create-protected', |
|||
['tracking-category-template'] = 'Wikipedia template-protected pages other than templates and modules', |
['tracking-category-template'] = 'Wikipedia template-protected pages other than templates and modules', |
||
Line 928: | Line 951: | ||
-- These are images that are not defined by their protection action and protection level. |
-- These are images that are not defined by their protection action and protection level. |
||
['image-filename-indef'] = 'Padlock-red.svg', |
['image-filename-indef'] = 'Padlock-red.svg', |
||
['image-filename-default'] = 'Transparent.gif', |
['image-filename-default'] = 'Transparent.gif', |
||
Line 936: | Line 958: | ||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
||
-- This is the blurb that is outputted with error messages produced by the |
|||
-- $1 is replaced with the error message text. The whole message is |
-- module. $1 is replaced with the error message text. The whole message is |
||
-- a large red error message, so there is no need to add HTML |
-- turned into a large red error message, so there is no need to add HTML |
||
-- styling. |
|||
['error-message-blurb'] = 'Error: $1 ([[Module:Protection banner#Errors|help]])' |
['error-message-blurb'] = 'Error: $1 ([[Module:Protection banner#Errors|help]])' |
||