Index: trunk/phase3/skins/MonoBook.php |
— | — | @@ -373,11 +373,10 @@ |
374 | 374 | <?php |
375 | 375 | } |
376 | 376 | |
377 | | - private function langAttributes() |
378 | | - { |
| 377 | + private function langAttributes() { |
379 | 378 | global $wgLang; |
380 | | - $wgLangCode = $wgLang->getCode(); |
381 | | - return 'lang="' . $wgLangCode . '" xml:lang="' . $wgLangCode . '"'; |
| 379 | + $languageCode = $wgLang->getCode(); |
| 380 | + return 'lang="' . $languageCode . '" xml:lang="' . $languageCode . '"'; |
382 | 381 | } |
383 | 382 | } // end of class |
384 | 383 | |