వికీపీడియా:High-risk templates

వికీపీడియా నుండి
Jump to navigation Jump to search

Following Wikipedia:Protection policy, page protection may be indefinitely applied to all templates and template redirects that have been identified by the community as being of high risk to Wikipedia. If fully protected, so that they can only be edited by administrators, or template-protected, so that they can only be edited by administrators and template editors, these templates should be changed only after consensus for the change has been established on the template's talk page. If semi-protected, 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, and it 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. If a template relates to a biography of a living person that would strengthen any arguments in favor of (preemptive) protection of the template.

The risk of vandalism is increased for a template that is transcluded many times or is shown on high-visibility pages. The fact that numerous readers would see an edit to these templates provides an incentive to vandalize them and also magnifies the damage done by such an act.

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 lowers this risk. Because experience has shown that vandalism to templates is often performed from multiple autoconfirmed accounts, full protection may be required to prevent abusive editing.

Documentation and padlock

[మార్చు]

Semi and fully protected templates should normally have the {{Documentation}} template. It loads the unprotected /doc page, so that non-admins and IP-users can edit the documentation, categories and interwiki links. It also automatically adds {{pp-template}} to protected templates, which displays a small padlock in the top right corner and categorizes the template as a protected template. Only manually add {{pp-template}} to protected templates that don't use {{Documentation}} (mostly the stub templates).

The bottom of protected templates should usually look like this:

<!--Last line of the template code--><noinclude>

{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>

Relevant discussions

[మార్చు]