revert r106095, fix apparently not this simple
[lhc/web/wiklou.git] / includes / specials / SpecialBrokenRedirects.php
index cf36ae7..b8dbe9e 100644 (file)
@@ -47,6 +47,7 @@ class BrokenRedirectsPage extends PageQueryPage {
                                        'p2' => 'page' ),
                        'fields' => array( 'p1.page_namespace AS namespace',
                                        'p1.page_title AS title',
+                                       'p1.page_title AS value',
                                        'rd_namespace',
                                        'rd_title'
                        ),
@@ -114,7 +115,7 @@ class BrokenRedirectsPage extends PageQueryPage {
                        array(),
                        array( 'broken' )
                );
-               $arr = $this->getLang()->getArrow();
+               $arr = $this->getLanguage()->getArrow();
 
                $out = $from . $this->msg( 'word-separator' )->escaped();
 
@@ -127,7 +128,7 @@ class BrokenRedirectsPage extends PageQueryPage {
                        );
                }
 
-               $out .= $this->msg( 'parentheses' )->rawParams( $this->getLang()->pipeList( $links ) )->escaped();
+               $out .= $this->msg( 'parentheses' )->rawParams( $this->getLanguage()->pipeList( $links ) )->escaped();
                $out .= " {$arr} {$to}";
                return $out;
        }