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