r63899 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r63898‎ | r63899 | r63900 >
Date:05:34, 18 March 2010
Author:tstarling
Status:ok
Tags:
Comment:
Fixed object type unserialization. Based on WMF working copy patch, tested there.
Modified paths:
  • /trunk/phase3/maintenance/storage/dumpRev.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/storage/dumpRev.php
@@ -62,7 +62,8 @@
6363 $text = gzinflate( $text );
6464 }
6565 if ( in_array( 'object', $flags ) ) {
66 - $text = unserialize( $text );
 66+ $obj = unserialize( $text );
 67+ $text = $obj->getText();
6768 }
6869
6970 if ( is_object( $text ) ) {

Follow-up revisions

RevisionCommit summaryAuthorDate
r64049* MFT r63764, r63897, r63898, r63899, r63900, r63901, r63902. Most changes ar...tstarling00:06, 23 March 2010
r64051MFT r63764, r63897, r63898, r63899, r63900, r63901, r63902: assorted working ...tstarling01:21, 23 March 2010

Status & tagging log