Temp patch for bug 34428, merged from 1.19wmf1 r111602
authorTim Starling <tstarling@users.mediawiki.org>
Thu, 16 Feb 2012 00:51:10 +0000 (00:51 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Thu, 16 Feb 2012 00:51:10 +0000 (00:51 +0000)
includes/HistoryBlob.php

index dcb25cd..cece3ec 100644 (file)
@@ -520,7 +520,8 @@ class DiffHistoryBlob implements HistoryBlob {
                        $ofp = mhash( MHASH_ADLER32, $base );
                        if ( $ofp !== substr( $diff, 0, 4 ) ) {
                                wfDebug( __METHOD__. ": incorrect base checksum\n" );
-                               return false;
+                               // Temp patch for bug 34428: don't return false
+                               //return false;
                        }
                }
                if ( $header['csize'] != strlen( $base ) ) {