Zum Inhalt springen

Modul:Protection banner/config: Unterschied zwischen den Versionen

add comments to the messages, fix one wrong message name, and remove another that wasn't being used
(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)
Zeile 854: Zeile 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}.',
Zeile 863: Zeile 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}',
Zeile 870: Zeile 879:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


-- An explanation blurb for pages in the MediaWiki namespace.
-- An explanation blurb for pages that cannot be unprotected, e.g. for pages
['explanation-blurb-mediawiki'] = 'See the [[Wikipedia:Protection policy|'
-- in the MediaWiki namespace.
-- It is possible to use banner parameters in this message.
['explanation-blurb-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'
Zeile 881: Zeile 892:


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Protection log links
-- 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 messages
-- 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',
Zeile 898: Zeile 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',


Zeile 904: Zeile 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',


Zeile 918: Zeile 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',


Zeile 928: Zeile 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',
Zeile 936: Zeile 958:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


-- $1 is replaced with the error message text. The whole message is turned into
-- This is the blurb that is outputted with error messages produced by the
-- a large red error message, so there is no need to add HTML styling.
-- module. $1 is replaced with the error message text. The whole message is
-- 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]])'


Anonymer Benutzer