Jump to content

Topic on Talk:Page Previews/Flow

Post-nominal letters are not properly removed in link previews

4
SUM1 (talkcontribs)

Post-nominal letters are not properly removed in link previews. Commas surrounding the post-nominal letters are left.

Example: pagelink previews

Example 2 (with "post-nominals" template): pagelink preview

Example 3 (with two commas): pagelink preview

Please fix this by setting Hovercards to remove any commas surrounding post-nominal letters.

TheDJ (talkcontribs)

Please report bugs in phabricator (And the blurb is produced by TextExtracts btw, hovercards just shows it).

CKoerner (WMF) (talkcontribs)

Thanks @SUM1 for the reports. I believe issues like the ones you mentioned will be corrected with some upcoming work to change the way Page Previews display content. Right now it uses TextExtracts to try and pull out bits of content to make the preview more succinct. It doesn't always work as you noticed. There is current work to change the way the feature generates the preview, resulting is more consistency in representing the content of the article. Work is progressing, but I don't have a solid timeframe for you at the moment other than hopefully soon. :) I'm bookmarking these examples and will return to them once I can test them against the new code.

SUM1 (talkcontribs)

Thank you

Reply to "Post-nominal letters are not properly removed in link previews"