37 protected function titles( array $titles ) {
45 protected function strings( array $strings ) {
46 $titles = array_map( [ Title::class,
'newFromText' ], $strings );
47 $linkBatchFactory = MediaWikiServices::getInstance()->getLinkBatchFactory();
48 $lb = $linkBatchFactory->newLinkBatch( $titles );
49 $lb->setCaller( __METHOD__ );
Handles searching prefixes of titles and finding any page names that match.
Performs prefix search, returning Title objects.