X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FrebuildLocalisationCache.php;h=5833f8cd0478e644d1a7043c5b046ed7da1b4cca;hb=971e23863569353412140e57a959443dd96c4eb1;hp=ee6ddbbfe6e93a074f2cdc82ec9c145351a9785a;hpb=9e0e8abd7eac4c16b22a0ff7c8381f0f7ecccf64;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/rebuildLocalisationCache.php b/maintenance/rebuildLocalisationCache.php index ee6ddbbfe6..5833f8cd04 100644 --- a/maintenance/rebuildLocalisationCache.php +++ b/maintenance/rebuildLocalisationCache.php @@ -61,7 +61,7 @@ class RebuildLocalisationCache extends Maintenance { # no l10n cache. Break the cycle by forcing $wgLanguageCode = 'en'. global $wgLanguageCode; $wgLanguageCode = 'en'; - return parent::finalSetup(); + parent::finalSetup(); } public function execute() { @@ -90,7 +90,7 @@ class RebuildLocalisationCache extends Maintenance { if ( $this->hasOption( 'outdir' ) ) { $conf['storeDirectory'] = $this->getOption( 'outdir' ); } - $lc = new LocalisationCache_BulkLoad( $conf ); + $lc = new LocalisationCacheBulkLoad( $conf ); $allCodes = array_keys( Language::fetchLanguageNames( null, 'mwfile' ) ); if ( $this->hasOption( 'lang' ) ) { @@ -149,7 +149,7 @@ class RebuildLocalisationCache extends Maintenance { * Helper function to rebuild list of languages codes. Prints the code * for each language which is rebuilt. * @param $codes array List of language codes to rebuild. - * @param $lc LocalisationCache Instance of LocalisationCache_BulkLoad (?) + * @param $lc LocalisationCache Instance of LocalisationCacheBulkLoad (?) * @param $force bool Rebuild up-to-date languages * @return int Number of rebuilt languages */