<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.statsape.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E6%9D%BF%3APurge%2Fdoc</id>
	<title>模板:Purge/doc - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.statsape.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E6%9D%BF%3APurge%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:Purge/doc&amp;action=history"/>
	<updated>2026-11-10T15:54:21Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:Purge/doc&amp;diff=4345&amp;oldid=prev</id>
		<title>Zeroclanzhang：​创建页面，内容为“{{Documentation subpage}} &lt;!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --&gt; {{used in system}} {{lua|Module:Purge}}  {{tlx|Purge}} produces a link that will purge the page&#039;s cache and rebuild it from the wikitext.  ==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 give…”</title>
		<link rel="alternate" type="text/html" href="https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:Purge/doc&amp;diff=4345&amp;oldid=prev"/>
		<updated>2024-01-16T10:54:47Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“{{Documentation subpage}} &amp;lt;!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --&amp;gt; {{used in system}} {{lua|Module:Purge}}  {{tlx|Purge}} produces a link that will &lt;a href=&quot;/index.php?title=WP:Purge&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:Purge（页面不存在）&quot;&gt;purge the page&amp;#039;s cache&lt;/a&gt; and rebuild it from the wikitext.  ==Purpose== For efficiency in service, &lt;a href=&quot;/index.php?title=MediaWiki&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;MediaWiki（页面不存在）&quot;&gt;MediaWiki&lt;/a&gt; &lt;a href=&quot;/index.php?title=Cache_(computing)&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Cache (computing)（页面不存在）&quot;&gt;cache&lt;/a&gt;s pages. Depending on the exact sequence of actions editors follow, one may view an out-of-date version of a give…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&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>Zeroclanzhang</name></author>
	</entry>
</feed>