MedijaViki API pagalba
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.
- Šaltinis: VisualEditor
- Licencija: MIT
Returns HTML5 for a page from the Parsoid service.
Parametrai:
- page
Puslapis kuriam bus atliekami veiksmai.
- Šis parametras yra reikalingas.
- format
The format of the output.
- One of the following values: json, jsonfm
- Numatytasis: jsonfm
- paction
Veiksmas, kurį atlikti.
- Šis parametras yra reikalingas.
- One of the following values: parse, metadata, wikitext, parsefragment, parsedoc, getlanglinks
- wikitext
Vikitekstas, kuris bus siunčiamas į Parsoid, kad būtų konvertuotas į HTML (paction=parsefragment).
- section
Vieta, kurioje veikti.
- oldid
Poversijo numeris, kuris bus naudojamas (numatyta naudoti paskutinį poversijį).
- editintro
Edit intro to add to notices.
- pst
Iš anksto išsaugoti transformuojamą vikitekstą prieš siunčiant jį į 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.
- Separate values with | or alternative. Maximum number of values is 50 (500 for bots).