dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Track usage of highlight feature"
[lhc/web/wiklou.git]
/
resources
/
src
/
mediawiki.widgets
/
mw.widgets.TitleOptionWidget.js
diff --git
a/resources/src/mediawiki.widgets/mw.widgets.TitleOptionWidget.js
b/resources/src/mediawiki.widgets/mw.widgets.TitleOptionWidget.js
index
37e6e1a
..
3583e5e
100644
(file)
--- a/
resources/src/mediawiki.widgets/mw.widgets.TitleOptionWidget.js
+++ b/
resources/src/mediawiki.widgets/mw.widgets.TitleOptionWidget.js
@@
-65,7
+65,9
@@
} );
// Highlight matching parts of link suggestion
} );
// Highlight matching parts of link suggestion
- this.$label.autoEllipsis( { hasSpan: false, tooltip: true, matchText: config.query } );
+ this.$label
+ .highlightText( config.query )
+ .attr( 'title', config.data );
if ( config.missing ) {
this.$label.addClass( 'new' );
if ( config.missing ) {
this.$label.addClass( 'new' );