From 9d474f73d2f73d374dc70c7b2a5616d63c11ed31 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Mon, 29 Oct 2012 17:26:13 +0100 Subject: [PATCH] OutputPage::addWikiTextTitleTidy() requires variable as second para Was trowing PHP Strict Standards: Only variables should be passed by reference. Change-Id: I97ede1c61636c9758408b66b84694c2a5825a259 --- includes/EditPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index 880095df83..305cf4afdc 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -1965,7 +1965,7 @@ class EditPage { if ( $title instanceof Title && $title->exists() && $title->userCan( 'read' ) ) { // Added using template syntax, to take 's into account. $this->getArticle()->getContext()->getOutput() - ->addWikiTextTitleTidy( '{{:' . $title->getFullText() . '}}', $this->getTitle() ); + ->addWikiTextTitleTidy( '{{:' . $title->getFullText() . '}}', $this->mTitle ); return true; } -- 2.20.1