Index: trunk/phase3/languages/LanguageConverter.php |
— | — | @@ -30,6 +30,7 @@ |
31 | 31 | var $mFlags; |
32 | 32 | var $mDescCodeSep = ':', $mDescVarSep = ';'; |
33 | 33 | var $mUcfirst = false; |
| 34 | + var $mHeaderVariant; |
34 | 35 | |
35 | 36 | const CACHE_VERSION_KEY = 'VERSION 6'; |
36 | 37 | |
— | — | @@ -543,7 +544,8 @@ |
544 | 545 | * @return string converted text |
545 | 546 | * @public |
546 | 547 | */ |
547 | | - function convert( $text ) { |
| 548 | + function convert( $text, $isTitle ) { |
| 549 | + global $wgDisableLangConversion; |
548 | 550 | if ( $wgDisableLangConversion ) return $text; |
549 | 551 | |
550 | 552 | $plang = $this->getPreferredVariant(); |