Summary: create an API command just for retrieving tokens (not
           Product: MediaWiki
           Version: wikimedia-deployment
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: API

Since tokens are session specific rather than page specific, it doesn't make
sense that you have to tie your request for a token to a specific page. Most
APIs that I've used with other web applications have an API command that just
returns an editing token by itself. The current method is especially
problematic when trying to get a token via JSON since you have to know the page
ID beforehand: (although this could be fixed

It would be nice to be able to make a request like:

and get a response like:

(The URL and response above don't distinguish token type since they are
actually all the same token.)

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Wikibugs-l mailing list

Reply via email to