Index: trunk/phase3/includes/SkinTemplate.php |
— | — | @@ -311,7 +311,7 @@ |
312 | 312 | $tpl->set( 'userlangattributes', ''); |
313 | 313 | $tpl->set( 'specialpageattributes', ''); |
314 | 314 | |
315 | | - $code = $wgLang->getCode(); |
| 315 | + $lang = $wgLang->getCode(); |
316 | 316 | $dir = $wgLang->getDir(); |
317 | 317 | if ( $code !== $wgContLang->getCode() || $dir !== $wgContLang->getDir() ) { |
318 | 318 | $attrs = "lang='$lang' xml:lang='$lang' dir='$dir'"; |