Second batch of files modified to replace selected wgLang with wgContLang
[lhc/web/wiklou.git] / includes / SpecialBrokenRedirects.php
index a7514ba..299bc81 100644 (file)
@@ -42,9 +42,9 @@ class BrokenRedirectsPage extends PageQueryPage {
        }
        
        function formatResult( $skin, $result ) {
-               global $wgLang ;
+               global $wgContLang ;
                
-               $ns = $wgLang->getNamespaces() ;
+               $ns = $wgContLang->getNamespaces() ; /* not used, why bother? */
                $from = $skin->makeKnownLink( $result->cur_title ,'', 'redirect=no' );
                $edit = $skin->makeBrokenLink( $result->cur_title , "(".wfMsg("qbedit").")" , 'redirect=no');
                $to   = $skin->makeBrokenLink( $result->bl_to );