<?php
+/**
+ *
+ * @package MediaWiki
+ * @subpackage SpecialPage
+ */
+/**
+ *
+ */
require_once('QueryPage.php');
+/**
+ *
+ * @package MediaWiki
+ * @subpackage SpecialPage
+ */
class BrokenRedirectsPage extends PageQueryPage {
function getName() {
}
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 );
}
}
+/**
+ * constructor
+ */
function wfSpecialBrokenRedirects() {
list( $limit, $offset ) = wfCheckLimits();