Last modified: 2011-09-20 19:29:17 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32944, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30944 - config var $wgAdvancedSearchHighlighting has no influence on search result
config var $wgAdvancedSearchHighlighting has no influence on search result
Status: NEW
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
1.17.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-17 01:14 UTC by Daniel A. R. Werner
Modified: 2011-09-20 19:29 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel A. R. Werner 2011-09-17 01:14:08 UTC
according to http://www.mediawiki.org/wiki/Manual:$wgAdvancedSearchHighlighting , $wgAdvancedSearchHighlighting should highlight the search result in some way. I tested it in MW 1.17 and there is no difference at all, I guess this feature is either broken or not documented good enough.
Comment 1 Brion Vibber 2011-09-19 18:30:03 UTC
The SphinxMWSearch extension appears to replace the default MediaWiki search results highlighter code unless you have set $wgSphinxSearchMWHighlighter to true:

# Set to true to use MW's default search snippets and highlighting
$wgSphinxSearchMWHighlighter = false;

So it's not surprising if changes to its configuration don't take effect, as you're probably not using it. :)
Comment 2 Mark A. Hershberger 2011-09-20 16:54:16 UTC
(In reply to comment #1)
> The SphinxMWSearch extension appears to replace the default MediaWiki search
> results highlighter code unless you have set $wgSphinxSearchMWHighlighter to
> true:

Is there some information missing from this bug report to indicate that Daniel was using the SphinxMWSearch extension?
Comment 3 Daniel A. R. Werner 2011-09-20 19:29:17 UTC
I can't see what this has to do with SphinxMWSearch, at least I don't use it and it isn't mentioned on http://www.mediawiki.org/wiki/Manual:$wgAdvancedSearchHighlighting

So you need the extension for $wgAdvancedSearchHighlighting to take any effect or what?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links