Manual:$wgAdvancedSearchHighlighting/zh

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
<translate> Search</translate>: $wgAdvancedSearchHighlighting
Set to true to have more useful text snippets in search results.
<translate> Introduced in version:</translate>1.13.0 (r34210)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(布尔值)
<translate> Default value:</translate>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.