25require_once __DIR__ .
'/Maintenance.php';
35 parent::__construct();
36 $this->
addDescription(
'Purge the MessageCache for all interface languages.' );
40 $this->
output(
"Purging message cache for all languages on this wiki..." );
42 $messageCache->clear();
49require_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.
getServiceContainer()
Returns the main service container.
addDescription( $text)
Set the description text.
Maintenance script that purges cache used by MessageCache.
execute()
Do the actual work.
__construct()
Default constructor.