25require_once __DIR__ .
'/Maintenance.php';
40 parent::__construct();
41 $this->
addDescription(
'Purge rows from the recentchanges table which are older than wgRCMaxAge.' );
48 $recentChangesPruneJob = RecentChangesUpdateJob::newPurgeJob();
49 $recentChangesPruneJob->run();
50 $this->
output(
"Finished purging data from recentchanges.\n" );
56require_once RUN_MAINTENANCE_IF_MAIN;
Abstract maintenance class for quickly writing and churning out maintenance scripts with minimal effo...
output( $out, $channel=null)
Throw some output to the user.
addDescription( $text)
Set the description text.
Purge rows from the recentchanges table older than wgRCMaxAge.
__construct()
Default constructor.
execute()
Do the actual work.