MediaWiki 1.43.1
PurgeParserCache Class Reference

Remove expired objects from the parser cache database. More...

Inherits Maintenance.

Collaboration diagram for PurgeParserCache:

Public Member Functions

 __construct ()
 
 execute ()
 
 showProgressAndWait ( $percent)
 

Detailed Description

Remove expired objects from the parser cache database.

By default, this does not need to be run. The default parser cache backend is CACHE_DB (SqlBagOStuff), and by default that automatically performs incremental purges in the background of write requests.

See also
MediaWiki\\MainConfigSchema::ParserCacheType

Definition at line 38 of file purgeParserCache.php.

Constructor & Destructor Documentation

◆ __construct()

PurgeParserCache::__construct ( )

Definition at line 51 of file purgeParserCache.php.

Member Function Documentation

◆ execute()

PurgeParserCache::execute ( )

Definition at line 75 of file purgeParserCache.php.

References $success, and showProgressAndWait().

◆ showProgressAndWait()

PurgeParserCache::showProgressAndWait ( $percent)

Definition at line 112 of file purgeParserCache.php.

Referenced by execute().


The documentation for this class was generated from the following file: