Can't generate edit Token
When I send the following request:
to obtain an edit token, I receive the following error:
<api> <error code="unknown_action" info="Unrecognized value for parameter 'action': tokens"/> </api>
I have already allowed API, and editing through API.
action=tokens is a new api module. Perhaps your version of MediaWiki is too old. Does action=tokens appear as a choice in the api.php?action=help output?
I'm using MediaWiki version 1.19.2 and the 'tokens' action isn't available. I'm trying to find a newer version, but this seems to be the latest available at this time. I feel like I'm missing something since the API:Edit page explicitly says to use the tokens action.
For now, I'm using the old way of retrieving Edit Tokens with the query action. You can review the History of the API:Edit page for details.