MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=cxpublish
(main | cxpublish)
- This module is internal or unstable, and you should not use it. Its operation may change without notice.
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Source: ContentTranslation
- License: GPL-2.0-or-later
Save a page created using the Content Translation extension.
Specific parameters:
Other general parameters are available.
- title
Naslov stranice na kojoj će se raditi.
- This parameter is required.
- html
Sadržaj za sačuvati.
- This parameter is required.
- from
Izvorni jezički kôd.
- This parameter is required.
- to
Ciljni jezički kôd.
- This parameter is required.
- sourcetitle
Naslov izvornog članka.
- This parameter is required.
- categories
Kategorije postaviti u objavljeni članak.
The edit tags to add to the published page.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- wpCaptchaId
Captcha ID (kada spašavate sa captcha odgovorom).
- wpCaptchaWord
Odgovor na captchu (kada sačuvate sa captcha odgovorom).
- cxversion
Version of the editor used to publish the translation.
- This parameter is required.
- Type: integer
- The value must be between 1 and 2.
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.