summaryrefslogtreecommitdiff
path: root/includes/SpecialListredirects.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/SpecialListredirects.php')
-rw-r--r--includes/SpecialListredirects.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/includes/SpecialListredirects.php b/includes/SpecialListredirects.php
index 3cbdedab..f717ef72 100644
--- a/includes/SpecialListredirects.php
+++ b/includes/SpecialListredirects.php
@@ -32,6 +32,7 @@ class ListredirectsPage extends QueryPage {
# Make a link to the redirect itself
$rd_title = Title::makeTitle( $result->namespace, $result->title );
+ $arr = $wgContLang->getArrow() . $wgContLang->getDirMark();
$rd_link = $skin->makeKnownLinkObj( $rd_title, '', 'redirect=no' );
# Find out where the redirect leads
@@ -50,11 +51,8 @@ class ListredirectsPage extends QueryPage {
$targetLink = '*';
}
- # Check the language; RTL wikis need a ←
- $arr = $wgContLang->isRTL() ? ' ← ' : ' → ';
-
# Format the whole thing and return it
- return( $rd_link . $arr . $targetLink );
+ return "$rd_link $arr $targetLink";
}