tableNames( 'cur', 'links' ) ); return "SELECT 'Deadendpages' as type, cur_namespace AS namespace, cur_title as title, cur_title AS value " . "FROM $cur LEFT JOIN $links ON cur_id = l_from " . "WHERE l_from IS NULL " . "AND cur_namespace = 0 " . "AND cur_is_redirect = 0"; } } /** * Constructor */ function wfSpecialDeadendpages() { list( $limit, $offset ) = wfCheckLimits(); $depp = new DeadendPagesPage(); return $depp->doQuery( $offset, $limit ); } ?>