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]].' | .. ' [[Wikipedia:Deletion review|deletion review]].', | ||
['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: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
['dispute-blurb-expiry'] = '${INTROBLURB} or until editing ${DISPUTESECTION}' | |||
.. ' have been resolved.' | .. ' have been resolved.', | ||
['dispute-blurb-noexpiry'] = '${INTROBLURB} until editing ${DISPUTESECTION}' | |||
.. ' have been resolved.' | .. ' have been resolved.', | ||
['dispute-section-link-display'] = 'disputes', | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
Line 604: | Line 604: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
['protection-log-display'] = 'protection log', | |||
['pc-log-display'] = 'pending changes log', | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
Line 611: | Line 611: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
['current-version-move-display'] = 'current title', | |||
['current-version-edit-display'] = 'current version', | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
Line 618: | Line 618: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
['talk-page-link-display'] = 'talk page', | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
Line 624: | Line 624: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
['edit-request-full-display'] = 'submit a request', | |||
['edit-request-semi-display'] = 'request an edit', | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
Line 631: | Line 631: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
['deletion-discussion-link-display'] = 'deletion discussion', | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
Line 637: | Line 637: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
['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}.', | ||
['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: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
['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]].', | ||
['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: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
['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 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. | ||
['image-filename-indef'] = 'Padlock-red.svg', | |||
['image-filename-default'] = 'Transparent.gif', | |||
} | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |