Jump to content

手册:$wgAdvancedSearchHighlighting

From mediawiki.org
This page is a translated version of the page Manual:$wgAdvancedSearchHighlighting and the translation is 30% complete.
搜索: $wgAdvancedSearchHighlighting
Set to true to have more useful text snippets in search results.
引进版本:1.13.0 (r34210)
移除版本:仍在使用
允许的值:(布尔值)
默认值:false

详情

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.