* (bug 3922) Further tweaks to bidi overrides in category list for old
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 30 Nov 2005 22:29:16 +0000 (22:29 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 30 Nov 2005 22:29:16 +0000 (22:29 +0000)
  versions of Safari and Konqueror
Add RELEASE-NOTES line, and tweak source to be slightly prettier

RELEASE-NOTES
includes/Skin.php

index 1e6349b..839014d 100644 (file)
@@ -262,6 +262,8 @@ fully support the editing toolbar, but was found to be too confusing.
 * Fix display of old recentchanges records for page moves
 * (bug 2111) Collapsable exif metadata table, clean up display
 * Reduce fractions in display of exif exposure time
+* (bug 3922) Further tweaks to bidi overrides in category list for old
+  versions of Safari and Konqueror
 
 
 === Caveats ===
index 80915a6..5abb870 100644 (file)
@@ -428,7 +428,8 @@ END;
 
                // Use Unicode bidi embedding override characters,
                // to make sure links don't smash each other up in ugly ways.
-               $embed = "<span dir='" . ($wgContLang->isRTL() ? 'rtl' : 'ltr') . "'>";
+               $dir = $wgContLang->isRTL() ? 'rtl' : 'ltr';
+               $embed = "<span dir='$dir'>";
                $pop = '</span>';
                $t = $embed . implode ( "$pop | $embed" , $wgOut->mCategoryLinks ) . $pop;