Make use of the option to preserve grapheme clusters in highlightQuery
in OOUI's LabelElement.js so that partial matches in the main search
page on Special:Search don't break graphemes.
Bug: T35242
Depends-On: Iac79095a1b40ef92b3cfd9421916928217639434
Change-Id: I5c458da39156db8a39412b91cf647aacd43fbbb9
// Highlight matching parts of link suggestion
if ( config.query ) {
- this.setHighlightedQuery( config.data, config.query, config.compare );
+ this.setHighlightedQuery( config.data, config.query, config.compare, true );
}
this.$label.attr( 'title', config.data );