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.
- Iturria: MediaWiki
- Lizentzia: GPL-2.0-or-later
Check the validity of a token from action=query&meta=tokens.
Parametroak:
- type
Frogatzen ari den token mota.
- This parameter is required.
- One of the following values: createaccount, csrf, login, patrol, rollback, userrights, watch
- token
Testatzeko hartuta.
- This parameter is required.
- maxtokenage
Token-aren gehienezko adin baimendua, segundutan.
- Type: integer
Adibidea:
- Test the validity of a csrf token.
- api.php?action=checktoken&type=csrf&token=123ABC [open in sandbox]