__DIR__ . '/modules', 'remoteExtPath' => 'Echo/modules', ); $wgResourceModules += array( // ext.echo.base is used by mobile notifications as well, so be sure not to add any // dependencies that do not target mobile. 'ext.echo.base' => $echoResourceTemplate + array( 'styles' => 'base/ext.echo.base.css', 'scripts' => 'base/ext.echo.base.js', 'messages' => array( 'echo-error-preference', 'echo-error-token', ), 'targets' => array( 'desktop', 'mobile' ), ), 'ext.echo.desktop' => $echoResourceTemplate + array( 'scripts' => 'desktop/ext.echo.desktop.js', 'dependencies' => array( 'ext.echo.base', 'mediawiki.api', 'mediawiki.Uri', 'mediawiki.jqueryMsg', 'mediawiki.user', ), ), 'ext.echo.overlay' => $echoResourceTemplate + array( 'scripts' => array( 'overlay/ext.echo.overlay.js', ), 'styles' => 'overlay/ext.echo.overlay.css', 'skinStyles' => array( 'modern' => 'overlay/ext.echo.overlay.modern.css', 'monobook' => 'overlay/ext.echo.overlay.monobook.css', ), 'dependencies' => array( 'ext.echo.desktop', 'mediawiki.util', 'mediawiki.language', ), 'messages' => array( 'echo-overlay-title', 'echo-overlay-title-overflow', 'echo-overlay-link', 'echo-none', 'echo-mark-all-as-read', 'echo-more-info', 'echo-feedback', ), ), 'ext.echo.special' => $echoResourceTemplate + array( 'scripts' => array( 'special/ext.echo.special.js', ), 'styles' => 'special/ext.echo.special.css', 'dependencies' => array( 'ext.echo.desktop', 'mediawiki.ui.button', ), 'messages' => array( 'echo-load-more-error', 'echo-more-info', 'echo-feedback', ), 'position' => 'top', ), 'ext.echo.alert' => $echoResourceTemplate + array( 'styles' => 'alert/ext.echo.alert.css', 'skinStyles' => array( 'modern' => 'alert/ext.echo.alert.modern.css', 'monobook' => 'alert/ext.echo.alert.monobook.css', ), ), 'ext.echo.badge' => $echoResourceTemplate + array( 'styles' => 'badge/ext.echo.badge.css', 'skinStyles' => array( 'modern' => 'badge/ext.echo.badge.modern.css', 'monobook' => 'badge/ext.echo.badge.monobook.css', ), ), );