MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: -{R|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

Враћа HTML5 за страницу коришћењем услуге Parsoid.

Parameters:
page

Страница на коју треба извршити радње.

This parameter is required.
badetag

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

format

Формат излаза.

One of the following values: json, jsonfm
Default: jsonfm
paction

Радња за извршавање.

This parameter is required.
One of the following values: metadata, parse, parsedoc, parsefragment, templatesused, wikitext
wikitext

Викитекст који се треба послати Parsoid-у за конвертовање у HTML (paction=parsefragment).

section

Одељак на коме треба деловати.

stash

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

oldid

Број измене коју треба користити (подразумевана је последња измена).

editintro

Уређивање увода за додавање обавештења.

pst

Унапред сачувајте трансформисани викитекст пре његовог слања Parsoid-у (paction=parsefragment).

Type: boolean (details)
preload

Страница са које користити садржај ако га добављена страница још нема.

preloadparams

Параметри за замену на унапред учитану страницу, ако постоје.

Separate values with | or alternative.
Maximum number of values is 50 (500 for clients allowed higher limits).