|
MediaWiki master
|
Performs prefix search, returning Title objects. More...
Inherits MediaWiki\Search\PrefixSearch.

Protected Member Functions | |
| strings (array $strings) | |
| titles (array $titles) | |
Protected Member Functions inherited from MediaWiki\Search\PrefixSearch | |
| searchBackend ( $namespaces, $search, $limit, $offset) | |
| Do a prefix search of titles and return a list of matching page names. | |
| specialSearch ( $search, $limit, $offset) | |
| Prefix search special-case for Special: namespace. | |
Additional Inherited Members | |
Public Member Functions inherited from MediaWiki\Search\PrefixSearch | |
| defaultSearchBackend ( $namespaces, $search, $limit, $offset) | |
| Unless overridden by PrefixSearchBackend hook... This is case-sensitive (First character may be automatically capitalized by Title::secureAndSpit() later on depending on $wgCapitalLinks) | |
| search ( $search, $limit, $namespaces=[], $offset=0) | |
| Do a prefix search of titles and return a list of matching page names. | |
| searchWithVariants ( $search, $limit, array $namespaces, $offset=0) | |
| Do a prefix search for all possible variants of the prefix. | |
Performs prefix search, returning Title objects.
Definition at line 19 of file TitlePrefixSearch.php.
|
protected |
| string[] | $strings |
Reimplemented from MediaWiki\Search\PrefixSearch.
Definition at line 33 of file TitlePrefixSearch.php.
References MediaWiki\MediaWikiServices\getInstance().
|
protected |
| Title[] | $titles |
Reimplemented from MediaWiki\Search\PrefixSearch.
Definition at line 25 of file TitlePrefixSearch.php.