Maintenance script "purgeEntityCache.php"

Allows to purge all cache entries including associates of entities at once.
Further Information
Provided by: Semantic MediaWiki
Added: 3.1.0
Removed: still in use
Location (path): ./extensions/SemanticMediaWiki/maintenance/
Table of Contents

The "purgeEntityCache.php" maintenance script allows to purge the cache of all entities including associates at once. Thus requests normally relying on a cache entry are fetched from the data store. The maintenance script was introduced in Semantic MediaWiki 3.1.0Released on 23 September 2019 and compatible with MW 1.31.0 - 1.33.x..1 Semantic MediaWiki 3.2.0Released on 7 September 2020 and compatible with MW 1.31.0 - 1.35.x. brought an improved client output to this maintenance script.2

This script is not run on a regular basis but only if caching issues are being noticed.


php purgeEntityCache.php


Maintenance scripts provide generic maintenance parameters, script dependent parameters and depending on the maintenance script script specific parameters which are described on this page if provided.

This script does not provide any script specific parameters.

See also[edit]


  1. ^  Semantic MediaWiki: GitHub pull request gh:smw:3905
  2. ^  Semantic MediaWiki: GitHub pull request gh:smw:4463