Page MenuHomePhabricator

Hovercards not active on Live preview or wikEd preview: add mw.hook( 'wikipage.content' )
Closed, ResolvedPublic

Description

Hovercard popups are not active on dynamically loaded content such as that from Live preview or wikEd local preview.

Hovercard popups should hook into mw.hook( 'wikipage.content' ) so that new content could be initialized for this functionality.


Version: unspecified
Severity: normal

Details

Reference
bz72628

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:57 AM
bzimport added a project: Page-Previews.
bzimport set Reference to bz72628.
bzimport added a subscriber: Unknown Object (MLST).

Created attachment 16938
screenshot

Hovercards are actually working with wikEd, but the wikEd z-index is on top somehow. (I saw the hovercard peeking out at the edge, or I can trick it like thus (screenshot).)

However, there was a related problem discussed at https://www.mediawiki.org/wiki/Topic:S4lkqtdolaeddhhv (the template [[Wikipedia:Reference desk/header/nav]] had a z-index:100 (which I removed)), so perhaps we should consider adding (or increasing?) the z-index of Hovercards? (I'm not uptodate on the technical aspects/standards of that, so cannot suggest anything specific.)

Attached:

Screenshot_from_2014-10-28_18:46:27.png (847×1 px, 224 KB)

Thanks Quiddity, it now works fine after I have removed the elevated z-index in wikEd (no idea why it was there in the first place).