mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-28 01:30:15 +00:00
12 lines
243 B
JavaScript
12 lines
243 B
JavaScript
|
/*
|
||
|
* Loads Echo on CentralAuth autologin
|
||
|
*/
|
||
|
mw.hook( 'centralauth-p-personal-reset' ).add( function () {
|
||
|
mw.loader.using( [
|
||
|
'ext.echo.init',
|
||
|
'ext.echo.styles.badge',
|
||
|
'oojs-ui.styles.icons-alerts',
|
||
|
'ext.echo.styles.alert'
|
||
|
] );
|
||
|
} );
|