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)
- This module requires read rights.
- Source: MediaWiki
- License: GPL-2.0-or-later
Check the validity of a token from action=query&meta=tokens.
Parameters:
- type
Seurt jedouer o vezañ amprouet.
- Rekis eo an arventenn-mañ.
- One of the following values: createaccount, csrf, login, patrol, rollback, userrights, watch
- token
Jedouer da vezañ amprouet.
- Rekis eo an arventenn-mañ.
- maxtokenage
Pad hirañ aotreet d'ar jedouer, en eilennoù.
- Type: anterin
Example:
- Amprouiñ talvoudegezh ur jedouer csrf.
- api.php?action=checktoken&type=csrf&token=123ABC [open in sandbox]