Problems with mw.popups.removeTooltip (multiple problems):
- title attribute of links are not removed on focus, causing qunit test failure (locally only, for some reason)
- Repro steps:
- Run qunit tests locally, observe failure of 3rd assertion in ext.popups.core: removeTooltips test. Alternatively, try manually tabbing focus onto a link with popups enabled.
- Repro steps:
- Sometimes on mouseover the title attribute is not removed at all.
- Repro steps:
- Go to https://en.wikipedia.beta.wmflabs.org/wiki/25thjuneChrome (fresh page reload)
- Inspect first link ("List of books about Wikipedia"), observe title attribute is present.
- Hover over link, observe title attribute is not removed. Repeat steps 1-3 if it is removed. Cannot find consistent manner in which to reproduce, but it happens frequently.
- Repro steps:
- The title attribute is sometimes not restored on mouseout, breaking it for the rest of the page session.
- Repro steps:
- Go to https://en.wikipedia.beta.wmflabs.org/wiki/25thjuneChrome (fresh page reload)
- Inspect first link ("List of books about Wikipedia"), observe title attribute is present.
- Hover over link, observe title attribute is properly removed. (Repeat step if 2nd problem above is encountered.)
- Mouse off of link, observe title attribute is properly restored. (Usually is on first try, anyways.)
- Repeat steps 3-4, observe title attribute is not restored. Cannot find consistent manner in which to reproduce, so repeat steps 3-4 until it happens.
- Repro steps:
Note that none of these problems appear to be race conditions. They all occur even if you wait for scripts to fully load and animations to complete.
Story
As a reader, I don't want to see both the title of the article and the hovercard, as it is distracting
Acceptance Criteria
Title tag doesn't appear when hovercards are on
Title tag appears when hovercards are off
Description
MediaWiki sets the title tag on all internal links, and many/most browsers show it as a small popup when one hovers over the link. This often interfers with hovercards (not always - I'm also seeing lots of hovercards without accompanying title popups).
Example screenshots
from https://hu.wikipedia.org/wiki/James_Bond , browsing anonymously on September 10:
from https://de.wikipedia.org/wiki/Wikipedia:Hauptseite , browsing while logged in with Hovercards beta feature enabled on August 17:
from https://de.wikipedia.org/wiki/Cannes , browsing while logged in with Hovercards beta feature enabled on August 17:
All on Chrome under Linux.