Bug 34734 - compressOld.php ignoring -s option
authorAntoine Musso <hashar@users.mediawiki.org>
Thu, 1 Mar 2012 11:33:38 +0000 (11:33 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Thu, 1 Mar 2012 11:33:38 +0000 (11:33 +0000)
This is fixing a regression caused by r90549.
Patch by christian at quelltextlich dot at

maintenance/storage/compressOld.php

index e166bc5..d755d58 100644 (file)
@@ -70,7 +70,7 @@ class CompressOld extends Maintenance {
 
                $type = $this->getOption( 'type', 'concat' );
                $chunkSize = $this->getOption( 'chunksize', 20 );
-               $startId = $this->getOption( 'start-id', 0 );
+               $startId = $this->getOption( 'startid', 0 );
                $beginDate = $this->getOption( 'begin-date', '' );
                $endDate = $this->getOption( 'end-date', '' );
                $extDB = $this->getOption( 'extdb', '' );