From: Aaron Schulz Date: Sat, 16 Jan 2010 07:18:16 +0000 (+0000) Subject: Made noSuchSectionPage() use mTitle X-Git-Tag: 1.31.0-rc.0~38245 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=9b973bf9d260a68bf5e4b785d28bf9aee91e536f;p=lhc%2Fweb%2Fwiklou.git Made noSuchSectionPage() use mTitle --- diff --git a/includes/EditPage.php b/includes/EditPage.php index db2935ee77..5f6d68d8f1 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -2046,14 +2046,14 @@ INPUTS * they have attempted to edit a nonexistent section. */ function noSuchSectionPage() { - global $wgOut, $wgTitle; + global $wgOut; $wgOut->setPageTitle( wfMsg( 'nosuchsectiontitle' ) ); $wgOut->setRobotPolicy( 'noindex,nofollow' ); $wgOut->setArticleRelated( false ); $wgOut->addWikiMsg( 'nosuchsectiontext', $this->section ); - $wgOut->returnToMain( false, $wgTitle ); + $wgOut->returnToMain( false, $this->mTitle ); } /**