MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=translationstash
(main | translationstash)
- This module requires read rights.
- This module requires write rights.
Add translations to stash.
Параметры:
- subaction
Действие.
- Этот параметр является обязательным.
- One value: add, query
- title
Title of the translation unit page.
- translation
Translation made by the user.
- metadata
JSON-объект.
- token
A token previously acquired with action=tokens&type=translationstash
- Этот параметр является обязательным.
- username
Optionally the user whose stash to get. Only privileged users can do this.
Примеры:
- Add a translation to the stash for MediaWiki:Jan/fi
- api.php?action=translationstash&subaction=add&title=MediaWiki:Jan/fi&translation=tammikuu&metadata={}
- Query the stash
- api.php?action=translationstash&subaction=query