Last modified: 2014-05-10 19:19:43 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T67098, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65098 - Hovercards: Make snippet text in hovercard which matches the article title bold
Hovercards: Make snippet text in hovercard which matches the article title bold
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Popups (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Prateek Saxena
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-09 19:59 UTC by Prateek Saxena
Modified: 2014-05-10 19:19 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
result (147.17 KB, image/png)
2014-05-09 19:59 UTC, Prateek Saxena
Details

Description Prateek Saxena 2014-05-09 19:59:31 UTC

    
Comment 1 Prateek Saxena 2014-05-09 19:59:54 UTC
Created attachment 15328 [details]
result
Comment 2 Prateek Saxena 2014-05-10 12:08:18 UTC
Should we match the whole word? 

Hypothetical example for "trains" -
Train or trains should not be confused with Unicorn Training.
[ 1 ]    [ 2  ]                                     [  3   ]

Should we match only 1? If we match 2 we'll have to match 3 too. Or should we just do plurals (the simple ones, with an `s` at the end)?
Comment 3 Vibha Bamba 2014-05-10 12:13:45 UTC
Bold the article title only. The purpose of this solution is to clarify redirects. And we won't actually carry the disambiguation text in the hovercard. Will a user ever see a sentence such as 'Train or trains should not be confused with Unicorn Training'
Comment 4 Prateek Saxena 2014-05-10 13:36:01 UTC
The point I was trying to make got shadowed by the confusion introduced by my had example. Consider this - 

Train or trains are the favorite mode of transport of Pokémon trainers in Pal…
[ 1 ]    [ 2  ]                                               [  3   ]
Comment 5 Gerrit Notification Bot 2014-05-10 15:47:17 UTC
Change 132707 had a related patch set uploaded by Prtksxna:
render.article: Make the title of the text bold in the extract

https://gerrit.wikimedia.org/r/132707
Comment 6 Gerrit Notification Bot 2014-05-10 19:18:31 UTC
Change 132707 merged by jenkins-bot:
render.article: Make the title of the text bold in the extract

https://gerrit.wikimedia.org/r/132707

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links