Fixed bug with MW 1.4 style archive rows, with ar_text set: ar_flags can be gzip...
authorTim Starling <tstarling@users.mediawiki.org>
Thu, 27 Aug 2009 15:02:00 +0000 (15:02 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Thu, 27 Aug 2009 15:02:00 +0000 (15:02 +0000)
includes/Revision.php

index 308df6f..8ef3393 100644 (file)
@@ -86,7 +86,7 @@ class Revision {
                        'len'        => $row->ar_len);
                if ( isset( $row->ar_text ) && !$row->ar_text_id ) {
                        // Pre-1.5 ar_text row
-                       $attribs['text'] = $row->ar_text;
+                       $attribs['text'] = self::getRevisionText( $row, 'ar_' );
                }
                return new self( $attribs );
        }