Index: trunk/phase3/includes/parser/Parser.php |
— | — | @@ -303,7 +303,7 @@ |
304 | 304 | * to internalParse() which does all the real work. |
305 | 305 | */ |
306 | 306 | |
307 | | - global $wgUseTidy, $wgAlwaysUseTidy, $wgContLang, $wgDisableLangConversion, $wgDisableTitleConversion, $wgUser, $wgRequest, $wgOut; |
| 307 | + global $wgUseTidy, $wgAlwaysUseTidy, $wgContLang, $wgDisableLangConversion, $wgDisableTitleConversion, $wgUser, $wgRequest; |
308 | 308 | $fname = __METHOD__.'-' . wfGetCaller(); |
309 | 309 | wfProfileIn( __METHOD__ ); |
310 | 310 | wfProfileIn( $fname ); |
— | — | @@ -386,7 +386,7 @@ |
387 | 387 | if ( $convruletitle ) { |
388 | 388 | $this->mOutput->setTitleText( $convruletitle ); |
389 | 389 | } else { |
390 | | - $wgOut->setPageTitle( $wgContLang->convert( $wgOut->getPageTitle(), true ) ); |
| 390 | + $this->mOutput->setTitleText( $wgContLang->convert( $title->getPrefixedText(), true ) ); |
391 | 391 | } |
392 | 392 | } |
393 | 393 | |