Помощ за МедияУики API

Това е автоматично генерирана страница за документация на МедияУики API.

Документация и примери: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=visualeditor

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

Returns HTML5 for a page from the Parsoid service.

Parameters:
page

Страница, върху която да се извършат действията.

This parameter is required.
badetag

If RESTBase query returned a seemingly invalid ETag, pass it here for logging purposes.

format

The format of the output.

Една от следните стойности: json, jsonfm
Default: jsonfm
paction

Действие за извършване.

This parameter is required.
Една от следните стойности: metadata, parse, parsedoc, parsefragment, templatesused, wikitext
wikitext

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

section

The section on which to act.

stash

When saving, set this true if you want to use the stashing API.

oldid

The revision number to use (defaults to latest revision).

editintro

Edit intro to add to notices.

pst

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

Type: boolean (details)
preload

The page to use content from if the fetched page has no content yet.

preloadparams

Parameters to substitute into the preload page, if present.

За разделител на стойностите използвайте | или алтернативния разделител.
Maximum number of values is 50 (500 for clients that are allowed higher limits).