Extension:Purge

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
Purge

Release status: stable

Implementation User interface
Description Adds a purge tab on all normal pages, allowing for quick purging of the cache
Author(s) Ævar Arnfjörð Bjarmasontalk
MediaWiki 1.11 or higher
Database changes no
License GNU GPL v2 or higher
Download
Hooks used
SkinTemplateNavigation::Universal
Check usage and version matrix

The Purge extension adds a purge tab on all normal pages, allowing for quick purging of the cache.

Installation [edit]

  1. Copy the code on SVN and create the resprecive files.
  2. Move these to your extensions directory.
  3. Add
    require_once( "$IP/extensions/Purge/Purge.php" );
    to LocalSettings.php
  4. The extension should be now active.

Notes [edit]

If you set $wgGroupPermissions['*']['purge'] = true; inside your LocalSettings.php so that anonymous users can make use of the cache purging functionality without the use of a post you may want to add index.php to your robots.txt so that search engine spiders crawling your wiki for content do not start attempting to crawl purge links and inadvertently purging the cache of your wiki and increasing the load on your server(s).

See also [edit]

Language: English  • português • português do Brasil