Index: trunk/phase3/includes/installer/CoreInstaller.php |
— | — | @@ -263,7 +263,7 @@ |
264 | 264 | */ |
265 | 265 | public function setParserLanguage( $lang ) { |
266 | 266 | $this->parserOptions->setTargetLanguage( $lang ); |
267 | | - $this->parserOptions->setUserLang( $lang ); |
| 267 | + $this->parserOptions->setUserLang( $lang->getCode() ); |
268 | 268 | } |
269 | 269 | |
270 | 270 | /** |
Index: trunk/phase3/config/index.php |
— | — | @@ -39,7 +39,7 @@ |
40 | 40 | } |
41 | 41 | $wgLang = Language::factory( $langCode ); |
42 | 42 | |
43 | | - $installer->setParserLanguage( $wgLang->getCode() ); |
| 43 | + $installer->setParserLanguage( $wgLang ); |
44 | 44 | |
45 | 45 | $wgMetaNamespace = $wgCanonicalNamespaceNames[NS_PROJECT]; |
46 | 46 | |