mediawiki.api.edit: Remove "format: 'json'"
authorFomafix <fomafix@googlemail.com>
Sun, 21 Sep 2014 18:42:55 +0000 (18:42 +0000)
committerBartosz Dziewoński <matma.rex@gmail.com>
Sun, 21 Sep 2014 18:47:35 +0000 (18:47 +0000)
"format: 'json'" is in the defaultOptions in mediawiki.api.

Change-Id: Ifdf61205d94dbf918be5427cef89a037ce9f08a2

resources/src/mediawiki.api/mediawiki.api.edit.js

index e88ae5e..714c38c 100644 (file)
@@ -71,7 +71,6 @@
                        return this.postWithEditToken( $.extend( {
                                action: 'edit',
                                section: 'new',
-                               format: 'json',
                                title: String( title ),
                                summary: header,
                                text: message