User:Jdlrobson/minerva.js
$('.minerva-user-menu .toggle-list__list--drop-down').attr( 'id', 'p-personal' );
$( '#mw-mf-page-left .menu:first-child' ).attr( 'id', 'p-navigation');
$('#page-actions-overflow .toggle-list__list--drop-down').attr( 'id', 'p-tb' );
// importScript( 'User:Jdlrobson/wikidataInfobox.js' );
//mw.loader.load('/w/index.php?title=User:Jdlrobson/wikidataInfobox.js&action=raw&ctype=text/javascript');
console.log('user minerva js is running');
mw.trackSubscribe( 'resourceloader.exception', function ( topic, data ) {
alert(topic + JSON.stringify(data));
$( 'body' ).addClass( 'user-jdlrobson-error');
} );
// setup the global error handler
mw.trackSubscribe( 'global.error', function ( topic, error ) {
alert(error);alert(topic);
$( 'body' ).addClass( 'user-jdlrobson-error');
} );