Disable reference previews when the navigation popups gadget is used

Otherwise we will have two popups for references when hovering.

Bug: T347391
Change-Id: I8332e9fe6e214b2bd3491adb2bedcae2870f34c7
This commit is contained in:
WMDE-Fisch 2023-09-26 14:44:05 +02:00
parent a11d459ef1
commit 26c0e592a5
3 changed files with 1 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View file

@ -22,6 +22,7 @@ export default function isReferencePreviewsEnabled( user, userSettings, config )
// T265872: Unavailable when in conflict with (one of the) reference tooltips gadgets.
if ( config.get( 'wgPopupsConflictsWithRefTooltipsGadget' ) ||
config.get( 'wgPopupsConflictsWithNavPopupGadget' ) ||
// T243822: Temporarily disabled in the mobile skin
config.get( 'skin' ) === 'minerva'
) {