Manual:$wgSearchForwardUrl/pl

Category:MediaWiki configuration settings/pl#SearchForwardUrlCategory:MediaWiki configuration settings introduced in version 1.4.0/pl#SearchForwardUrlCategory:MediaWiki configuration settings still in use/pl#SearchForwardUrlCategory:Search variables/pl#SearchForwardUrl
Wyszukiwanie: $wgSearchForwardUrl
Set this to a URL to forward search requests to an external location.
Wprowadzono w wersji:1.4.0
Usunięto w wersji:nadal w użyciu
Dozwolone wartości:(URL string)
Domyślna wartość:null

Szczegóły

Set this to a URL to forward Special:Search to an external location. If the URL includes $1, this will be replaced with the URL-encoded search term. For example, to forward to DuckDuckGo you could set the following (below $wgServer) in LocalSettings.php:

$wgSearchForwardUrl = 'https://duckduckgo.com/?q=$1&sites=' . $wgServer;

You also need to set $wgDisableTextSearch = true; or $wgSearchForwardUrl is ignored.

From versions 1.4.8 to 1.4.15, this setting was incorrectly named $wgForwardSearchUrl in DefaultSettings.php. If you are using one of those versions then this alternative name should be used instead.
Category:MediaWiki configuration settings/pl Category:MediaWiki configuration settings introduced in version 1.4.0/pl Category:MediaWiki configuration settings still in use/pl Category:Search variables/pl