From: Shinjiman Date: Sat, 10 Jan 2009 19:34:16 +0000 (+0000) Subject: follow up of r45642, only set page title when it is not on the special namespace X-Git-Tag: 1.31.0-rc.0~43464 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=128d787c1d254b2d1a9f3eadd9b3b5b9b1f31e98;p=lhc%2Fweb%2Fwiklou.git follow up of r45642, only set page title when it is not on the special namespace --- 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;