Index: trunk/phase3/includes/SkinLegacy.php |
— | — | @@ -345,7 +345,7 @@ |
346 | 346 | } |
347 | 347 | |
348 | 348 | function otherLanguages() { |
349 | | - global $wgOut, $wgContLang, $wgHideInterlanguageLinks; |
| 349 | + global $wgOut, $wgLang, $wgHideInterlanguageLinks; |
350 | 350 | |
351 | 351 | if ( $wgHideInterlanguageLinks ) { |
352 | 352 | return ''; |
— | — | @@ -360,8 +360,8 @@ |
361 | 361 | $s = wfMsg( 'otherlanguages' ) . wfMsg( 'colon-separator' ); |
362 | 362 | $first = true; |
363 | 363 | |
364 | | - if ( $wgContLang->isRTL() ) { |
365 | | - $s .= '<span dir="LTR">'; |
| 364 | + if ( $wgLang->isRTL() ) { |
| 365 | + $s .= '<span dir="ltr">'; |
366 | 366 | } |
367 | 367 | |
368 | 368 | foreach ( $a as $l ) { |
— | — | @@ -379,7 +379,7 @@ |
380 | 380 | $text == '' ? $l : $text ); |
381 | 381 | } |
382 | 382 | |
383 | | - if ( $wgContLang->isRTL() ) { |
| 383 | + if ( $wgLang->isRTL() ) { |
384 | 384 | $s .= '</span>'; |
385 | 385 | } |
386 | 386 | |