mediawiki.messagePoster: Update comments after mw.Api file renames
authorFomafix <fomafix@googlemail.com>
Tue, 29 Sep 2015 16:09:47 +0000 (16:09 +0000)
committerKrinkle <krinklemail@gmail.com>
Wed, 30 Sep 2015 21:20:44 +0000 (21:20 +0000)
* Use class name instead of file name
* Expand abbreviation

Follow-up 0bfdd927

Change-Id: I33ad2b10ffb4b4e5e3a38a5c6f644eb183134a36

resources/src/mediawiki.messagePoster/mediawiki.messagePoster.WikitextMessagePoster.js

index 296576b..ad01865 100644 (file)
@@ -39,7 +39,7 @@
                        if ( resp.edit.result === 'Success' ) {
                                return $.Deferred().resolve( resp, jqXHR );
                        } else {
-                               // mediawiki.api.js checks for resp.error.  Are there actually cases where the
+                               // mw.Api checks for response error.  Are there actually cases where the
                                // request fails, but it's not caught there?
                                return $.Deferred().reject( 'api-unexpected' );
                        }