Manual talk:$wgAdvancedSearchHighlighting

Add topic
From mediawiki.org
Latest comment: 3 years ago by Jonathan3
MediaWiki Version
  • Unsuccessfully tested in MediaWiki 1.13.4 PHP 5.1.6(apache2handler) MySQL 5.0.22. Set to true but no highlightning of search results.
Same here, can't see any difference in MW 1.17 --Danwe 01:10, 17 September 2011 (UTC)Reply
Same with MW1.18 (no change noticed) Jonathan3 20:47, 13 January 2012 (UTC)Reply

The functionality in fact is still present. It basically does not really change the way a hit is highlighted. In so far the option is poorly named. But what it 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. I have updated the manual page accordingly. --Jörgi123 (talk) 22:08, 27 December 2018 (UTC)Reply

Thanks for clarifying. This setting works to improve Extension:Cargo "MATCHES" search results. Without it, results for search terms within double quotation marks displayed irrelevant text. With it, results for the same searches show the search terms highlighted as expected. Jonathan3 (talk) 09:02, 9 April 2021 (UTC)Reply