Merge "mediawiki.api: Add #badToken for invalidating bad cached tokens"
[lhc/web/wiklou.git] / resources / src / mediawiki.api / mediawiki.api.js
index c1fe187..0b57907 100644 (file)
@@ -5,7 +5,6 @@
        // wondering, would it be simpler to make it easy to clone the api object,
        // change error handling, and use that instead?
        var defaultOptions = {
-
                        // Query parameters for API requests
                        parameters: {
                                action: 'query',
@@ -21,6 +20,7 @@
                                dataType: 'json'
                        }
                },
+
                // Keyed by ajax url and symbolic name for the individual request
                promises = {};