From: Andrius R Date: Wed, 30 Nov 2005 17:29:21 +0000 (+0000) Subject: Bugs 4062, 3922 - unrecommended unicode control characters replaced with 'span dir... X-Git-Tag: 1.6.0~1094 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/supprimer.php?a=commitdiff_plain;h=4f49667e551d17823463e55920db89c7601598f4;p=lhc%2Fweb%2Fwiklou.git Bugs 4062, 3922 - unrecommended unicode control characters replaced with 'span dir=rtl/ltr' --- diff --git a/includes/Skin.php b/includes/Skin.php index e2b3c4f397..80915a690e 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -428,9 +428,8 @@ END; // Use Unicode bidi embedding override characters, // to make sure links don't smash each other up in ugly ways. - // FIXME: should we use 'dir=emded' or something on links instead? - $embed = $wgContLang->isRTL() ? '‫' : '‪'; - $pop = '‬'; + $embed = ""; + $pop = ''; $t = $embed . implode ( "$pop | $embed" , $wgOut->mCategoryLinks ) . $pop; $msg = count( $wgOut->mCategoryLinks ) === 1 ? 'categories1' : 'categories';