tableNames( 'page', 'links' ) ); return "SELECT 'Lonelypages' as type, page_namespace AS namespace, page_title AS title, page_title AS value " . "FROM $page LEFT JOIN $links ON page_id=l_to ". 'WHERE l_to IS NULL AND page_namespace='.NS_MAIN.' AND page_is_redirect=0'; } } /** * Constructor */ function wfSpecialLonelypages() { list( $limit, $offset ) = wfCheckLimits(); $lpp = new LonelyPagesPage(); return $lpp->doQuery( $offset, $limit ); } ?>