https://bugzilla.wikimedia.org/show_bug.cgi?id=72094

            Bug ID: 72094
           Summary: mw.api.getToken uses deprecated api.php?action=tokens
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: JavaScript
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
       Web browser: ---
   Mobile Platform: ---

mw.api.getToken uses api.php?action=tokens

api.php?action=tokens generates

 "warnings": {
     "tokens": {
         "*": "action=tokens has been deprecated. Please use
action=query&meta=tokens instead."
     }
 }

api.php?action=query&meta=tokens has different token types. A simple change of
the URL does not work because this changes the JavaScript API. mw.api.getToken
has to implement a mapping from the current token types to the corresponding
new token type.

-- 
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

Reply via email to