From 97b975f4b6253c40e4f0cc6928b8d00ba0f43047 Mon Sep 17 00:00:00 2001 From: Robin Pepermans Date: Wed, 13 Jul 2011 13:33:37 +0000 Subject: [PATCH] Follow-up r92054: dir attributes are no longer needed (displays it incorrectly when user direction != content direction) --- includes/Skin.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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(); -- 2.20.1