From 9c4ae11b750ecb640fc47c90daeb7fefc407b497 Mon Sep 17 00:00:00 2001 From: Robin Pepermans Date: Mon, 12 Dec 2011 22:05:40 +0000 Subject: [PATCH] not sure if this span is really needed, but in any case it depends on user language, not content language --- includes/SkinLegacy.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 .= ''; } -- 2.20.1