'.wfMsg('brokenredirectstext')."


\n"; } function getSQL() { $dbr =& wfGetDB( DB_SLAVE ); extract( $dbr->tableNames( 'page', 'brokenlinks' ) ); $sql = "SELECT bl_to,page_title FROM $brokenlinks,$page " . 'WHERE page_is_redirect=1 AND page_namespace='.NS_MAIN.' AND bl_from=page_id '; return $sql; } function getOrder() { return ''; } function formatResult( $skin, $result ) { global $wgContLang ; $ns = $wgContLang->getNamespaces() ; /* not used, why bother? */ $from = $skin->makeKnownLink( $result->page_title ,'', 'redirect=no' ); $edit = $skin->makeBrokenLink( $result->page_title , "(".wfMsg("qbedit").")" , 'redirect=no'); $to = $skin->makeBrokenLink( $result->bl_to ); return "$from $edit => $to"; } } /** * constructor */ function wfSpecialBrokenRedirects() { list( $limit, $offset ) = wfCheckLimits(); $sbr = new BrokenRedirectsPage(); return $sbr->doQuery( $offset, $limit ); } ?>