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=tokens
(main | tokens)
- This module is deprecated.
- This module requires read rights.
- Source: MediaWiki
- License: GPL-2.0-or-later
Parameter:
- type
- ⧼apihelp-tokens-param-type⧽
- Values (separate with | or alternative): block, createaccount, csrf, delete, edit, email, import, login, move, options, patrol, protect, rollback, unblock, userrights, watch
- Default: edit
Examples:
- ⧼apihelp-tokens-example-edit⧽
- api.php?action=tokens [open in sandbox]
- ⧼apihelp-tokens-example-emailmove⧽
- api.php?action=tokens&type=email|move [open in sandbox]