r112077 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112076‎ | r112077 | r112078 >
Date:02:11, 22 February 2012
Author:tstarling
Status:ok
Tags:
Comment:
Modified paths:
  • /branches/wmf/1.18wmf1/maintenance/rebuildLocalisationCache.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/maintenance/rebuildLocalisationCache.php
@@ -36,6 +36,8 @@
3737 $this->mDescription = "Rebuild the localisation cache";
3838 $this->addOption( 'force', 'Rebuild all files, even ones not out of date' );
3939 $this->addOption( 'threads', 'Fork more than one thread', false, true );
 40+ $this->addOption( 'outdir', 'Override the output directory (normally $wgCacheDirectory)',
 41+ false, true );
4042 }
4143
4244 public function memoryLimit() {
@@ -65,6 +67,9 @@
6668 if ( $force ) {
6769 $conf['forceRecache'] = true;
6870 }
 71+ if ( $this->hasOption( 'outdir' ) ) {
 72+ $conf['storeDirectory'] = $this->getOption( 'outdir' );
 73+ }
6974 $lc = new LocalisationCache_BulkLoad( $conf );
7075
7176 $codes = array_keys( Language::getLanguageNames( true ) );
Property changes on: branches/wmf/1.18wmf1/maintenance/rebuildLocalisationCache.php
___________________________________________________________________
Added: svn:mergeinfo
7277 Merged /branches/new-installer/phase3/maintenance/rebuildLocalisationCache.php:r43664-66004
7378 Merged /branches/REL1_15/phase3/maintenance/rebuildLocalisationCache.php:r51646
7479 Merged /branches/REL1_17/phase3/maintenance/rebuildLocalisationCache.php:r81445,81448
7580 Merged /branches/REL1_18/phase3/maintenance/rebuildLocalisationCache.php:r102560,103033,103041,103054,104753,106578-106579,107913,107920,107924
7681 Merged /branches/sqlite/maintenance/rebuildLocalisationCache.php:r58211-58321
7782 Merged /trunk/phase3/maintenance/rebuildLocalisationCache.php:r92580,92634,92703,92713,92762,92765,92791,92846,92854,92884,92886-92887,92894,92898,92907,92932,92958,93141,93149,93151,93233-93234,93258,93266,93303,93516-93518,93520,93818-93822,93847,93858,93891,93935-93936,93977,94058,94062,94068,94107,94131,94155,94235,94277,94346,94372,94422,94425,94444,94448,94456,94498,94517,94601,94630,94728,94738,94825,94862,94995-94997,95023,95042,95072-95073,95155,95327,95332,95410,95422,95426,95442,95468,95601,95812,96178,96182,96307,96310,96616,96648,96774,97175,97810,97889,98578,98598,98656,98690,98764,98990,99304,99308,99349,99477,99653,99694,99840,100219,100221,100223,100226,100239,100242,100348,100575,100756,101291,101306,101314,101417,101420,101445,101464,101540,101591,101656,101666,101802,101860,101990,102297,102334-102335,102440,102851,102861,102948,102951,102954,103074,103138,103450,103672,103677,103679,103694,104030,104033,104146,104318,104322,104350,104434,104441,104445,104470,104475,104671,105007,105341,105853,106780,106992,107623,108145,108345,108712,109433,109438,109693,112076

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r112076Output directory option, to allow messages to be put directly into /h/w/ctstarling02:09, 22 February 2012

Status & tagging log