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
Gem en HTML5 side på MediaWiki (konverteret til wikitekst via Parsoid-tjenesten).
- paction
Action to perform.
- This parameter is required.
- One of the following values: serialize, serializeforcache, diff, save
- page
The page to perform actions on.
- 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
Title for new section.
- basetimestamp
Når der gemmes, sæt denne til tidsstemplet for revisionen som blev redigeret. Bruges til at finde redigeringskonflikter.
- starttimestamp
When saving, set this to the timestamp of when the page was loaded. Used to detect edit conflicts.
- oldid
The revision number to use. Defaults to latest revision. Use 0 for a new page.
- minor
Markér til mindre redigering.
- watch
Add the page to the current user's watchlist.
- html
HTML som sendes til Parsoid for at konverteres til wikitekst.
- etag
ETag som skal sendes.
- summary
Edit summary.
- captchaid
Captcha ID (når der gemmes med et captcha svar).
- captchaword
Svar til captcha (når der gemmes med et captcha svar).
- cachekey
For serialisering eller diff, benyt resultatet fra en tidligere serializecache anmodning med denne nøgle. Overskriver html.