* Redundant script that isn't used by anything
[lhc/web/wiklou.git] / includes / SpecialListredirects.php
index 804df55..f717ef7 100644 (file)
@@ -8,9 +8,6 @@
  * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
  */
 
-/* */
-require_once 'QueryPage.php';
-
 /**
  * @package MediaWiki
  * @subpackage SpecialPage
@@ -31,8 +28,11 @@ class ListredirectsPage extends QueryPage {
        }
 
        function formatResult( $skin, $result ) {
+               global $wgContLang;
+       
                # 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
@@ -52,7 +52,7 @@ class ListredirectsPage extends QueryPage {
                }
 
                # Format the whole thing and return it
-               return( $rd_link . ' → ' . $targetLink );
+               return "$rd_link $arr $targetLink";
 
        }
 
@@ -64,4 +64,4 @@ function wfSpecialListredirects() {
        $lrp->doQuery( $offset, $limit );
 }
 
-?>
\ No newline at end of file
+?>