미디어위키 API 도움말
이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.
설명 문서 및 예시: https://www.mediawiki.org/wiki/API
action=tokens
(main | tokens)
- 이 모듈은 사용되지 않습니다.
 - 이 모듈은 read 권한을 요구합니다.
 - 출처: MediaWiki
 - 라이선스: GPL-2.0+
 
Get tokens for data-modifying actions.
This module is deprecated in favor of action=query&meta=tokens.
변수:
- type
 Types of token to request.
- 값 ("|"로 구분): block, createaccount, csrf, delete, edit, email, import, login, move, options, patrol, protect, rollback, unblock, userrights, watch
 - 기본값: edit
 
예시:
- Retrieve an edit token (the default).
 - api.php?action=tokens [open in sandbox]
 - Retrieve an email token and a move token.
 - api.php?action=tokens&type=email|move [open in sandbox]