X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fupdate.php;h=d96cecd6be3c0bb9cdc4ea26287c254922f474a6;hb=ee553f8e32a8f1bd8c0232dbbf1127e3592d29b2;hp=b96e7eb87139ff6b4d921d6164f9ed2e793d844e;hpb=5baa49450c303cfd603063c77440a02c06003a03;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/update.php b/maintenance/update.php index b96e7eb871..d96cecd6be 100755 --- a/maintenance/update.php +++ b/maintenance/update.php @@ -112,7 +112,7 @@ class UpdateMediaWiki extends Maintenance { } $lang = Language::factory( 'en' ); - // Set global language to ensure localised errors are in English (bug 20633) + // Set global language to ensure localised errors are in English (T22633) RequestContext::getMain()->setLanguage( $lang ); $wgLang = $lang; // BackCompat @@ -145,6 +145,7 @@ class UpdateMediaWiki extends Maintenance { $this->output( "Going to run database updates for " . wfWikiID() . "\n" ); if ( $db->getType() === 'sqlite' ) { + /** @var Database|DatabaseSqlite $db */ $this->output( "Using SQLite file: '{$db->getDbFilePath()}'\n" ); } $this->output( "Depending on the size of your database this may take a while!\n" ); @@ -202,7 +203,7 @@ class UpdateMediaWiki extends Maintenance { # Don't try to access the database # This needs to be disabled early since extensions will try to use the l10n - # cache from $wgExtensionFunctions (bug 20471) + # cache from $wgExtensionFunctions (T22471) $wgLocalisationCacheConf = [ 'class' => 'LocalisationCache', 'storeClass' => 'LCStoreNull',