Assumption: the article topic should be highlighted as bold in the page preview (currently expected behaviour). Currently, the words in the text extract are marked as bold only if there is exact match with the page title. This logic fails for pages with qualifiers - in this case, usually no bold text can be found in the extract/page preview, because qualifiers are not used in the text (they are redundant there).
Steps to reproduce
- Copy this page's source. Note the qualifier in the page title.
- Link to it from another article. e.g. https://cs.wikipedia.org/wiki/Wikipedie:Pod_l%C3%ADpou_(technika)#Hovercards_u_osob
- See its hovercard.
Text Vladimír Dlouhý (page topic = page name without qualifier) should be bold in hovercard.
There is no bold text in hovercard's text extract: