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)
- Voor deze module zijn leesrechten nodig.
- Voor deze module zijn schrijfrechten nodig.
- This module only accepts POST requests.
- Source: Translate
- License: GPL-2.0-or-later
Add translations to stash.
Parameters:
- subaction
Handeling.
- This parameter is required.
- One of the following values: add, query
- title
Title of the translation unit page.
- translation
Translation made by the user.
- metadata
JSON-object.
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
- username
Optionally the user whose stash to get. Only privileged users can do this.
Voorbeelden:
- Add a translation to the stash for MediaWiki:Jan/fi
- api.php?action=translationstash&subaction=add&title=MediaWiki:Jan/fi&translation=tammikuu&metadata={} [open in sandbox]
- Query the stash
- api.php?action=translationstash&subaction=query [open in sandbox]