Last modified: 2014-07-09 08:17:08 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T69727, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67727 - Hovercards blanks title attribute in Flow action menu items
Hovercards blanks title attribute in Flow action menu items
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Popups (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-09 08:17 UTC by spage
Modified: 2014-07-09 08:17 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description spage 2014-07-09 08:17:08 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links