Revert more visibility changes in HistoryBlob.php

This follows-up bebcf2c583, which only fixed DiffHistoryBlob.

MediaWiki will fail to load some revisions if the following properties
do not unserialize correctly:

* HistoryBlobStub::$mOldId
* HistoryBlobStub::$mHash
* HistoryBlobCurStub::$mCurId

Visibility of HistoryBlobStub::$mRef is also restored; though the
property's value does not appear to be used after unserialization,
the property is nevertheless a serialized property.

Bug: 65665
Change-Id: I2724d15f9206d66d615d020117e60bb772048c19
This commit is contained in:
Kevin Israel 2014-05-25 09:12:00 -04:00
parent 16b731dc57
commit 6ca760a5ba

View file

@ -197,13 +197,13 @@ class HistoryBlobStub {
protected static $blobCache = array();
/** @var int */
protected $mOldId;
public $mOldId;
/** @var string */
protected $mHash;
public $mHash;
/** @var */
protected $mRef;
public $mRef;
/**
* @param string $hash The content hash of the text
@ -313,7 +313,7 @@ class HistoryBlobStub {
*/
class HistoryBlobCurStub {
/** @var int */
private $mCurId;
public $mCurId;
/**
* @param int $curid The cur_id pointed to