MediaWiki  master
PrefixSearchBackendHook.php
Go to the documentation of this file.
1 <?php
2 
4 
26  public function onPrefixSearchBackend( $ns, $search, $limit, &$results,
27  $offset
28  );
29 }
MediaWiki\Search\Hook
Definition: PrefixSearchBackendHook.php:3
MediaWiki\Search\Hook\PrefixSearchBackendHook
This is a hook handler interface, see docs/Hooks.md.
Definition: PrefixSearchBackendHook.php:12
MediaWiki\Search\Hook\PrefixSearchBackendHook\onPrefixSearchBackend
onPrefixSearchBackend( $ns, $search, $limit, &$results, $offset)
Use this hook to override the title prefix search used for OpenSearch and AJAX search suggestions.