Anonymous

Module:Protection banner/config: Difference between revisions

From Roses, Tulips, & Liberty
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)
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-noexpiry'] = '${PROTECTIONBLURB}.',
Line 863 ⟶ 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-noexpiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}',
Line 870 ⟶ 879:
--------------------------------------------------------------------------------
 
-- An explanation blurb for pages inthat thecannot MediaWikibe namespaceunprotected, e.g. for pages
-- in the MediaWiki namespace.
['explanation-blurb-mediawiki'] = 'See the [[Wikipedia:Protection policy|'
-- It is possible to use banner parameters in this message.
['explanation-blurb-mediawikinounprotect'] = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Please discuss any changes on the ${TALKPAGE}; you'
Line 881 ⟶ 892:
 
--------------------------------------------------------------------------------
-- Protection log linksdisplay 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',
['pc-log-display'] = 'pending changes log',
 
--------------------------------------------------------------------------------
-- Current version messagesdisplay 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-edit-display'] = 'current version',
Line 898 ⟶ 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',
 
Line 904 ⟶ 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',
 
Line 918 ⟶ 941:
--------------------------------------------------------------------------------
 
-- These messages determine which tracking categories the module outputs.
['tracking-category-incorrect'] = 'Wikipedia pages with incorrect protection templates',
['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',
 
Line 928 ⟶ 951:
 
-- These are images that are not defined by their protection action and protection level.
 
['image-filename-indef'] = 'Padlock-red.svg',
['image-filename-default'] = 'Transparent.gif',
Line 936 ⟶ 958:
--------------------------------------------------------------------------------
 
-- This is the blurb that is outputted with error messages produced by the
-- module. $1 is replaced with the error message text. The whole message is turned into
-- turned into a large red error message, so there is no need to add HTML styling.
-- styling.
['error-message-blurb'] = 'Error: $1 ([[Module:Protection banner#Errors|help]])'
 
Cookies help us deliver our services. By using our services, you agree to our use of cookies.