<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://safernicotine.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3APurge%2Fdoc</id>
	<title>Template:Purge/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://safernicotine.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3APurge%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Template:Purge/doc&amp;action=history"/>
	<updated>2026-05-14T23:55:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://safernicotine.wiki/mediawiki/index.php?title=Template:Purge/doc&amp;diff=39911&amp;oldid=prev</id>
		<title>imported&gt;Sam Hnri: Reverted 1 edit by LETNAN SATU INFANTERI Airlangga Yudhoyono (talk) to last revision by Funandtrvl</title>
		<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Template:Purge/doc&amp;diff=39911&amp;oldid=prev"/>
		<updated>2022-12-31T22:13:43Z</updated>

		<summary type="html">&lt;p&gt;Reverted 1 edit by &lt;a href=&quot;/mediawiki/index.php/Special:Contributions/LETNAN_SATU_INFANTERI_Airlangga_Yudhoyono&quot; title=&quot;Special:Contributions/LETNAN SATU INFANTERI Airlangga Yudhoyono&quot;&gt;LETNAN SATU INFANTERI Airlangga Yudhoyono&lt;/a&gt; (&lt;a href=&quot;/mediawiki/index.php?title=User_talk:LETNAN_SATU_INFANTERI_Airlangga_Yudhoyono&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:LETNAN SATU INFANTERI Airlangga Yudhoyono (page does not exist)&quot;&gt;talk&lt;/a&gt;) to last revision by Funandtrvl&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --&amp;gt;&lt;br /&gt;
{{used in system}}&lt;br /&gt;
{{lua|Module:Purge}}&lt;br /&gt;
&lt;br /&gt;
{{tlx|Purge}} produces a link that will [[WP:Purge|purge the page&amp;#039;s cache]] and rebuild it from the wikitext.&lt;br /&gt;
&lt;br /&gt;
==Purpose==&lt;br /&gt;
For efficiency in service, [[MediaWiki]] [[Cache (computing)|cache]]s 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 [[Wikipedia:Transclusion costs and benefits|transclusion]]. &lt;br /&gt;
&lt;br /&gt;
{{tlx|Purge}} adds to any page a link that, when clicked, not only reloads the page, but [[WP:Purge|clears the server cache]], forcing the page to be completely rendered &amp;quot;from scratch&amp;quot;. 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.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Code&lt;br /&gt;
! Yields&lt;br /&gt;
! Result&lt;br /&gt;
|-&lt;br /&gt;
| {{tlx|Purge}}&lt;br /&gt;
| {{Purge}}&lt;br /&gt;
| Creates a purge link for the page it is used on.&lt;br /&gt;
|-&lt;br /&gt;
| {{tlx|Purge|Purge this page&amp;#039;s server cache.}}&lt;br /&gt;
| {{Purge|Purge this page&amp;#039;s server cache.}}&lt;br /&gt;
| Creates a purge link for the page it is used on, but with the text &amp;quot;Purge this page&amp;#039;s server cache.&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| {{tlx|Purge|page{{=}}Main Page}}&lt;br /&gt;
| {{Purge|page=Main Page}}&lt;br /&gt;
| Creates a purge link for [[Main Page]].&lt;br /&gt;
|-&lt;br /&gt;
| {{tlx|Purge|Purge this page&amp;#039;s server cache.|page{{=}}Main Page}}&lt;br /&gt;
| {{Purge|Purge this page&amp;#039;s server cache.|page=Main Page}}&lt;br /&gt;
| Creates a purge link for [[Main Page]], but with the text &amp;quot;Purge this page&amp;#039;s server cache.&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| {{tlx|Purge|anchor{{=}}TemplateData}}&lt;br /&gt;
| {{Purge|anchor=TemplateData}}&lt;br /&gt;
| Creates a purge link for the page it is used on, which points to the &amp;quot;TemplateData&amp;quot; section.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
When you are linking to a section, purging that page will cause you to lose the section link.&lt;br /&gt;
&lt;br /&gt;
==TemplateData==&lt;br /&gt;
{{TemplateData header}}&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;A template that produces a link that will clear the cache and rebuild page from the wikitext&amp;quot;,&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;1&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Label&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The label of the purge link&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;Purge&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: false&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;page&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Page&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The page to purge&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string/wiki-page-name&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: false&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;anchor&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Anchor&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;An anchor to jump to after the page is purged&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;line&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: false&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Purge Pages}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Internal link templates]]&lt;br /&gt;
[[Category:Wikipedia utility templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Sam Hnri</name></author>
	</entry>
</feed>