11require_once __DIR__ .
'/Maintenance.php';
21 parent::__construct();
22 $this->
addDescription(
'Purge the MessageCache for all interface languages.' );
26 $this->
output(
"Purging message cache for all languages on this wiki..." );
28 $messageCache->clear();
35require_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.