MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=checktoken

(main | checktoken)

Check the validity of a token from action=query&meta=tokens.

Parametrit:
Other general parameters are available.
type

Type of token being tested.

This parameter is required.
One of the following values: createaccount, csrf, login, patrol, rollback, userrights, watch
token

Tarkistettava poletti.

This parameter is required.
maxtokenage

Maximum allowed age of the token, in seconds.

Type: integer