MediaWiki API súgó

Ez egy automatikusan generált MediaWiki API-dokumentációs lap.

Dokumentáció és példák: https://www.mediawiki.org/wiki/API

meta=tokens

(main | query | tokens)

Gets tokens for data-modifying actions.

Paraméter:
type

Types of token to request.

Értékek (elválasztó: |): createaccount, csrf, login, patrol, rollback, userrights, watch
Default: csrf
Examples:
Retrieve a csrf token (the default).
api.php?action=query&meta=tokens [open in sandbox]
Retrieve a watch token and a patrol token.
api.php?action=query&meta=tokens&type=watch|patrol [open in sandbox]
A lap eredeti címe: „https://hu.opensuse.org/Speciális:ApiHelp