<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pool.calebcooper.ie/index.php?action=history&amp;feed=atom&amp;title=Module%3APurge%2Fdoc</id>
	<title>Module:Purge/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://pool.calebcooper.ie/index.php?action=history&amp;feed=atom&amp;title=Module%3APurge%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Module:Purge/doc&amp;action=history"/>
	<updated>2026-04-10T09:20:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://pool.calebcooper.ie/index.php?title=Module:Purge/doc&amp;diff=13805&amp;oldid=prev</id>
		<title>Caleb Cooper: Created page with &quot;{{Module rating|protected}} {{used in system}} {{Commons Import}}  This module produces a link to purge a page&#039;s cache. This is usually the current page...&quot;</title>
		<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Module:Purge/doc&amp;diff=13805&amp;oldid=prev"/>
		<updated>2020-10-22T18:03:35Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Module rating|protected}} {{used in system}} {{Commons Import}}  This module produces a link to &lt;a href=&quot;https://en.wikipedia.org/wiki/WP:PURGE&quot; class=&quot;extiw&quot; title=&quot;wikipedia:WP:PURGE&quot;&gt;purge a page&amp;#039;s cache&lt;/a&gt;. This is usually the current page...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Module rating|protected}}&lt;br /&gt;
{{used in system}}&lt;br /&gt;
{{Commons Import}}&lt;br /&gt;
&lt;br /&gt;
This module produces a link to [[Wikipedia:WP:PURGE|purge a page&amp;#039;s cache]]. This is usually the current page, but can be another page.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
=== From wiktext ===&lt;br /&gt;
&lt;br /&gt;
From wikitext, this module should be accessed via [[Template:Purge]]. Please see the template page for documentation.&lt;br /&gt;
&lt;br /&gt;
=== From Lua ===&lt;br /&gt;
&lt;br /&gt;
From Lua, first you need to load the module:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local mPurge = require(&amp;#039;Module:Purge&amp;#039;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then you can create purge links with the &amp;lt;code&amp;gt;_main&amp;lt;/code&amp;gt; function:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
mPurge._main(args)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;var&amp;gt;args&amp;lt;/var&amp;gt; is a table of arguments, identical to the ones accepted by [[Template:Purge]]. Please see the template documentation for more details.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox | |&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Caleb Cooper</name></author>
	</entry>
</feed>