$up = DatabaseUpdater::newForDB( $this->db );
try {
$up->doUpdates();
+ $up->purgeCache();
} catch ( MWException $e ) {
echo "\nAn error occurred:\n";
echo $e->getText();
echo $e->getMessage();
$ret = false;
}
- $up->purgeCache();
ob_end_flush();
return $ret;
return $status;
}
global $IP;
- MediaWiki\suppressWarnings();
+ Wikimedia\suppressWarnings();
$rows = file( "$IP/maintenance/interwiki.list",
FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES );
- MediaWiki\restoreWarnings();
+ Wikimedia\restoreWarnings();
$interwikis = [];
if ( !$rows ) {
return Status::newFatal( 'config-install-interwiki-list' );