mediawiki-extensions-Echo/modules/ext.echo.centralauth.js

12 lines
237 B
JavaScript
Raw Permalink Normal View History

/*
* Loads Echo on CentralAuth autologin
*/
mw.hook( 'centralauth-p-personal-reset' ).add( () => {
mw.loader.using( [
'ext.echo.init',
'ext.echo.styles.badge',
'oojs-ui.styles.icons-alerts',
'ext.echo.styles.alert'
] );
} );