Manual:Purge
From MediaWiki.org
(Redirected from Purge)
Purging forces MediaWiki to clear the cached version of a given page, forcing the page to be redisplayed from its source. It is used to ensure that recent changes are made immediately visible.
Contents |
[edit] Examples
- To purge a page, add
?action=purgeto the URL of the page you are viewing. For example:
- http://example.org/wiki/Main_Page?action=purge
- If the URL has other parameters in its query string, add the purge action to the query string with an ampersand (&). For example:
- http://example.org/wiki/index.php?title=Main_Page&action=purge
Note: Remember to change example.org in the above URLs to the host name of your MediaWiki installation.
[edit] Anonymous requests must be confirmed
Purge requests made via POST or by logged-in users are automatically filled. Anonymous users making purge requests via a query string will be presented with a confirmation form. This form must be submitted before the purge request will be completed. This behavior is a precaution to keep web spiders from accidentally purging pages when following links.
[edit] Purge and image thumbnails
If purge is run on an image description page, the cached thumbnails for the image will be purged.
[edit] See Also
- purgeList.php, a command-line maintenance script that allows batch purging of articles.
- Manual:Cache
- Manual:Parameters to index.php#Actions.
- Extension:Purge
| Language: | English • 日本語 • Tiếng Việt |
|---|