tableName( 'user' ); $userspace = Namespace::getUser(); return "SELECT user_rights as type, $userspace as namespace, user_name as title, " . "user_name as value FROM $usertable"; } function sortDescending() { return false; } function formatResult( $skin, $result ) { global $wgLang; $name = $skin->makeKnownLink( $wgLang->getNsText($result->namespace) . ':' . $result->title, $result->title ); if( '' != $result->type ) { $name .= ' (' . $skin->makeKnownLink( wfMsg( "administrators" ), $result->type) . ')'; } return $name; } } function wfSpecialListusers() { global $wgUser, $wgOut, $wgLang; list( $limit, $offset ) = wfCheckLimits(); $slu = new ListUsersPage(); return $slu->doQuery( $offset, $limit ); } ?>