Wikipédia:Modèles à haut risque

Un article de Wikipédia, l'encyclopédie libre.


Sommaire

[modifier] Instructions

Cette page est liée à Wikipédia:Demande de protection de page.

La protection de page doit être appliquée à tout Modèle identifié par la communauté comme étant à haut risque pour Wikipédia. Ces modèles ne doivent être modifiés que par les Administrateurs et seulement après l'établissement d'un consensus sur la page de discussion du modèle.

Les modèles ainsi protégés doivent être listés sur ... Wikipedia:List of indefinitely protected pages#High use templates.

[modifier] Rationale

Template transclusion has a range of costs and benefits. One cost is that whenever a template is edited, that not only updates the template, but every page that transcludes the template. This means that the squid and parser cached versions of that page are invalidated, and each of the pages must be regenerated by the parser when they are next viewed. This involves significantly more resources than displaying the page from the cache. For example, if template A is transcluded in 100 articles, then editing A effectively changes all 100 articles (plus the template). A high-use template should be edited only if there is a clear need.

This presents a significant problem when templates are the subject of vandalism or reckless editing. Vandalism of high-risk templates can result in significant increases in the load on the servers. It is possible that such vandalism could constitute a denial-of-service attack. Protecting these templates, and allowing them to be edited by admins only after there is a consensus to change the template, reduces or eliminates this risk.

The protection policy already protects high visibility pages (such as the Main Page) and certain "system administration" pages. Some templates are already protected, albeit temporarily, when they are the subject of vandalism, and some are protected for visibility reasons. This guideline advises that permanent protection extend to all templates which pose a high-risk to Wikipedia. This includes a selection of high-volume templates and logical templates identified by the community.

[modifier] Expérience (Wikipédia anglophone)

  • (tl) et (tl), utilisés par plus de 8 000 articles chacun, ont été plusieurs fois remplacés par des images de pénis. À chaque fois, ce vandalisme a été supprimé en quelques minutes.
  • (tl), le méta-modèle le plus utilisé (au 5 novembre 2005), a été plusieurs fois remplacé par des images de pénis en septembre 2005. La plus longue survie de ces vandalismes a été de 3 minutes, la plupart étant corrigés dans la minute.

[modifier] Relevant discussions

[modifier] Quels modèles sont à haut-risque ?

The proposal does not necessarily propose to apply protection automatically to a list of templates. The process by which high-risk templates are identified may be by individual consensus, by a set of criteria to be implemented by administrators, or by request of Wikimedia developers. However, several tables are provided at Wikipedia:List of templates by usage in order to assist the community in determining which templates are high-risk.

[modifier] Voir aussi

  • en:Wikipedia:Template doc page pattern – A method to securely split template documentation off from template code in a separate page. Enables full protection of template code while retaining the documentation part unprotected, so that everyone can still edit the documentation.


Modèles à haut risque