diff options
Diffstat (limited to 'includes/HistoryBlob.php')
-rw-r--r-- | includes/HistoryBlob.php | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/includes/HistoryBlob.php b/includes/HistoryBlob.php index f7fa77afd304..3eb2b6f5335e 100644 --- a/includes/HistoryBlob.php +++ b/includes/HistoryBlob.php @@ -182,7 +182,7 @@ $wgBlobCache = array(); * @package MediaWiki */ class HistoryBlobStub { - var $mOldId, $mHash; + var $mOldId, $mHash,$mRef; /** @todo document */ function HistoryBlobStub( $hash = '', $oldid = 0 ) { @@ -197,6 +197,20 @@ class HistoryBlobStub { $this->mOldId = $id; } + /** + * Sets the location (old_id) of the referring object + */ + function setReferrer( $id ) { + $this->mRef = $id; + } + + /** + * Gets the location of the referring object + */ + function getReferrer() { + return $this->mRef; + } + /** @todo document */ function getText() { global $wgBlobCache; |