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 requires read rights.
  • This module requires write rights.

Returns HTML5 for a page from the parsoid service.

Параметры:
page

The page to perform actions on.

Этот параметр является обязательным.
format
(описание отсутствует)
One value: json, jsonfm
По умолчанию: json
paction

Action to perform

Этот параметр является обязательным.
One value: parse, parsefragment, serialize, serializeforcache, diff, getlanglinks
wikitext
(описание отсутствует)
basetimestamp

When saving, set this to the timestamp of the revision that was edited. Used to detect edit conflicts.

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 version).

html

HTML to send to parsoid in exchange for wikitext

cachekey

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