From 9b973bf9d260a68bf5e4b785d28bf9aee91e536f Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 16 Jan 2010 07:18:16 +0000 Subject: [PATCH] Made noSuchSectionPage() use mTitle --- includes/EditPage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); } /** -- 2.20.1