From: Robin Pepermans Date: Wed, 13 Jul 2011 13:33:37 +0000 (+0000) Subject: Follow-up r92054: dir attributes are no longer needed (displays it incorrectly when... X-Git-Tag: 1.31.0-rc.0~28876 X-Git-Url: http://git.cyclocoop.org/data/%24self?a=commitdiff_plain;h=97b975f4b6253c40e4f0cc6928b8d00ba0f43047;p=lhc%2Fweb%2Fwiklou.git Follow-up r92054: dir attributes are no longer needed (displays it incorrectly when user direction != content direction) --- diff --git a/includes/Skin.php b/includes/Skin.php index 87c1b02787..d8ad2cf35f 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -522,7 +522,7 @@ abstract class Skin { } function getCategoryLinks() { - global $wgUseCategoryBrowser, $wgContLang; + global $wgUseCategoryBrowser; $out = $this->getContext()->getOutput(); @@ -530,10 +530,7 @@ abstract class Skin { return ''; } - // Use Unicode bidi embedding override characters, - // to make sure links don't smash each other up in ugly ways. - $dir = $wgContLang->getDir(); - $embed = "
  • "; + $embed = "
  • "; $pop = "
  • "; $allCats = $out->getCategoryLinks();