From 128d787c1d254b2d1a9f3eadd9b3b5b9b1f31e98 Mon Sep 17 00:00:00 2001 From: Shinjiman Date: Sat, 10 Jan 2009 19:34:16 +0000 Subject: [PATCH] follow up of r45642, only set page title when it is not on the special namespace --- includes/OutputPage.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index b3e727c4f0..b728f067b0 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -511,7 +511,8 @@ class OutputPage { $this->mLanguageLinks += $parserOutput->getLanguageLinks(); $this->addCategoryLinks( $parserOutput->getCategories() ); $this->mNewSectionLink = $parserOutput->getNewSection(); - $this->setPageTitle($parserOutput->mTitleText); + if ($wgTitle->mNamespace !== NS_SPECIAL) + $this->setPageTitle($parserOutput->getTitleText()); if( is_null( $wgExemptFromUserRobotsControl ) ) { $bannedNamespaces = $wgContentNamespaces; -- 2.20.1