From daf51bcdb3e3328c2b252502477ab6f7e61a2eb4 Mon Sep 17 00:00:00 2001 From: "Mark A. Hershberger" Date: Mon, 15 Feb 2010 08:36:10 +0000 Subject: [PATCH] follow up r61101 for special pages like Special:Version and Special:RecentChanges --- includes/parser/Parser.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index a918646ab0..d6f8d083c3 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -367,7 +367,11 @@ class Parser $this->mOutput->setTitleText( $wgContLang->getConvRuleTitle() ); } elseif ( !( $wgDisableLangConversion || isset( $this->mDoubleUnderscores['notitleconvert'] ) ) ) { - $this->mOutput->setTitleText( $wgContLang->convert( $title->getPrefixedText() ) ); + if ( $title->getNamespace() == NS_SPECIAL ) { + $this->setTitle( $wgContLang->convert( $title ) ); + } else { + $this->mOutput->setTitleText( $wgContLang->convert( $title->getPrefixedText() ) ); + } } $text = $this->mStripState->unstripNoWiki( $text ); -- 2.20.1