Manual:$wgSearchTypeAlternatives
From Linux Web Expert
<translate> Database settings</translate>: $wgSearchTypeAlternatives | |
---|---|
Alternative search types. |
|
<translate> Introduced in version:</translate> | 1.22.0 (Gerrit change 76950; git #dd21f34c) |
<translate> Removed in version:</translate> | <translate> still in use</translate> |
<translate> Allowed values:</translate> | (string) or null |
<translate> Default value:</translate> | null |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Details
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.