https://bugzilla.wikimedia.org/show_bug.cgi?id=60195
--- Comment #2 from Umherirrender <[email protected]> --- When you are on a mediawiki page, you can use mw.user.tokens.get('edittoken') to get a token. When you are on a mediawiki page, you can get a token also over mw.api.getToken, have a look at mediawiki.api.js to see, how this module will do it. The following comment was found in that file: // Due to the API assuming we're logged out if we pass the callback-parameter, // we have to disable jQuery's callback system, and instead parse JSON string, // by setting 'jsonp' to false. maybe that helps -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
