MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

action=visualeditor

(main | visualeditor)
  • This module is internal or unstable. Its operation may change without notice.
  • This module requires read rights.
  • This module requires write rights.
  • Source: VisualEditor
  • License: MIT

Hakee sivun HTML5-lähdekoodin Parsoid-palvelusta.

Parameters:
page

Sivu, jota toiminto koskee.

This parameter is required.
format
(no description)
One of the following values: json, jsonfm
Default: jsonfm
paction

Suoritettava toiminto.

This parameter is required.
One of the following values: parse, metadata, parsefragment, serialize, serializeforcache, diff, getlanglinks
wikitext

Wikitext to send to Parsoid to convert to HTML (paction=parsefragment).

oldid

Versionumero (oletuksena viimeisin versio)

html

HTML joka muutetaan wikitekstiksi Parsoid-palvelulla.

cachekey

For serialize or diff, use the result of a previous serializeforcache request with this key. Overrides html.

pst

Pre-save transform wikitext before sending it to Parsoid (paction=parsefragment).

Type: boolean (details)