From 9d8108bc3cd9c72b1cfcdf3f85c0931d649a2eee Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sun, 13 Jul 2003 22:45:09 +0000 Subject: [PATCH] Wrap langauge list in span dir=LTR for RTL local languages to avoid munging of punctuation --- includes/Skin.php | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.20.1