Page MenuHomePhabricator

NavPopups conflicts with Page previews on Italian Wikipedia
Closed, ResolvedPublic1 Estimated Story Points


Steps to reproduce:

  1. Visit
  2. Log in
  3. Enable Popup di navigazione (NavPopups) in user preferences
  4. Visit an article and hover over a link.

Both features appear, sometimes overlapping.

Expected behavior: After enabling NavPopups gadget, Page Previews should be suppressed.

Screen Shot 2017-10-04 at 9.46.33 AM.png (639ร—580 px, 252 KB)

Acceptance criteria

'itwiki' => 'Popup'

Event Timeline

Restricted Application added a subscriber: Aklapper. ยท View Herald TranscriptOct 17 2017, 9:11 PM
ovasileva triaged this task as Medium priority.Oct 18 2017, 9:17 AM
phuedx set the point value for this task to 1.
phuedx added a subscriber: phuedx.

As this is a config change.

Change 385007 had a related patch set uploaded (by Jdlrobson; owner: Jdlrobson):
[operations/mediawiki-config@master] Use correct name for gadgets popup on itwiki

Change 385007 merged by jenkins-bot:
[operations/mediawiki-config@master] Use correct name for gadgets popup on itwiki

Stand back! I'm going to try science!


I tested the following scenarios on itwiki:

  1. Enable Page Previews
    1. Navigate to Special:Preferences
    2. Enable Page Previews
    3. Dwell on a link
    4. Observe that a preview appears ๐Ÿ‘
  2. Enable Page Previews and the NavPopups gadget
    1. Navigate to Speciale:Preferences#mw-prefsection-gadgets
    2. Enable the gadget
    3. Observe that Page Previews can't be enabled or disabled as it's overridden by the gadget ๐Ÿ‘
    4. Dwell on a link
    5. Observe that a navigation popup (a NavPopup?) appears ๐Ÿ‘

I may have spoken to soon. @Elitre reports that they are still seeing Page Previews and NavPopups at the same time.

We determined this was actually due to me invoking NavPopups from my global.js at Meta.

I've captured updating the generic message that we display to users about possible conflicts with gadgets in T178566: Mention global JS in NavPopups conflict message.