Manual:$wgSearchTypeAlternatives

From Linux Web Expert

Revision as of 18:38, 28 January 2022 by imported>Shirayuki (new tvar syntax)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<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

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.

See also