MediaWiki:Common.js

//Add username alt attribute to masthead profile so highlight css works there $(function {    if (!mw.config.get('profileUserName')) {        return;    }

if ($('#userProfileApp .user-identity-avatar__image').length) { $('#userProfileApp .user-identity-avatar__image').attr('alt', mw.config.get('profileUserName')); return; }

var interval = setInterval(function {        if (!$('#userProfileApp .user-identity-avatar__image').length) {            return;        }        clearInterval(interval);        $('#userProfileApp .user-identity-avatar__image').attr('alt', mw.config.get('profileUserName'));    }, 100); });

//EraIcons config window.useIncludedStylesheet = true;