Second batch of files modified to replace selected wgLang with wgContLang
[lhc/web/wiklou.git] / includes / SpecialBrokenRedirects.php
index 42bba16..299bc81 100644 (file)
@@ -1,7 +1,20 @@
 <?php
+/**
+ *
+ * @package MediaWiki
+ * @subpackage SpecialPage
+ */
 
+/**
+ *
+ */
 require_once('QueryPage.php');
 
+/**
+ *
+ * @package MediaWiki
+ * @subpackage SpecialPage
+ */
 class BrokenRedirectsPage extends PageQueryPage {
 
        function getName() {
@@ -29,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 );
@@ -40,6 +53,9 @@ class BrokenRedirectsPage extends PageQueryPage {
        }
 }
 
+/**
+ * constructor
+ */
 function wfSpecialBrokenRedirects() {
        list( $limit, $offset ) = wfCheckLimits();