}
}
- MediaWiki\suppressWarnings(); // header notices
+ Wikimedia\suppressWarnings(); // header notices
// Cache ?action=view
$wgRequestTime = microtime( true ); # T24852
ob_start();
$context->getOutput()->clearHTML();
$historyHtml = ob_get_clean();
$historyCache->saveToFileCache( $historyHtml );
- MediaWiki\restoreWarnings();
+ Wikimedia\restoreWarnings();
if ( $rebuilt ) {
$this->output( "Re-cached page '$title' (id {$row->page_id})..." );
}
}
-$maintClass = "RebuildFileCache";
+$maintClass = RebuildFileCache::class;
require_once RUN_MAINTENANCE_IF_MAIN;