Module:Protection banner/config: Difference between revisions
Content added Content deleted
Enwikipedia>Mr. Stradivarius (move template explanation text to a new banner config table) |
Enwikipedia>Mr. Stradivarius (various simplifications and formatting) |
||
Line 21: | Line 21: | ||
-- $11 = A link to the page history, with display msg['dispute-edit-link-display'] |
-- $11 = A link to the page history, with display msg['dispute-edit-link-display'] |
||
-- $12 = A link to the move log, with display msg['dispute-move-link-display'] |
-- $12 = A link to the move log, with display msg['dispute-move-link-display'] |
||
-- $13 = A link to the protection log or the pending changes log, with display |
-- $13 = A link to the protection log or the pending changes log, with display |
||
-- msg['more-details-protection-log-display'] or msg['more-details-pc-log-display'] |
|||
-- $14 = Talk page link |
-- $14 = Talk page link |
||
-- $15 = Edit request link |
-- $15 = Edit request link |
||
Line 30: | Line 31: | ||
-- $20 = {{#ifeq:{{NAMESPACE}}|{{ns:6}}|image, included in a high-risk template or message,|high-risk {{pp-meta/pagetype}} }} |
-- $20 = {{#ifeq:{{NAMESPACE}}|{{ns:6}}|image, included in a high-risk template or message,|high-risk {{pp-meta/pagetype}} }} |
||
-- $21 = "semi-protected from editing", "protected from editing" or "move-protected" |
-- $21 = "semi-protected from editing", "protected from editing" or "move-protected" |
||
-- $22 = "This protection is '''not''' an endorsement of the current version" |
|||
cfg.banners = { |
cfg.banners = { |
||
Line 50: | Line 52: | ||
cfg.banners.edit.dispute = { |
cfg.banners.edit.dispute = { |
||
text = '$1 $2 editing $3 have been resolved', |
text = '$1 $2 editing $3 have been resolved', |
||
explanation = |
explanation = '$22', |
||
tooltip = 'due to editing disputes', |
tooltip = 'due to editing disputes', |
||
dispute = true, |
dispute = true, |
||
Line 57: | Line 59: | ||
cfg.banners.edit.template = { |
cfg.banners.edit.template = { |
||
text = 'This |
text = 'This is a permanently [[Help:Protection|protected]] $4, as it is [[Wikipedia:High-risk templates|high-risk]]$9', |
||
explanation = 'Please discuss any changes on the $14; you may $15 to ask an' |
explanation = 'Please discuss any changes on the $14; you may $15 to ask an' |
||
.. ' [[Wikipedia:Administrators|administrator]] or' |
.. ' [[Wikipedia:Administrators|administrator]] or' |
||
Line 63: | Line 65: | ||
.. ' it is [[Help:Minor edit#When to mark an edit as a minor edit' |
.. ' it is [[Help:Minor edit#When to mark an edit as a minor edit' |
||
.. '|uncontroversial]] or supported by' |
.. '|uncontroversial]] or supported by' |
||
.. ' [[Wikipedia:Consensus|consensus]].$16' |
.. ' [[Wikipedia:Consensus|consensus]].$16', |
||
tooltip = 'This high-risk $4 is permanently $21 to prevent vandalism', |
|||
⚫ | |||
} |
} |
||
Line 70: | Line 74: | ||
.. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]' |
.. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]' |
||
.. ' and is protected. $5', |
.. ' and is protected. $5', |
||
explanation = "If you can edit this page, please discuss all changes and" |
|||
.. " additions on the $14 first. '''Do not remove protection from this" |
|||
.. " page unless you are authorized by the Wikimedia Foundation to do" |
|||
.. " so.'''", |
|||
categoryOrder = 'reason', |
categoryOrder = 'reason', |
||
} |
} |
||
Line 89: | Line 97: | ||
.. ' without approval from someone from the [[WP:OFFICE|Office]].' |
.. ' without approval from someone from the [[WP:OFFICE|Office]].' |
||
.. " No editor may remove this notice.'''", |
.. " No editor may remove this notice.'''", |
||
explanation = "If you can edit this page, please discuss all changes and" |
|||
.. " additions on the $14 first. '''Do not remove protection from this" |
|||
.. " page unless you are authorized by the Wikimedia Foundation to do" |
|||
.. " so.'''", |
|||
categoryOrder = 'reason', |
categoryOrder = 'reason', |
||
categoryReason = 'office', |
categoryReason = 'office', |
||
Line 137: | Line 149: | ||
cfg.banners.autoreview.pc1 = { |
cfg.banners.autoreview.pc1 = { |
||
text = 'All edits made to this $4 by' |
|||
.. ' [[Wikipedia:User access levels#New users|new]] or' |
|||
.. ' [[Wikipedia:User access levels#Unregistered users|unregistered]]' |
|||
.. ' users are currently' |
|||
.. ' [[Wikipedia:Pending changes|subject to review]]$9', |
|||
⚫ | |||
⚫ | |||
} |
} |
||
cfg.banners.autoreview.pc2 = { |
cfg.banners.autoreview.pc2 = { |
||
text = 'All edits made to this $4 by users who are not' |
|||
.. ' [[Wikipedia:Reviewing|reviewers]] or' |
|||
.. ' [[Wikipedia:Administrators|administrators]] are currently' |
|||
.. ' [[Wikipedia:Pending changes|subject to review]]$9', |
|||
⚫ | |||
⚫ | |||
.. ' subject to review' |
|||
} |
} |
||
Line 257: | Line 283: | ||
-- Parameters are the same as for the banner table. |
-- Parameters are the same as for the banner table. |
||
⚫ | |||
⚫ | |||
msg['icon-text-template'] = 'This is a permanently protected $4' |
|||
msg['icon-text-default'] = 'This $4 is $8$9$10' |
msg['icon-text-default'] = 'This $4 is $8$9$10' |
||
Line 266: | Line 289: | ||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
||
⚫ | |||
⚫ | |||
⚫ | |||
msg['alt-text-semi'] = 'Page semi-protected' |
msg['alt-text-semi'] = 'Page semi-protected' |
||
msg['alt-text-move'] = 'Page move-protected' |
msg['alt-text-move'] = 'Page move-protected' |
||
msg['alt-text-indef'] = 'Page permanently protected' |
|||
msg['alt-text-create'] = 'Page creation-protected' |
msg['alt-text-create'] = 'Page creation-protected' |
||
msg['alt-text-office'] = '' |
|||
msg['alt-text-default'] = 'Page protected' |
msg['alt-text-default'] = 'Page protected' |
||
Line 280: | Line 298: | ||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
||
msg['reason-text- |
msg['reason-text-semi'] = 'Editing of this $4 by [[Wikipedia:User access' |
||
.. ' levels#New users|new]] or [[Wikipedia:User access levels#Unregistered' |
|||
.. ' users|unregistered]] users is currently [[Help:Protection|disabled]]$9' |
|||
msg['reason-text- |
msg['reason-text-move'] = 'This $4 is currently [[Help:Protection|protected]]' |
||
.. ' from [[Help:Moving a page|page moves]]$9' |
|||
msg['reason-text- |
msg['reason-text-create'] = '[[Help:Starting a new page|Recreation]] of this $4' |
||
.. ' [[Help:Protection|has been disabled]]$9' |
|||
msg['reason-text- |
msg['reason-text-default'] = 'This $4 is currently [[Help:Protection|' |
||
.. 'protected]] from editing' |
|||
msg['reason-text-create'] = '[[Help:Starting a new page|Recreation]] of this $4 [[Help:Protection|has been disabled]]$9' |
|||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
||
Line 297: | Line 315: | ||
msg['dispute-edit-link-display'] = 'current version' |
msg['dispute-edit-link-display'] = 'current version' |
||
msg['more-details'] = 'See the [[Wikipedia:Protection policy| |
msg['more-details'] = 'See the [[Wikipedia:Protection policy|' |
||
.. 'protection policy]] and $13 for more details.' |
|||
msg['more-details-pc-log-display'] = 'pending changes log' |
msg['more-details-pc-log-display'] = 'pending changes log' |
||
msg['more-details-protection-log-display'] = 'protection log' |
msg['more-details-protection-log-display'] = 'protection log' |
||
Line 305: | Line 324: | ||
msg['edit-request-semi-display'] = 'request an edit' |
msg['edit-request-semi-display'] = 'request an edit' |
||
msg['request-unprotection-blurb'] = ' You may also [[Wikipedia:Requests for |
msg['request-unprotection-blurb'] = ' You may also [[Wikipedia:Requests for' |
||
.. ' page protection#Current requests for reduction in protection level' |
|||
.. '|request]] that this page be unprotected.' |
|||
msg['semi-subject-page-links'] = ' $15, discuss changes on the $14,' |
msg['semi-subject-page-links'] = ' $15, discuss changes on the $14,' |
||
msg['deletion-log-link-display'] = 'deletion log' |
msg['deletion-log-link-display'] = 'deletion log' |
||
msg['explanation-text-semi'] = 'If you cannot edit this $4 and you wish to make' |
|||
msg['explanation-text-full'] = 'Please discuss any changes on the $14; you may $15 to ask an [[Wikipedia:Administrators|administrator]] to make an edit if it is [[Help:Minor edit#When to mark an edit as a minor edit|uncontroversial]] or supported by [[Wikipedia:Consensus|consensus]].$16' |
|||
.. ' a change, you can$17 [[Wikipedia:Requests for page protection#Current' |
|||
.. ' requests for reduction in protection level|request unprotection]],' |
|||
msg['explanation-text-move'] = 'The page may still be edited but cannot be moved until unprotected. Please discuss any suggested moves on the $14 or at [[Wikipedia:Requested moves]]. You can also [[Wikipedia:Requests for page protection|request]] that the page be unprotected.' |
|||
.. ' [[Special:Userlogin|log in]], or [[Special:UserLogin/signup|' |
|||
msg['explanation-text-office'] = "If you can edit this page, please discuss all changes and additions on the $14 first. '''Do not remove protection from this page unless you are authorized by the Wikimedia Foundation to do so.'''" |
|||
.. 'create an account]].' |
|||
msg['explanation-text-create'] = 'Please see the$18 $19 for details of why this page was deleted. If you would like to create a page at this title, you must first [[Wikipedia:Requests for page protection|request]] for it to be unprotected, or contact the administrator who deleted the page for the deleted material to be restored. If unsuccessful, you can use [[Wikipedia:Deletion review|deletion review]].' |
|||
msg['explanation-text-move'] = 'The page may still be edited but cannot be moved' |
|||
.. ' until unprotected. Please discuss any suggested moves on the $14 or at' |
|||
.. ' [[Wikipedia:Requested moves]]. You can also [[Wikipedia:Requests for' |
|||
.. ' page protection|request]] that the page be unprotected.' |
|||
msg['explanation-text-create'] = 'Please see the$18 $19 for details of why this' |
|||
.. ' page was deleted. If you would like to create a page at this title,' |
|||
.. ' you must first [[Wikipedia:Requests for page protection|request]] for' |
|||
.. ' it to be unprotected, or contact the administrator who deleted the' |
|||
.. ' page for the deleted material to be restored. If unsuccessful, you can' |
|||
.. ' use [[Wikipedia:Deletion review|deletion review]].' |
|||
msg['explanation-text-default'] = 'Please discuss any changes on the $14; you' |
|||
.. ' may $15 to ask an [[Wikipedia:Administrators|administrator]] to make' |
|||
.. ' an edit if it is [[Help:Minor edit#When to mark an edit as a minor' |
|||
.. ' edit|uncontroversial]] or supported by [[Wikipedia:Consensus|' |
|||
.. 'consensus]].$16' |
|||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |