MediaWiki API help
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.
Check the validity of a token from action=query&meta=tokens.
Parameters:
- type
Type of token being tested.
- This parameter is required.
- One value: csrf, patrol, rollback, userrights, watchEvery member of a ship's company has two general types of activities, one of these is as a member of watches, wherein he handles his duties of steering, lookout, engines, etc., including emergency drills. (FO 1109)

- token
Token to test.
- This parameter is required.
- maxtokenage
Maximum allowed age of the token, in seconds.
Example:
- Test the validity of a csrf token.
- api.php?action=checktoken&type=csrf&token=123ABC