r24837 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24836‎ | r24837 | r24838 >
Date:20:46, 15 August 2007
Author:robchurch
Status:old
Tags:
Comment:
Coerce mOutputHooks to an array; makes things backwards-compatible with old cached ParserOutput objects
Modified paths:
  • /trunk/phase3/includes/ParserOutput.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ParserOutput.php
@@ -60,7 +60,7 @@
6161 function &getExternalLinks() { return $this->mExternalLinks; }
6262 function getNoGallery() { return $this->mNoGallery; }
6363 function getSubtitle() { return $this->mSubtitle; }
64 - function getOutputHooks() { return $this->mOutputHooks; }
 64+ function getOutputHooks() { return (array)$this->mOutputHooks; }
6565
6666 function containsOldMagic() { return $this->mContainsOldMagic; }
6767 function setText( $text ) { return wfSetVar( $this->mText, $text ); }

Follow-up revisions

RevisionCommit summaryAuthorDate
r24866Merged revisions 24755-24865 via svnmerge from...david23:08, 16 August 2007

Status & tagging log