2 * @class mw.plugin.notify
8 * @see mw.notification#notify
11 * @return {jQuery.Promise}
13 mw.notify = function ( message, options ) {
15 // Don't bother loading the whole notification system if we never use it.
16 mw.loader.using( 'mediawiki.notification', function () {
17 // Call notify with the notification the user requested of us.
18 d.resolve( mw.notification.notify( message, options ) );
25 * @mixins mw.plugin.notify
28 }( mediaWiki, jQuery ) );