From c50d129b02a8a8f6d6b2008d2a7d3e5b3554f4bd Mon Sep 17 00:00:00 2001 From: Jon Robson Date: Tue, 8 Aug 2023 10:46:50 -0700 Subject: [PATCH] Disable Echo behaviour on Minerva desktop Bug: T342907 Change-Id: Ibd311593eb7f153ff0dea8aad516759d54cc1cd2 --- modules/ext.echo.init.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/ext.echo.init.js b/modules/ext.echo.init.js index 66ccbe793..deaeba401 100644 --- a/modules/ext.echo.init.js +++ b/modules/ext.echo.init.js @@ -311,6 +311,10 @@ $( function () { if ( mw.config.get( 'wgMFMode' ) ) { initMobile(); } else { - initDesktop(); + // Echo is intentionally disable for the Minerva desktop skin (https://phabricator.wikimedia.org/T343839) + // The suggested fix is documented in https://phabricator.wikimedia.org/T343838, + if ( mw.config.get( 'skin' ) !== 'minerva' ) { + initDesktop(); + } } } );