MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=visualeditoredit
- This module is internal or unstable. Its operation may change without notice.
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Source: VisualEditor
- License: MIT
Save an HTML5 page to MediaWiki (converted to wikitext via the Parsoid service).
- paction
Action to perform.
- This parameter is required.
- One of the following values: serialize, serializeforcache, diff, save
- page
Sivu, jota toiminnot koskevat.
- This parameter is required.
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
- wikitext
The wikitext to act with.
- section
The section on which to act.
- sectiontitle
Uuden osion otsikko.
- basetimestamp
When saving, set this to the timestamp of the revision that was edited. Used to detect edit conflicts.
- starttimestamp
Tallennettaessa aseta tämän arvoksi sivun lataamisen aikaleima. Käytetään muokkausristiriitojen havaitsemiseen.
- oldid
The revision number to use. Defaults to latest revision. Use 0 for a new page.
- minor
Merkitse pieneksi muutokseksi.
- watch
Add the page to the current user's watchlist.
- html
HTML joka muutetaan wikitekstiksi Parsoid-palvelun avulla.
- etag
ETag joka lähetetään.
- summary
Yhteenveto.
- captchaid
Captcha-tunniste (tallennettaessa captcha-pyynnön kanssa).
- captchaword
Vastaus captchaan (tallennettaessa captcha-pyynnön kanssa).
- cachekey
Use the result of a previous serializeforcache request with this key. Overrides html.