From: Brion Vibber Date: Sun, 13 Jul 2003 22:45:09 +0000 (+0000) Subject: Wrap langauge list in span dir=LTR for RTL local languages to avoid munging of punctu... X-Git-Tag: 1.1.0~390 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22lang_raccourcis%22%2C%22module=%24nom_module%22%29%20.%20%22?a=commitdiff_plain;h=9d8108bc3cd9c72b1cfcdf3f85c0931d649a2eee;p=lhc%2Fweb%2Fwiklou.git Wrap langauge list in span dir=LTR for RTL local languages to avoid munging of punctuation --- diff --git a/includes/Skin.php b/includes/Skin.php index 7938a57542..fc52a2e0f3 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -948,6 +948,7 @@ class Skin { } $first = true; + if($wgLang->isRTL()) $s .= ""; foreach( $a as $l ) { if ( ! $first ) { $s .= " | "; } $first = false; @@ -960,6 +961,7 @@ class Skin { $style = $this->getExternalLinkAttributes( $l, $text ); $s .= "{$text}"; } + if($wgLang->isRTL()) $s .= ""; return $s; }