Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\Maintenance\PruneChanges Class Reference

Prune the Wikibase changes table to a maximum number of entries. More...

+ Inheritance diagram for Wikibase\Repo\Maintenance\PruneChanges:
+ Collaboration diagram for Wikibase\Repo\Maintenance\PruneChanges:

Public Member Functions

 __construct ()
 
 execute ()
 
 log ( $message)
 Log a message unless we are quiet. More...
 

Private Member Functions

 getKeepSeconds ()
 
 getGraceSeconds ()
 
 newMessageReporter ()
 

Detailed Description

Prune the Wikibase changes table to a maximum number of entries.

Author
John Erling Blad < jebla.nosp@m.d@gm.nosp@m.ail.c.nosp@m.om >

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Maintenance\PruneChanges::__construct ( )

Member Function Documentation

◆ execute()

Wikibase\Repo\Maintenance\PruneChanges::execute ( )

◆ getGraceSeconds()

Wikibase\Repo\Maintenance\PruneChanges::getGraceSeconds ( )
private
Returns
int

◆ getKeepSeconds()

Wikibase\Repo\Maintenance\PruneChanges::getKeepSeconds ( )
private
Returns
int

◆ log()

Wikibase\Repo\Maintenance\PruneChanges::log (   $message)

Log a message unless we are quiet.

Parameters
string$message

◆ newMessageReporter()

Wikibase\Repo\Maintenance\PruneChanges::newMessageReporter ( )
private
Returns
MessageReporter

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