Extension:PurgeCache

From MediaWiki.org
Jump to: navigation, search

Other languages:
English • ‎日本語 • ‎português do Brasil
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png
PurgeCache

Release status:Extension status unmaintained

ImplementationTemplate:Extension#type Special page
DescriptionTemplate:Extension#description Provides a special page that allows to wipe the objectcacheManual:objectcache table table
Author(s)Template:Extension#username Rob Church (Robchurchtalk)
Latest versionTemplate:Extension#version 0.1
Database changesTemplate:Extension#needs-updatephp No
LicenseTemplate:Extension#license Public domain
Download Template:WikimediaDownload/svn
Added rightsTemplate:Extension#rights

purgecache

Translate the PurgeCache extension if it is available at translatewiki.net

Check usage and version matrix.

The PurgeCache extension adds a new special page, PurgeCache, restricted to users having the purgecache right (developers by default). This page cache be used to to wipe the objectcacheManual:objectcache table table. This extension has no effect if using memcachedmemcached or a PHP opcode cache for object caching.

Installation[edit]

  • Copy the code into files and place the file(s) in a directory called PurgeCache in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/PurgeCache/PurgeCache.php";
    
  • Add the users who should be able to use this extension's functionality to the "developer" group via via your wiki's "Special:UserRights" pages. See Manual:User rightsManual:User rights.
  • YesY Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.