MediaWiki
1.32.5
|
Handles searching prefixes of user names. More...
Static Public Member Functions | |
static | search ( $audience, $search, $limit, $offset=0) |
Do a prefix search of user names and return a list of matching user names. More... | |
Handles searching prefixes of user names.
Definition at line 28 of file UserNamePrefixSearch.php.
|
static |
Do a prefix search of user names and return a list of matching user names.
string | User | $audience | The string 'public' or a user object to show the search for |
string | $search | |
int | $limit | |
int | $offset | How many results to offset from the beginning |
Definition at line 39 of file UserNamePrefixSearch.php.
References $dbr, $res, $tables, $user, DB_REPLICA, User\newFromName(), and wfGetDB().
Referenced by SpecialListFiles\prefixSearchSubpages(), SpecialUnblock\prefixSearchSubpages(), SpecialNuke\prefixSearchSubpages(), SpecialRenameuser\prefixSearchSubpages(), SpecialEmailUser\prefixSearchSubpages(), SpecialContributions\prefixSearchSubpages(), UserrightsPage\prefixSearchSubpages(), and SpecialBlock\prefixSearchSubpages().