Template:Purge
(Redirected from Template:Open and purge)
Jump to navigation
Jump to search
[edit] [ ] Template documentation
This documentation is transcluded from Template:Purge/doc. (edit | history)
Editors can experiment in this template's sandbox (create) and test cases (create) pages.
Subpages of this template.
Editors can experiment in this template's sandbox (create) and test cases (create) pages.
Subpages of this template.
Description
This template purges the server cache for a page. Normally computer servers cache results for speed, not checking every time whether a page has changed. Purging the page tells the server to check the page anyway. This is useful in certain circumstances, including:
- where
<option>…</option>
tags are used (e.g. any of the pseudo-random selection templates) - any page with DPL serving out-of-date results (e.g. UN:VFH)
A fuller explanation can be found at wikipedia:WP:PURGE.
Usage
{{P}}
{{P|what text}}
{{P|page=which page}}
{{P|page=which page|what text}}
Examples
Purge the current page:
{{P}}
Purge the page with different text:
{{P|Refresh server cache}}
Purge UN:VFD from a header page:
{{P|page=UN:VFD|Refresh UN:VFD}}
History
Template:Open and purge redirects here.
PuppyOnTheRadio made {{Open and purge}}, which allowed for opening a different page. In the interest of unity, that template and its alias {{P}} now redirect here. The syntax has changed slightly.
Old syntax for {{Open and purge}}:
{{P}}
{{P|2=what text}}
{{P|which page}}
{{P|which page|what text}}
New syntax for this template:
{{P}}
{{P|what text}}
{{P|page=which page}}
{{P|page=which page|what text}}