r62502 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r62501‎ | r62502 | r62503 >
Date:08:36, 15 February 2010
Author:mah
Status:resolved (Comments)
Tags:
Comment:
follow up r61101 for special pages like Special:Version and Special:RecentChanges
Modified paths:
  • /trunk/phase3/includes/parser/Parser.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/parser/Parser.php
@@ -367,7 +367,11 @@
368368 $this->mOutput->setTitleText( $wgContLang->getConvRuleTitle() );
369369 } elseif ( !( $wgDisableLangConversion
370370 || isset( $this->mDoubleUnderscores['notitleconvert'] ) ) ) {
371 - $this->mOutput->setTitleText( $wgContLang->convert( $title->getPrefixedText() ) );
 371+ if ( $title->getNamespace() == NS_SPECIAL ) {
 372+ $this->setTitle( $wgContLang->convert( $title ) );
 373+ } else {
 374+ $this->mOutput->setTitleText( $wgContLang->convert( $title->getPrefixedText() ) );
 375+ }
372376 }
373377
374378 $text = $this->mStripState->unstripNoWiki( $text );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r61101follow up r60832 and follow up r60763...mah19:14, 15 January 2010

Comments

#Comment by Tim Starling (talk | contribs)   04:49, 16 February 2010

Was removed in r62539.

Status & tagging log