- Enable the Hovercards beta feature on enwiki.
- Visit the Sheep article, scroll down to Flock behavior
- Find the text "Sheep can become hefted" and hover over "hefted"
Result:
A popup appears displaying what seems to be generic "sheep" information: a picture of sheep and text "The raising of domestic sheep has occurred in nearly every inhabited part of the globe, and the variations in cultures and languages which have kept sheep has produced a vast lexicon of unique terminology used to describe sheep husbandry." I'm already reading the Sheep article!
Expected result:
The popup for "hefted" only makes sense if it includes the title of the linked page, "Glossary of sheep husbandry". In this specific case Hovercards could do a better job: If "Hefted" redirected to [[Glossary of sheep husbandry#Hefted]], and someone added {{anchor|hefted}} to this term, and T65792: #section-links should preview the correct subsection worked for {{anchor}}, then the hovercard text would be "Hefting (or heafing) – the instinct in some breeds of keeping to a certain heft (a small local area)..." But that's a lot of pieces to align. I'm sure there are other cases where you need to see the title of the page that the hovercard is previewing in order to understand what it's showing and to decide whether to visit it.
Link preview in the Wikipedia Beta Android mobile app avoids this problem by always showing the linked page's title (overlaid on the lead image if there is one). With Hovercards in many cases this is redundant since the title is identical or obviously related to the link text to which the hovercard points. But some logic like
If the link redirects, or if the link has an anchor, or if the link text is dissimilar to the actual linked page title, then display the actual linked page title
would be close to doing the right thing.
Without Hovercards enabled, wiki links always display the title of the page to which they link in a title tooltip (that doesn't handle redirects).
Another example: the Hovercard for a link to a disambiguation page sometimes displays "Check may refer to:" but other times it displays the most common usage "John Williams is a composer" with no indication that the page covers a dozen other meanings.
See also / closed partial-duplicates