Manuel:$wgAdvancedSearchHighlighting

From mediawiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgAdvancedSearchHighlighting and the translation is 20% complete.
Other languages:
English • ‎français • ‎magyar • ‎polski • ‎русский • ‎中文 • ‎日本語
Recherche: $wgAdvancedSearchHighlighting
Set to true to have more useful text snippets in search results.
Introduit dans la version :1.13.0 (r34210)
Retiré dans la version :Encore utilisé
Valeurs autorisées :(boolean)
Valeur par défaut :false

Détails

Set to true to have more useful text snippets in search results: $wgAdvancedSearchHighlighting basically does not really change the way a search hit is highlighted. In so far the option is poorly named. What it in fact does change is which part(s) of a result page get(s) displayed: Without $wgAdvancedSearchHighlighting set, irrelevant parts might show up while with $wgAdvancedSearchHighlighting set to true, the places of the exact hits are more likely to be displayed. Off by default due to execution overhead.