MediaWiki REL1_39
UserNamePrefixSearch_deprecated.php
Go to the documentation of this file.
1<?php
24
25// phpcs:disable MediaWiki.Files.ClassMatchesFilename.NotMatch
38
50 public static function search( $audience, $search, $limit, $offset = 0 ) {
51 return MediaWikiServices::getInstance()
52 ->getUserNamePrefixSearch()
53 ->search( $audience, (string)$search, (int)$limit, (int)$offset );
54 }
55}
Service locator for MediaWiki core services.
Handles searching prefixes of user names.
static search( $audience, $search, $limit, $offset=0)
Do a prefix search of user names and return a list of matching user names.