dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d672207
)
Wrap langauge list in span dir=LTR for RTL local languages to avoid munging of punctu...
author
Brion Vibber
<brion@users.mediawiki.org>
Sun, 13 Jul 2003 22:45:09 +0000
(22:45 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Sun, 13 Jul 2003 22:45:09 +0000
(22:45 +0000)
includes/Skin.php
patch
|
blob
|
history
diff --git
a/includes/Skin.php
b/includes/Skin.php
index
7938a57
..
fc52a2e
100644
(file)
--- a/
includes/Skin.php
+++ b/
includes/Skin.php
@@
-948,6
+948,7
@@
class Skin {
}
$first = true;
+ if($wgLang->isRTL()) $s .= "<span dir='LTR'>";
foreach( $a as $l ) {
if ( ! $first ) { $s .= " | "; }
$first = false;
@@
-960,6
+961,7
@@
class Skin {
$style = $this->getExternalLinkAttributes( $l, $text );
$s .= "<a href=\"{$url}\"{$style}>{$text}</a>";
}
+ if($wgLang->isRTL()) $s .= "</span>";
return $s;
}