Jump to content

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:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


msg['intro-blurb-expiry'] = '${PROTECTIONBLURB} until ${EXPIRY}'
['intro-blurb-expiry'] = '${PROTECTIONBLURB} until ${EXPIRY}',
msg['intro-blurb-noexpiry'] = '${PROTECTIONBLURB}'
['intro-blurb-noexpiry'] = '${PROTECTIONBLURB}',


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Line 516: Line 516:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


msg['tooltip-blurb-expiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL} until ${EXPIRY}'
['tooltip-blurb-expiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL} until ${EXPIRY}',
msg['tooltip-blurb-noexpiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}'
['tooltip-blurb-noexpiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}',


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Line 523: Line 523:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


msg['explanation-blurb-full-subject'] = 'See the [[Wikipedia:Protection policy|'
['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.',


msg['explanation-blurb-full-nounprotect'] = 'See the [[Wikipedia:Protection policy|'
['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]].',


msg['explanation-blurb-move-subject'] = 'See the [[Wikipedia:Protection policy|'
['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.',


msg['explanation-blurb-move-talk'] = 'See the [[Wikipedia:Protection policy|'
['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.',


msg['explanation-blurb-create-xfd'] = 'See the [[Wikipedia:Protection policy|'
['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]].',


msg['explanation-blurb-create-noxfd'] = 'See the [[Wikipedia:Protection policy|'
['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]].'
.. ' [[Wikipedia:Deletion review|deletion review]].',


msg['explanation-blurb-default'] = 'See the [[Wikipedia:Protection policy|'
['explanation-blurb-default'] = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' You may [[Wikipedia:Requests for page'
.. ' You may [[Wikipedia:Requests for page'
Line 586: Line 586:
.. ' edit]] to this page, or [[Wikipedia:Requests for'
.. ' edit]] to this page, or [[Wikipedia:Requests for'
.. ' page protection#Current requests for reduction in protection level'
.. ' page protection#Current requests for reduction in protection level'
.. '|ask]] for it to be unprotected.'
.. '|ask]] for it to be unprotected.',


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Line 592: Line 592:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


msg['dispute-blurb-expiry'] = '${INTROBLURB} or until editing ${DISPUTESECTION}'
['dispute-blurb-expiry'] = '${INTROBLURB} or until editing ${DISPUTESECTION}'
.. ' have been resolved.'
.. ' have been resolved.',


msg['dispute-blurb-noexpiry'] = '${INTROBLURB} until editing ${DISPUTESECTION}'
['dispute-blurb-noexpiry'] = '${INTROBLURB} until editing ${DISPUTESECTION}'
.. ' have been resolved.'
.. ' have been resolved.',


msg['dispute-section-link-display'] = 'disputes'
['dispute-section-link-display'] = 'disputes',


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Line 604: Line 604:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


msg['protection-log-display'] = 'protection log'
['protection-log-display'] = 'protection log',
msg['pc-log-display'] = 'pending changes log'
['pc-log-display'] = 'pending changes log',


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Line 611: Line 611:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


msg['current-version-move-display'] = 'current title'
['current-version-move-display'] = 'current title',
msg['current-version-edit-display'] = 'current version'
['current-version-edit-display'] = 'current version',


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Line 618: Line 618:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


msg['talk-page-link-display'] = 'talk page'
['talk-page-link-display'] = 'talk page',


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Line 624: Line 624:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


msg['edit-request-full-display'] = 'submit a request'
['edit-request-full-display'] = 'submit a request',
msg['edit-request-semi-display'] = 'request an edit'
['edit-request-semi-display'] = 'request an edit',


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Line 631: Line 631:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


msg['deletion-discussion-link-display'] = 'deletion discussion'
['deletion-discussion-link-display'] = 'deletion discussion',


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Line 637: Line 637:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


msg['office-blurb-protectiondate'] = 'This ${PAGETYPE} is currently under the'
['office-blurb-protectiondate'] = 'This ${PAGETYPE} is currently under the'
.. ' scrutiny of the'
.. ' scrutiny of the'
.. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]'
.. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]'
.. ' and is protected. It has been protected since ${PROTECTIONDATE}.'
.. ' and is protected. It has been protected since ${PROTECTIONDATE}.',


msg['office-blurb-noprotectiondate'] = 'This ${PAGETYPE} is currently under the'
['office-blurb-noprotectiondate'] = 'This ${PAGETYPE} is currently under the'
.. ' scrutiny of the'
.. ' scrutiny of the'
.. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]'
.. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]'
.. ' and is protected.'
.. ' and is protected.',


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Line 651: Line 651:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


msg['reset-blurb-protectiondate'] = 'On ${PROTECTIONDATE} this article was'
['reset-blurb-protectiondate'] = 'On ${PROTECTIONDATE} this article was'
.. ' reduced to a simplified, "bare bones" version so that it may be'
.. ' reduced to a simplified, "bare bones" version so that it may be'
.. ' completely rewritten to ensure it meets the policies of'
.. ' completely rewritten to ensure it meets the policies of'
.. ' [[WP:NPOV|Neutral Point of View]] and [[WP:V|Verifiability]].'
.. ' [[WP:NPOV|Neutral Point of View]] and [[WP:V|Verifiability]].',
msg['reset-blurb-noprotectiondate'] = 'This article has been reduced to a'
['reset-blurb-noprotectiondate'] = 'This article has been reduced to a'
.. ' simplified, "bare bones" version so that it may be completely'
.. ' simplified, "bare bones" version so that it may be completely'
.. ' rewritten to ensure it meets the policies of'
.. ' rewritten to ensure it meets the policies of'
.. ' [[WP:NPOV|Neutral Point of View]] and [[WP:V|Verifiability]].'
.. ' [[WP:NPOV|Neutral Point of View]] and [[WP:V|Verifiability]].',


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Line 665: Line 665:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


msg['tracking-category-incorrect'] = 'Wikipedia pages with incorrect protection templates'
['tracking-category-incorrect'] = 'Wikipedia pages with incorrect protection templates',
msg['tracking-category-expiry'] = 'Wikipedia protected pages without expiry'
['tracking-category-expiry'] = 'Wikipedia protected pages without expiry',
msg['tracking-category-create'] = 'Wikipedia pages tagged as create-protected'
['tracking-category-create'] = 'Wikipedia pages tagged as create-protected',
msg['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 676: Line 676:
-- 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.


msg['image-filename-indef'] = 'Padlock-red.svg'
['image-filename-indef'] = 'Padlock-red.svg',
msg['image-filename-default'] = 'Transparent.gif'
['image-filename-default'] = 'Transparent.gif',
 
}


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.