Misplaced Pages

:High-risk templates: Difference between revisions - Misplaced Pages

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 05:44, 22 May 2008 view sourceVolkovBot (talk | contribs)447,718 editsm robot Adding: fr:Wikipédia:Modèles à haut risque, id:Misplaced Pages:Templat berisiko tinggi, [[ru:Википедия:Правила защиты страниц#.D0.9A.D1.80.D0.B8.D1.82.D0.B8.D1.87.D0.B5.D1.81.D0.BA.D0.B8.D0.B5_.D1.88.D0.B0.D0.← Previous edit Revision as of 06:20, 4 June 2008 view source FayssalF (talk | contribs)Extended confirmed users43,085 edits added new section "HRT and BLP" - please discuss on the talk page or use my talkNext edit →
Line 11: Line 11:
* The template is substituted extremely frequently on an ongoing basis (for example, templates used to warn users about inappropriate editing). * The template is substituted extremely frequently on an ongoing basis (for example, templates used to warn users about inappropriate editing).
There are no fixed criteria, and no fixed number of transclusions, that are used to decide whether a template is high-risk. Each template is considered separately. There are no fixed criteria, and no fixed number of transclusions, that are used to decide whether a template is high-risk. Each template is considered separately.

==High-risk templates and biographies of living people==

Since templates are ] to a set of articles, any change to a template can affect all the related articles instantly. Changes to high-risk templates should be done carefully and sometimes some discussions are needed prior to any change.

In some cases, edits to templates may violate the Misplaced Pages ] (BLP) if there are done harmfully (i.e. vandalism) or unintentionally (i.e. adding contentious material). Administrators would usually semi-protect or fully protect a BLP-related template under their own discretion. They would usually fully protect templates related to high-profile BLPs, considering them thus as high-risk templates, in order to protect Misplaced Pages against violations of the BLP policy. Editors can then make requests to edit the template via the talk page by using the {{tl|Editprotected}} template or requesting a template unprotection at ] when needed. ''See also: ].''


==Rationale== ==Rationale==
Line 24: Line 30:
A side effect of the job queue is that it can take some time for changes to a template to become visible in all pages where the template is used. This can cause confusion among inexperienced users, who believe the template is broken and attempt to fix it instead of waiting for the changes to work through the job queue. Protection of highly-used templates helps to ensure that only editors familiar with the effects of editing templates make the changes. A side effect of the job queue is that it can take some time for changes to a template to become visible in all pages where the template is used. This can cause confusion among inexperienced users, who believe the template is broken and attempt to fix it instead of waiting for the changes to work through the job queue. Protection of highly-used templates helps to ensure that only editors familiar with the effects of editing templates make the changes.


===Relevant discussions=== ==Relevant discussions==


* ] * ]

Revision as of 06:20, 4 June 2008

Blue tickThis page documents an English Misplaced Pages WP:HRT.
Editors should generally follow it, though exceptions may apply. Substantive edits to this page should reflect consensus. When in doubt, discuss first on this guideline's talk page.
This page in a nutshell: High-risk templates may be fully protected. Edits to such templates should be infrequent.

Guideline

Following Misplaced Pages:Protection policy, page protection may be permanently applied to all templates which have been identified by the community as being of high risk to Misplaced Pages. If fully protected, so that they can only be edited by administrators, these templates should be changed only after consensus for the change has been established on the template's talk page. If semiprotected, templates may be edited by any established user, but users should ensure there is consensus for their edits and avoid edit wars on templates.

The most common reasons a template is considered high-risk are:

  • The template is used in a permanently highly visible location, that isn't cascade protected.
  • The template is transcluded into a very large number of pages.
  • The template is substituted extremely frequently on an ongoing basis (for example, templates used to warn users about inappropriate editing).

There are no fixed criteria, and no fixed number of transclusions, that are used to decide whether a template is high-risk. Each template is considered separately.

High-risk templates and biographies of living people

Since templates are transcluded to a set of articles, any change to a template can affect all the related articles instantly. Changes to high-risk templates should be done carefully and sometimes some discussions are needed prior to any change.

In some cases, edits to templates may violate the Misplaced Pages biography of living people policy (BLP) if there are done harmfully (i.e. vandalism) or unintentionally (i.e. adding contentious material). Administrators would usually semi-protect or fully protect a BLP-related template under their own discretion. They would usually fully protect templates related to high-profile BLPs, considering them thus as high-risk templates, in order to protect Misplaced Pages against violations of the BLP policy. Editors can then make requests to edit the template via the talk page by using the {{Editprotected}} template or requesting a template unprotection at Misplaced Pages:Requests for unprotection when needed. See also: Category:Misplaced Pages protected edit requests.

Rationale

There are two reasons high-risk templates are protected: vandalism and server load.

Vandalism — The risk of vandalism to a template transcluded thousands of times is obvious. Although this kind of vandalism is reverted very quickly (often within one minute), it might be seen by thousands of viewers before it is removed. Protection of highly-used templates lowers this risk.

Server load — Whenever a template is edited, the wiki software not only updates the template, but every page that transcludes the template. For example, if template A is transcluded in 1000 articles, then editing A effectively changes all 1000 articles (plus the template). The Mediawiki software has been written to make it impossible to mount a denial-of-service attack in this manner.

Instead of being recompiled instantly, the pages that need to be recompiled are listed in the job queue and are slowly recompiled as other edits are made, spreading out the load. It would be possible to make the job queue extremely large by repeatedly editing a particular highly-used template. This would present only an inconvenience, however, and would not bring down the site.

A side effect of the job queue is that it can take some time for changes to a template to become visible in all pages where the template is used. This can cause confusion among inexperienced users, who believe the template is broken and attempt to fix it instead of waiting for the changes to work through the job queue. Protection of highly-used templates helps to ensure that only editors familiar with the effects of editing templates make the changes.

Relevant discussions

See also

Categories: