mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-22 12:43:02 +00:00
2dd3780966
Change-Id: I01da3714b1f5d9b1926ee4394c15f594efb01245
12 lines
237 B
JavaScript
12 lines
237 B
JavaScript
/*
|
|
* 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'
|
|
] );
|
|
} );
|