From: Robin Pepermans Date: Mon, 12 Dec 2011 22:05:40 +0000 (+0000) Subject: not sure if this span is really needed, but in any case it depends on user language... X-Git-Tag: 1.31.0-rc.0~26027 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=9c4ae11b750ecb640fc47c90daeb7fefc407b497;p=lhc%2Fweb%2Fwiklou.git not sure if this span is really needed, but in any case it depends on user language, not content language --- diff --git a/includes/SkinLegacy.php b/includes/SkinLegacy.php index 3e1d69821b..abb7447d5f 100644 --- a/includes/SkinLegacy.php +++ b/includes/SkinLegacy.php @@ -345,7 +345,7 @@ class LegacyTemplate extends BaseTemplate { } function otherLanguages() { - global $wgOut, $wgContLang, $wgHideInterlanguageLinks; + global $wgOut, $wgLang, $wgHideInterlanguageLinks; if ( $wgHideInterlanguageLinks ) { return ''; @@ -360,8 +360,8 @@ class LegacyTemplate extends BaseTemplate { $s = wfMsg( 'otherlanguages' ) . wfMsg( 'colon-separator' ); $first = true; - if ( $wgContLang->isRTL() ) { - $s .= ''; + if ( $wgLang->isRTL() ) { + $s .= ''; } foreach ( $a as $l ) { @@ -379,7 +379,7 @@ class LegacyTemplate extends BaseTemplate { $text == '' ? $l : $text ); } - if ( $wgContLang->isRTL() ) { + if ( $wgLang->isRTL() ) { $s .= ''; }