MediaWiki  master
SpecialSearchSetupEngineHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use SearchEngine;
6 use SpecialSearch;
7 
26  public function onSpecialSearchSetupEngine( $search, $profile, $engine );
27 }
Contain a class for special pages.
implements Special:Search - Run text & title search and display the output
This is a hook handler interface, see docs/Hooks.md.
onSpecialSearchSetupEngine( $search, $profile, $engine)
Use this hook for passing custom data to the search engine.