Manual:Purge

Jovan Todorovic

Examples

 * To purge a page, add  to 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

Remember to change  in the above URLs to the host name of your MediaWiki installation.

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.

Purge and image thumbnails
If purge is run on an image description page, the cached thumbnails for the image will be purged.

Null edits
Purging will only update the rendering of the page, it won't update the link tables. These tables control lists that the page is listed in (For example, pages listed on category pages, Special:Whatlinkshere, along with several other "query" special pages). In order to force an update of the link tables, you can do what is called a null edit. Null edits is one you open a page to edit it, do not change anything (or if you do change anything, add newlines at the very end of the page), and then hit save. No entry in the page's history will appear, but all link tables should be refreshed.

An alternative way to update the links table is to use the API's purge module with the forcelinkupdate option. Note that this option only applies to the api. Adding forcelinkupdate to an index.php url has no effect.