https://bugzilla.wikimedia.org/show_bug.cgi?id=67727
Bug ID: 67727
Summary: Hovercards blanks title attribute in Flow action menu
items
Product: MediaWiki extensions
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Popups
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Web browser: ---
Mobile Platform: ---
We noticed a weird bug 67215 where some Flow users are shown a Hide topic/post
dialog with no titlebar and an empty submit button.
Flow is using the title attribute of the Hide link in the topic/post action
menu as the text of the dialog's titlebar and submit button. This works unless
you enable the Hovercards beta feature.
extensions/Popups/resources/ext.popups.core.js's removeTooltips(), which
"Temorarily remove tooltips from links on hover". on mouseenterfocus it sets
data('title') to attr( 'title' ), then blanks out title!
The Popups extension should not mess with hyperlinks for which it's not going
to show tooltips. If you watch your browser's developer tools Net panel, Popups
doesn't make its API query for extracts|pageimages for any of the links in the
action menu, so I'm not sure why it changes their title . For clarity it should
run all hyperlinks through a function named something like
isAppropriateForPopup().
You can reproduce on e.g. https://www.mediawiki.org/wiki/Talk:Sandbox, click
the [...] on the left to bring up the action menu for a topic or post, then
choose Hide topic/Hide.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l