|
|
(One intermediate revision by one other user not shown) |
Line 1: |
Line 1: |
| {{documentation subpage}} | | {{Documentation subpage}} |
| <includeonly>{{pp-template}}</includeonly> | | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> |
| | ==Usage== |
|
| |
|
| {{tl|{{BASEPAGENAME}}}} produces a link that will clear the cache and rebuild page from the wikitext. | | * Use {{tlx|{{lc:{{PAGENAME}}}}}} for the normal template |
| | * Use {{tlx|{{lc:{{PAGENAME}}}}|small=yes}} for just an icon at the top |
|
| |
|
| == Purpose ==
| | This template is not to be used as a bluff. '''''Only use it on FULLY PROTECTED pages.''''' Please note that only [[Wikipedia:Administrators|administrators]] can protect pages. |
| For efficiency in service, [[MediaWiki]] [[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]].
| |
|
| |
|
| {{tl|purge}} 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.
| |
|
| |
|
| == Examples == | | ==See also== |
| '''Code''':
| |
| * <tt><nowiki>{{purge}}</nowiki></tt>
| |
| * <tt><nowiki>{{purge|Purge this page's server cache.}}</nowiki></tt>
| |
|
| |
|
| '''Yields''':
| | {{protection templates}} |
| * {{purge}}
| |
| * {{purge|Purge this page's server cache.}}
| |
|
| |
|
| == See also ==
| | <includeonly><!-- |
| * {{lt|actions}}
| | ++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. --> |
| * [[Wikipedia:Purge]]
| |
| <includeonly> | |
| <!-- ADD CATEGORIES BELOW THIS LINE --> | |
| [[Category:Wikipedia maintenance templates|{{PAGENAME}}]]
| |
| [[Category:Internal link templates|{{PAGENAME}}]]
| |
|
| |
|
| <!-- ADD INTERWIKIS BELOW THIS LINE -->
| | [[Category:Protection templates|{{PAGENAME}}]] |
| [[ar:قالب:إفراغ الكاش]] | | |
| [[es:Plantilla:Purgar]] | | |
| [[eu:Txantiloi:Birkarga]] | | [[bg:Шаблон:Защитена страница]] |
| [[ia:Patrono:Purge]] | | [[dsb:Pśedłoga:Šćitana pśedłoga]] |
| [[id:Templat:Purge]] | | [[eo:Ŝablono:Pp-ŝablono]] |
| [[ja:Template:Purge]] | | [[hsb:Předłoha:Škitana předłoha]] |
| [[zh:Template:Purge]] | | [[it:Template:Templateprotetto]] |
| | [[ro:Format:Pp-template]] |
| | [[ru:Шаблон:Protected template]] |
| | [[sl:Predloga:Zaščitena predloga]] |
| | [[zh:Template:Pp-template]] |
| </includeonly> | | </includeonly> |
| | <noinclude>[[zh:Template:Pp-template/doc]]</noinclude> |