|Set this to a URL to forward search requests to some external location.
|Introduced in version:||1.4.0|
|Removed in version:||still in use|
|Allowed values:||(URL string)|
|Other settings: Alphabetical | By function|
Set this to a URL to forward search requests to some external location.
If the URL includes '
$1', this will be replaced with the URL-encoded search term.
For example, to forward to Google you'd have something like:
$wgSearchForwardUrl = 'http://www.google.com/search?q=$1' . '&domains=http://example.com' . '&sitesearch=http://example.com' . '&ie=utf-8&oe=utf-8';
You also need to set
$wgDisableTextSearch = true; or $wgSearchForwardUrl is ignored.