Merge "No longer check for skins.minerva.scripts"

This commit is contained in:
jenkins-bot 2019-10-16 10:22:27 +00:00 committed by Gerrit Code Review
commit c7215f9f5f

View file

@ -293,14 +293,8 @@ function initMobile() {
if ( !mw.user.isAnon() ) { if ( !mw.user.isAnon() ) {
// FIXME: skins.minerva.scripts can be removed from list of dependencies when T221007 // FIXME: skins.minerva.scripts can be removed from list of dependencies when T221007
// has been resolved. // has been resolved.
mw.loader.using( [ 'ext.echo.mobile', 'mobile.startup', 'skins.minerva.scripts' ] ).then( function ( require ) { mw.loader.using( [ 'ext.echo.mobile', 'mobile.startup' ] ).then( function ( require ) {
var minerva = require( 'skins.minerva.scripts' );
// This avoids enabling the Echo feature twice.
// If the Echo code has been removed from Minerva a VERSION number will have been defined.
// See _____.
if ( minerva && minerva.VERSION ) {
require( 'ext.echo.mobile' )(); require( 'ext.echo.mobile' )();
}
} ); } );
} }
} }