Index: branches/wmf/1.16wmf4/includes/parser/Parser.php |
— | — | @@ -349,8 +349,8 @@ |
350 | 350 | /** |
351 | 351 | * The page doesn't get language converted if |
352 | 352 | * a) It's disabled |
353 | | - * c) Content isn't converted |
354 | | - * d) It's a conversion table |
| 353 | + * b) Content isn't converted |
| 354 | + * c) It's a conversion table |
355 | 355 | */ |
356 | 356 | if ( !( $wgDisableLangConversion |
357 | 357 | || isset( $this->mDoubleUnderscores['nocontentconvert'] ) |
— | — | @@ -389,7 +389,7 @@ |
390 | 390 | $this->mOutput->setTitleText( $convruletitle ); |
391 | 391 | } |
392 | 392 | else { |
393 | | - $this->mOutput->setTitleText( $wgContLang->convert( $title->getText() ) ); |
| 393 | + $this->mOutput->setTitleText( $wgContLang->convert( $title->getPrefixedText() ) ); |
394 | 394 | } |
395 | 395 | } |
396 | 396 | |
Index: branches/REL1_16/phase3/includes/parser/Parser.php |
— | — | @@ -389,7 +389,7 @@ |
390 | 390 | $this->mOutput->setTitleText( $convruletitle ); |
391 | 391 | } |
392 | 392 | else { |
393 | | - $this->mOutput->setTitleText( $wgContLang->convert( $title->getText() ) ); |
| 393 | + $this->mOutput->setTitleText( $wgContLang->convert( $title->getPrefixedText() ) ); |
394 | 394 | } |
395 | 395 | } |
396 | 396 | |