MediaWiki API help

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.
  • منبع: VisualEditor
  • License: MIT

HTML5 یک صفحه را از خدمت پارسوید برمی‌گرداند.

Parameters:
page

صفحه برای اعمال عمل بر روی آن.

This parameter is required.
format

قالب خروجی

One of the following values: json، jsonfm
پیش‌فرض: jsonfm
paction

عمل برای انجام‌دادن.

This parameter is required.
One of the following values: parse، metadata، wikitext، parsefragment، getlanglinks
wikitext

متن ویکی برای ارسال به پارسوید برای تبدیل به اچ‌تی‌ام‌ال (paction=parsefragment).

section

بخشی که برای انجم‌دادن است.

oldid

تعداد نسخه‌ها برای استفاده (آخرین نسخه به عنوان پیش‌فرض)

editintro

ویرایش بخش ابتدایی برای افزودن هشدارها.

pst

پیش-ذخیره متن ویکی تبدیل شده پیش از ارسال آن به پارسوید (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.