MediaWiki API help


10 PCS, 10cm x 10cm, 2 layers prototype for $38.80 shipped!

This is an auto-generated MediaWiki API documentation page.

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

action=checktoken

(main | checktoken)
  • This module requires read rights.
  • Source: MediaWiki
  • License: GPL-2.0+

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

Parameters:
type

Type of token being tested.

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

Token to test.

This parameter is required.
maxtokenage

Maximum allowed age of the token, in seconds.

Type: integer


10 PCS, 10cm x 10cm, 2 layers prototype for $38.80 shipped!