Template talk:Purge

From Wikipedia, the free encyclopedia

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)