r26271 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r26270
|
r26271
|
r26272
>
Date:
13:10, 1 October 2007
Author:
brion
Status:
old
Tags:
Comment:
* (
bug 278
) Search results no longer highlight incorrect partial word matches
for lucene search too...
Modified paths:
/trunk/extensions/LuceneSearch/LuceneSearch_body.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/LuceneSearch/LuceneSearch_body.php
—
—
@@ -404,7 +404,7 @@
405
405
* @access private
406
406
*/
407
407
function regexQuote( $term ) {
408
- return preg_quote( $term, '/' );
408
+ return '\b' . preg_quote( $term, '/' ) . '\b';
409
409
}
410
410
411
411
/**
Follow-up revisions
Revision
Commit summary
Author
Date
r26280
Merged revisions 26248-26279 via svnmerge from...
david
19:12, 1 October 2007
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r26269
* (
bug 278
) Search results no longer highlight incorrect partial word matches
brion
13:05, 1 October 2007
Status & tagging log
15:21, 12 September 2011
Meno25
(
talk
|
contribs
)
changed the
status
of r26271
[
removed:
ok
added:
old]