Can't generate edit Token
From Project:Support desk
When I send the following request:
api.php?action=tokens&format=xml&type=edit
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.