Jump to content

Manual:$wgSearchTypeAlternatives

From mediawiki.org
Database settings: $wgSearchTypeAlternatives
Alternative search types.
Introduced in version:1.22.0 (Gerrit change 76950; git #dd21f34c)
Removed in version:Still in use
Allowed values:(string) or null
Default value:null

Details

[edit]

Alternative search types. Sometimes you want to support multiple search engines for testing. This allows users to select their search engine of choice via the URL parameter srbackend in Special:Search and parameters in the action=search API. If using this, there's no need to add $wgSearchType to it, that is handled automatically.

See also

[edit]