Manual:Hooks/PrefixSearchBackend

Details

 * : int namespace key to search in
 * : search term (not guaranteed to be conveniently normalized)
 * : maximum number of results to return
 * : out param: array of page names (strings)