Deactivated by default, set "$wgAllowDisplayTitle = true" in LocalSettings.php to activate
* Cleaned SpecialContributions a bit
* Added a table to track interlanguage links
-* Even further additions to Hebrew localisation
+* (bug 5544) Fix redirect arrow in Special:Listredirects for right-to-left languages
== Compatibility ==
}
function formatResult( $skin, $result ) {
+ global $wgContLang;
+
# Make a link to the redirect itself
$rd_title = Title::makeTitle( $result->namespace, $result->title );
$rd_link = $skin->makeKnownLinkObj( $rd_title, '', 'redirect=no' );
$targetLink = '*';
}
+ # Check the language; RTL wikis need a ←
+ $arr = $wgContLang->isRTL() ? ' ← ' : ' → ';
+
# Format the whole thing and return it
- return( $rd_link . ' → ' . $targetLink );
+ return( $rd_link . $arr . $targetLink );
}