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.
Parameters:
- subaction
Action.
- This parameter is required.
- One value: add, query
- title
Title of the translation unit page.
- translation
Translation made by the user.
- metadata
JSON object.
- token
A token previously acquired with action=tokens&type=translationstash
- This parameter is required.
- username
Optionally the user whose stash to get. Only privileged users can do this.
Examples:
- 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