Nápověda k MediaWiki API
Toto je automaticky generovaná dokumentační stránka k MediaWiki API.
Dokumentace a příklady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=sxsave
(main | sxsave)
- Tento modul je interní nebo nestabilní. Jeho funkčnost se může bez předchozího upozornění změnit.
- Tento modul vyžaduje oprávnění ke čtení.
- Tento modul vyžaduje oprávnění k zápisu.
- Tento modul přijímá pouze požadavky POST.
- Zdroj: ContentTranslation
- Licence: GPL-2.0-or-later
Save the draft section translation and store the parallel corpora
Parametry:
Other general parameters are available.
- sourcelanguage
The source language code.
- This parameter is required.
- targetlanguage
The target language code.
- This parameter is required.
- sourcetitle
The title of the source page.
- This parameter is required.
- targettitle
The title of the target page.
- This parameter is required.
- content
JSON-encoded section data. Each section is an object and has the following keys: content, sectionId, origin, validate
- This parameter is required.
- sourcerevision
The source page revision id.
- This parameter is required.
- Type: integer
- sourcesectiontitle
The title of the source section.
- This parameter is required.
- targetsectiontitle
The title of the target section.
- This parameter is required.
- sectionid
The page section id.
- This parameter is required.
- issandbox
- ⧼apihelp-sxsave-param-issandbox⧽
- Type: boolean (details)
- isleadsection
- ⧼apihelp-sxsave-param-isleadsection⧽
- Type: boolean (details)
- token
Token typu „csrf“ získaný pomocí action=query&meta=tokens.
- This parameter is required.