MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

action=visualeditoredit

(main | visualeditoredit)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.

Save an HTML5 page to MediaWiki (converted to wikitext via the Parsoid service).

Параметры:
page

The page to perform actions on.

Этот параметр является обязательным.
token

A "1" token retrieved from action=query&meta=tokens

Этот параметр является обязательным.
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.

needcheck

When saving, set this parameter if the revision might have roundtrip problems. This will result in the edit being tagged.

oldid

The revision number to use. Defaults to latest revision. Use 0 for new page.

minor

Flag for minor edit.

watch
(описание отсутствует)
html

HTML to send to Parsoid in exchange for wikitext

summary

Edit summary

captchaid

Captcha ID (when saving with a captcha response).

captchaword

Answer to the captcha (when saving with a captcha response).

cachekey

Use the result of a previous serializeforcache request with this key.Overrides html.