Anonymous user
Module:Protection banner/config: Difference between revisions
From Roses, Tulips, & Liberty
various simplifications and formatting
(move template explanation text to a new banner config table) |
(various simplifications and formatting) |
||
Line 21:
-- $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']
-- $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
-- $15 = Edit request link
Line 30 ⟶ 31:
-- $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"
-- $22 = "This protection is '''not''' an endorsement of the current version"
cfg.banners = {
Line 50 ⟶ 52:
cfg.banners.edit.dispute = {
text = '$1 $2 editing $3 have been resolved',
explanation =
tooltip = 'due to editing disputes',
dispute = true,
Line 57 ⟶ 59:
cfg.banners.edit.template = {
text = 'This
explanation = 'Please discuss any changes on the $14; you may $15 to ask an'
.. ' [[Wikipedia:Administrators|administrator]] or'
Line 63 ⟶ 65:
.. ' it is [[Help:Minor edit#When to mark an edit as a minor edit'
.. '|uncontroversial]] or supported by'
.. ' [[Wikipedia:Consensus|consensus]].$16',
tooltip = 'This high-risk $4 is permanently $21 to prevent vandalism',
}
Line 70 ⟶ 74:
.. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]'
.. ' 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',
}
Line 89 ⟶ 97:
.. ' without approval from someone from the [[WP:OFFICE|Office]].'
.. " 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',
categoryReason = 'office',
Line 137 ⟶ 149:
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 = {
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 ⟶ 283:
-- Parameters are the same as for the banner table.
▲msg['icon-text-pc1'] = 'All edits by unregistered and new users are subject to review'
▲msg['icon-text-pc2'] = 'All edits by users who are not reviewers or administrators are subject to review'
msg['icon-text-default'] = 'This $4 is $8$9$10'
Line 266 ⟶ 289:
--------------------------------------------------------------------------------
▲msg['alt-text-template'] = 'Permanently protected $4'
▲msg['alt-text-pc1'] = 'Page protected with pending changes level 1'
▲msg['alt-text-pc2'] = 'Page protected with pending changes level 2'
msg['alt-text-semi'] = 'Page semi-protected'
msg['alt-text-move'] = 'Page move-protected'
msg['alt-text-create'] = 'Page creation-protected'
msg['alt-text-default'] = 'Page protected'
Line 280 ⟶ 298:
--------------------------------------------------------------------------------
msg['reason-text-
msg['reason-text-
msg['reason-text-
msg['reason-text-
.. 'protected]] from editing'
--------------------------------------------------------------------------------
Line 297 ⟶ 315:
msg['dispute-edit-link-display'] = 'current version'
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-protection-log-display'] = 'protection log'
Line 305 ⟶ 324:
msg['edit-request-semi-display'] = 'request an edit'
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['deletion-log-link-display'] = 'deletion log'
msg['explanation-text-semi'] = 'If you cannot edit this $4 and you wish to make'
.. ' requests for reduction in protection level|request unprotection]],'
.. ' [[Special:Userlogin|log in]], or [[Special:UserLogin/signup|'
.. 'create an account]].'
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'
--------------------------------------------------------------------------------
|