https://wh40k.lexicanum.com/mediawiki/index.php?title=Template:Purge/doc&feed=atom&action=historyTemplate:Purge/doc - Revision history2024-03-29T00:39:33ZRevision history for this page on the wikiMediaWiki 1.30.0https://wh40k.lexicanum.com/mediawiki/index.php?title=Template:Purge/doc&diff=110858&oldid=prevMadness: Created page with '{{documentation subpage}} <tt>'''<nowiki>{{purge}}</nowiki>'''</tt> produces a link that will clear the cache and rebuild page from the wikitext. == Purpose == For efficiency i...'2009-06-22T15:53:33Z<p>Created page with '{{documentation subpage}} <tt>'''<nowiki>{{purge}}</nowiki>'''</tt> produces a link that will clear the cache and rebuild page from the wikitext. == Purpose == For efficiency i...'</p>
<p><b>New page</b></p><div>{{documentation subpage}}<br />
<br />
<tt>'''<nowiki>{{purge}}</nowiki>'''</tt> produces a link that will clear the cache and rebuild page from the wikitext.<br />
<br />
== Purpose ==<br />
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. <br />
<br />
<tt>'''<nowiki>{{purge}}</nowiki>'''</tt> 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. <br />
<br />
== Examples ==<br />
{| class="wikitable"<br />
|-<br />
! Code<br />
! Yields<br />
! Result<br />
|-<br />
| <tt><nowiki>{{purge}}</nowiki></tt><br />
| {{purge}}<br />
| Creates a purge link for the page it is used on.<br />
|-<br />
| <tt><nowiki>{{purge|Purge this page's server cache.}}</nowiki></tt><br />
| {{purge|Purge this page's server cache.}}<br />
| Creates a purge link for the page it is used on, but with the text "Purge this page's server cache."<br />
|-<br />
| <tt><nowiki>{{purge|page=Main Page}}</nowiki></tt><br />
| {{purge|page=Main Page}}<br />
| Creates a purge link for [[Main Page]].<br />
|-<br />
| <tt><nowiki>{{purge|Purge this page's server cache.|page=Main Page}}</nowiki></tt><br />
| {{purge|Purge this page's server cache.|page=Main Page}}<br />
| Creates a purge link for [[Main Page]], but with the text "Purge this page's server cache."<br />
|}</div>Madness