MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=visualeditor
- This module is internal or unstable. Its operation may change without notice.
- This module requires read rights.
- Source: VisualEditor
- License: MIT
Atgriež HTML5 kodu lapai no Parsoid servisa.
- page
Lapa, kurā veikt darbības.
- This parameter is required.
- badetag
If RESTBase query returned a seemingly invalid ETag, pass it here for logging purposes.
- format
Izvades formāts.
- One of the following values: json, jsonfm
- Default: jsonfm
- paction
Veicamā darbība
- This parameter is required.
- One of the following values: metadata, parse, parsefragment, templatesused, wikitext
- wikitext
Vikiteksts, ko nosūtīt Parsoid konvertācijai uz HTML (paction=parsefragment).
- section
Sadaļa, kurā darboties.
- stash
When saving, set this true if you want to use the stashing API.
- Type: boolean (details)
- oldid
Izmantojamās versijas numurs (pēc noklusējuma jaunākais).
- Type: integer
- 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.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).