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.
- Font : ContentTranslation
- Licéncia : GPL-2.0-or-later
Save a page created using the Content Translation extension.
Paramètres :
Other general parameters are available.
- title
El títol de la pàgina per realitzar-hi accions.
- Cal aquest paràmetre.
- html
Contingut a desar.
- Cal aquest paràmetre.
- from
Codi de la llengua origen.
- Cal aquest paràmetre.
- to
Codi de la llengua destí.
- Cal aquest paràmetre.
- sourcetitle
El títol de la pàgina d'origen.
- Cal aquest paràmetre.
- categories
Les categories que s'afegiran a l'article publicat.
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
Identificació de captcha (en cas de guardar-lo amb una resposta de captcha).
- wpCaptchaWord
Respon el captcha (en cas de guardar-ho amb una resposta de captcha).
- cxversion
Version of the editor used to publish the translation.
- Cal aquest paràmetre.
- Tipus: enter
- The value must be between 1 and 2.
- token
A "csrf" token retrieved from action=query&meta=tokens
- Cal aquest paràmetre.