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

(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

The format of the output.

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

Κώδικας wiki για να σταλεί στο Parsoid για να μετατραπεί σε 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

Ο αριθμός αναθεώρησης προς χρήση (προεπιλογή η τελευταία αναθεώρηση).

editintro

Edit intro to add to notices.

pst

Προ-αποθήκευση μετατροπής κώδικα wiki πριν από την αποστολή του στο 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).