Re-commit r34072 with some modifications:
authorRobert Stojnić <rainman@users.mediawiki.org>
Sun, 4 May 2008 15:31:03 +0000 (15:31 +0000)
committerRobert Stojnić <rainman@users.mediawiki.org>
Sun, 4 May 2008 15:31:03 +0000 (15:31 +0000)
commitabf726ea02fc3bda653fc79cc992e07fec1a91bb
tree23dda3f32e27bb291018dbc9874df5aae4c5a617
parent909203b36658999d5012d2834aa3cb8b8400e560
Re-commit r34072 with some modifications:
* turned off by default (set $wgAdvancedSearchHighlighting to turn on)
* reverted r26269, \b doesn't interact very good with unicode data,
  so it broke highlighting of words that end/begin in nonascii chars
  completely
* small bugfixes in unicode handling, tested in more languages
* $wgSearchHighlightBoundaries need to be set to "" for CJK wikis
* benchmarking: on typical simplewiki data, the code is around 4-5 slower
  (according to noc.wikimedia.org the old code profiles to about 0.8%),
  but can be up to 20 times slower on featured-size articles
* update release notes (also for r33400)
* fix profiling errors in SpecialSearch
RELEASE-NOTES
includes/DefaultSettings.php
includes/SearchEngine.php
includes/SearchMySQL.php
includes/SpecialSearch.php