Template talk:Purge

From Wikipedia, the free encyclopedia

Protected Template:Purge has been protected indefinitely. Use {{editprotected}} on this page to request an edit.
Main article: Wikipedia:Purge

Contents

[edit] Purpose

For efficiency in service, MediaWiki caches pages. Depending on the exact sequence of actions editors follow, one may view an out-of-date version of a given page. This happens most often on heavily-edited pages and on pages which contain an instance of transclusion.

{{purge}} adds to any page a link that, when clicked, not only reloads the page, but clears the server cache, forcing the page to be completely rendered "from scratch". This is not a one-time solution; generally, editing a page is itself sufficient to purge cache. Rather, it is a measure taken in anticipation of the frequent need to purge.

Compare: {{actions}}

[edit] Usage

{{purge|label}}

Insert this template on the page to be purged. The only parameter is an arbitrary label; often, the only text chosen is the word "Purge" itself.

[edit] Example

Purge this page's server cache.

[edit] History

Created 2004 November 19 by Sgeo.

Documented — Xiongtalk* 20:50, 2005 August 15 (UTC)

[edit] Discussion

Why is the confirmation needed (Mediawiki:Confirm purge) is it possible to disable or override this? Freestyle(NL) 13:39, 7 September 2006 (UTC)

The confirmation is not needed.
--Meno25 15:16, 26 November 2006 (UTC)

[edit] Requested edit

This template is protected, and should be tagged with {{protected template}}, or another suitable protection template. Thanks – Qxz 19:33, 15 March 2007 (UTC)

Done. – Luna Santin (talk) 02:33, 16 March 2007 (UTC)

[edit] Interwiki links

{{editprotected}}

Dear administrator, please add the following interwiki links:

[[es:Plantilla:Purgar]]
[[ia:Patrono:Purgar]]

Thank you in advance, Julian 02:29, 6 April 2007 (UTC)

Done. CMummert · talk 04:26, 6 April 2007 (UTC)