mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-21 04:03:40 +00:00
b69a2cf57f
Bug: T55134 Change-Id: I2699e84080c907c491b1becdc485fd176f3b2bca
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'
|
|
] );
|
|
} );
|