diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2007-02-05 10:49:51 +0000 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2007-02-05 10:49:51 +0000 |
commit | c39aeb62f7e8dfb6ba6467beb2d9d6f97fd84959 (patch) | |
tree | 187c3b0b29a4baf4a6e23b053abf8a94ee62e085 /maintenance | |
parent | 471fc27fc958b3495b92057c88eb4b8f75792f88 (diff) |
Aktualisierung auf MediaWiki 1.9.2
Diffstat (limited to 'maintenance')
-rw-r--r-- | maintenance/storage/compressOld.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/maintenance/storage/compressOld.inc b/maintenance/storage/compressOld.inc index 3c426841..d38bb741 100644 --- a/maintenance/storage/compressOld.inc +++ b/maintenance/storage/compressOld.inc @@ -284,8 +284,8 @@ function compressWithConcat( $startId, $maxChunkSize, $maxChunkFactor, $factorTh # Store the stub objects for ( $j = 1; $j < $thisChunkSize; $j++ ) { - # Skip if not compressing - if ( $stubs[$j] !== false ) { + # Skip if not compressing and don't overwrite the first revision + if ( $stubs[$j] !== false && $revs[$i + $j]->rev_text_id != $primaryOldid ) { $dbw->update( 'text', array( /* SET */ 'old_text' => serialize($stubs[$j]), |