dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2930663
)
follow up of r45642, only set page title when it is not on the special namespace
author
Shinjiman
<shinjiman@users.mediawiki.org>
Sat, 10 Jan 2009 19:34:16 +0000
(19:34 +0000)
committer
Shinjiman
<shinjiman@users.mediawiki.org>
Sat, 10 Jan 2009 19:34:16 +0000
(19:34 +0000)
includes/OutputPage.php
patch
|
blob
|
history
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
b3e727c
..
b728f06
100644
(file)
--- 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;