Page MenuHomePhabricator

Simple search: Incorrect highlighting when using shortcuts
Closed, DeclinedPublic


Simple search highlights as many characters as you have already typed, but this causes an incorrect highlighting when you use shortcuts (like WP: for Wikipedia:). For example, if you type "WP:A", "Wikipedia:Article development" is shown with highlighted "Wiki". Instead "Wikipedia:A" should be highlighted.

Version: unspecified
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:07 PM
bzimport set Reference to bz24184.
bzimport added a subscriber: Unknown Object (MLST).

This touches on the general problem when the results don't match the prefix you've typed. We should come up with a different way of highlighting stuff in this case, or not highlight it at all.

*** Bug 24241 has been marked as a duplicate of this bug. ***

Thehelpfulonewiki wrote:

Reassign to default per bug 37789

SimpleSearch issues => Moving to Vector (as per $wgVectorUseSimpleSearch)

The whole mess is actually in core.

The issue as described in comment 0 is not longer happening; the text is only highlighted if it actually matches the result (as per comment 1), and in this particular example simply nothing is highlighted.

Must have been fixed sometime in the past. Closing as WORKSFORME.