From: Robert Leverington Date: Thu, 9 Apr 2009 18:51:45 +0000 (+0000) Subject: * Strict Standards: Only variables may be passed by reference. X-Git-Tag: 1.31.0-rc.0~42184 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=4cf686c22cccbbaf39ab399191d600cbfe76fa12;p=lhc%2Fweb%2Fwiklou.git * Strict Standards: Only variables may be passed by reference. Reference title object to variable before passing as a parameter. --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 0c1f294db1..e11f9b637f 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -655,7 +655,8 @@ class OutputPage { * Add wikitext with tidy enabled */ public function addWikiTextTidy( $text, $linestart = true ) { - $this->addWikiTextTitleTidy($text, $this->getTitle(), $linestart); + $title = &$this->getTitle(); + $this->addWikiTextTitleTidy($text, $title, $linestart); }