Hallo!
I dont't not what was the cause but when I search for a word or a phrase this word or phrase gets no no red highlighting in the results. I compared the source of the search result page on my wiki (unfortanetly a closed corporate wiki - so I can't give a link) and wikipedia and found that my results are not surrounded by <span class="searchmatch"> PHRASE </span>. Can someone imagine why?
I use MediaWiki 1.13.0 and the following extensions: BreadCrumbs, CategoryTree, CharInsert, Cite, Inputbox, ParserFunctions, SyntaxHighlight, Gadgets (Version r39580).
Thanks in advance!
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Arne Pelka wrote:
I dont't not what was the cause but when I search for a word or a phrase this word or phrase gets no no red highlighting in the results. I compared the source of the search result page on my wiki (unfortanetly a closed corporate wiki - so I can't give a link) and wikipedia and found that my results are not surrounded by <span class="searchmatch"> PHRASE </span>. Can someone imagine why?
1) What database backend are you using? If it's PostgreSQL, it might work differently than the default MySQL search.
2) Does this happen to every search or just some searches?
3) What's the exact search term you're searching on, and what's the exact text it matches? There may be a mismatch between how the DB is searching and how the highlighter matches.
- -- brion
mediawiki-l@lists.wikimedia.org