From 14f9759b032be8dcbd484973270c92b65ec5ae27 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Wed, 25 Nov 2009 19:57:48 +0000 Subject: [PATCH] Set the Title object to the new $wgOut in SpecialPage::capturePath() --- includes/SpecialPage.php | 1 + 1 file changed, 1 insertion(+) 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 ) { -- 2.20.1