Follow-up r92054: dir attributes are no longer needed (displays it incorrectly when...
authorRobin Pepermans <robin@users.mediawiki.org>
Wed, 13 Jul 2011 13:33:37 +0000 (13:33 +0000)
committerRobin Pepermans <robin@users.mediawiki.org>
Wed, 13 Jul 2011 13:33:37 +0000 (13:33 +0000)
includes/Skin.php

index 87c1b02..d8ad2cf 100644 (file)
@@ -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 = "<li dir='$dir'>";
+               $embed = "<li>";
                $pop = "</li>";
 
                $allCats = $out->getCategoryLinks();