mediawiki.api.options: Use formatversion=2 for API requests
authorFomafix <fomafix@googlemail.com>
Thu, 11 Feb 2016 10:37:05 +0000 (10:37 +0000)
committerKrinkle <krinklemail@gmail.com>
Sat, 20 Feb 2016 20:52:55 +0000 (20:52 +0000)
commit5ce8c0a496b83d82d437d52e2d5260de23fcfe7f
tree85dda3f763e418203ff0192388120529e3a40ff9
parent8760af25d07a4875af66ef98a9081aa0202ba17c
mediawiki.api.options: Use formatversion=2 for API requests

The format of the JSON response does not change.
But the request is different so the test also have to be updated.

Change-Id: I391a221f81fd92731c331363a8202c21d6b933b5
resources/src/mediawiki/api/options.js
tests/qunit/suites/resources/mediawiki.api/mediawiki.api.options.test.js