Second batch of files modified to replace selected wgLang with wgContLang
[lhc/web/wiklou.git] / includes / SpecialBrokenRedirects.php
index 55a676e..299bc81 100644 (file)
@@ -1,6 +1,8 @@
 <?php
 /**
  *
+ * @package MediaWiki
+ * @subpackage SpecialPage
  */
 
 /**
@@ -10,6 +12,8 @@ require_once('QueryPage.php');
 
 /**
  *
+ * @package MediaWiki
+ * @subpackage SpecialPage
  */
 class BrokenRedirectsPage extends PageQueryPage {
 
@@ -38,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 );