From: Alexandre Emsenhuber Date: Wed, 25 Nov 2009 19:57:48 +0000 (+0000) Subject: Set the Title object to the new $wgOut in SpecialPage::capturePath() X-Git-Tag: 1.31.0-rc.0~38711 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=14f9759b032be8dcbd484973270c92b65ec5ae27;p=lhc%2Fweb%2Fwiklou.git Set the Title object to the new $wgOut in SpecialPage::capturePath() --- diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php index 47ba99383d..f6781ed81a 100644 --- a/includes/SpecialPage.php +++ b/includes/SpecialPage.php @@ -574,6 +574,7 @@ class SpecialPage { $oldTitle = $wgTitle; $oldOut = $wgOut; $wgOut = new OutputPage; + $wgOut->setTitle( $title ); $ret = SpecialPage::executePath( $title, true ); if ( $ret === true ) {