API:Tokens/zh

关于弃用的操作模块，参见.

Gets tokens required by data-modifying actions. If you request one of these actions without providing a token, the API returns an error code such as. This module does not use a prefix. The  (cross-site request forgery) token corresponds to the majority of older tokens, like   and , that were retrieved using the API action tokens (deprecated in MediaWiki 1.24).

可能的错误
In addition to the usual errors, other errors may be returned in the following format:

可能的错误包括：


 * Unrecognized value for parameter "type"

参见

 * API:Extensions#Edit token