From: Siebrand Mazeland Date: Mon, 29 Oct 2012 16:26:13 +0000 (+0100) Subject: OutputPage::addWikiTextTitleTidy() requires variable as second para X-Git-Tag: 1.31.0-rc.0~21816^2 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=9d474f73d2f73d374dc70c7b2a5616d63c11ed31;p=lhc%2Fweb%2Fwiklou.git OutputPage::addWikiTextTitleTidy() requires variable as second para Was trowing PHP Strict Standards: Only variables should be passed by reference. Change-Id: I97ede1c61636c9758408b66b84694c2a5825a259 --- 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; }