From 4cf686c22cccbbaf39ab399191d600cbfe76fa12 Mon Sep 17 00:00:00 2001 From: Robert Leverington Date: Thu, 9 Apr 2009 18:51:45 +0000 Subject: [PATCH] * Strict Standards: Only variables may be passed by reference. Reference title object to variable before passing as a parameter. --- includes/OutputPage.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 2.20.1