Page MenuHomePhabricator

Suppress page previews for links that contain <abbr> tags
Closed, DuplicatePublic

Description

On English Wikipedia, there are specialized templates such as {{AthAbbr}} and {{Abbrlink}} that create special links for acronyms and abbreviations (with dotted underlines). When you hover over these links, your cursor turns into a question mark and the meaning of the abbreviation pops-up thanks to an <abbr> tag embedded within the link. Unfortunately, though, the page preview pops-up first, giving the user the impression that the page preview is actually the explanation of the link (which often isn't the case) and making the actual explanation less prominent and easy to overlook.

For an example, go to https://en.wikipedia.org/wiki/Athletics_at_the_1996_Summer_Olympics_%E2%80%93_Men%27s_100_metres#Round_1 and hover over one of the 'Q's in the Notes column.

This could be accomplished by either adding an a > abbr selector to the links that are excluded from page previews, or by creating a generic selector to exclude links, e.g. .no-page-preview, and adding that to the links in question.