Merge "Add a tag to mw.notify"

This commit is contained in:
jenkins-bot 2024-08-29 16:58:11 +00:00 committed by Gerrit Code Review
commit 105b6fc266

View file

@ -95,7 +95,9 @@ module.exports = function () {
if ( $primaryBtn.attr( 'href' ) || $primaryBtn.find( 'a' ).length ) { if ( $primaryBtn.attr( 'href' ) || $primaryBtn.find( 'a' ).length ) {
router.navigate( '/languages' ); router.navigate( '/languages' );
} else { } else {
mw.notify( mw.msg( 'mobile-frontend-languages-not-available' ) ); mw.notify( mw.msg( 'mobile-frontend-languages-not-available' ), {
tag: 'languages-not-available'
} );
} }
} ); } );
} }