Manual talk:$wgMWSuggestTemplate

Increase number of search results returned by AJAX
Here's a quick way to increase the number of search results returned by AJAX Search. It works for a default installation of MediaWiki 1.13. In LocalSettings.php:

$wgMWSuggestTemplate = SearchEngine::getMWSuggestTemplate. '&limit=20';

--Maiden taiwan 02:45, 19 August 2008 (UTC)

example
Try this to search into your configured namespaces: $wgMWSuggestTemplate = $wgServer. $wgScriptPath. '/api.php?action=opensearch&search={searchTerms}&limit=20&namespace={namespaces}'; Or to specify namespaces, for example: $wgMWSuggestTemplate = $wgServer. $wgScriptPath. '/api.php?action=opensearch&search={searchTerms}&limit=20&namespace=100|104|106|108';

But it seems that MW (1.13.3) do searches only into the first namespace