Merge "Type hint against LinkTarget in WatchedItemStore"
[lhc/web/wiklou.git] / resources / src / mediawiki.messagePoster / MessagePoster.js
index 64642b2..14c971d 100644 (file)
@@ -1,4 +1,4 @@
-( function ( mw ) {
+( function () {
        /**
         * This is the abstract base class for MessagePoster implementations.
         *
@@ -22,6 +22,7 @@
         * @param {string} body Body, as wikitext.  Signature code will automatically be added
         *   by MessagePosters that require one, unless the message already contains the string
         *   ~~~.
+        * @param {Object} [options] Message options. See MessagePoster implementations for details.
         * @return {jQuery.Promise} Promise completing when the post succeeds or fails.
         *   For failure, will be rejected with three arguments:
         *
@@ -37,4 +38,4 @@
         * something.
         */
        mw.messagePoster.MessagePoster.prototype.post = function () {};
-}( mediaWiki ) );
+}() );