Trợ giúp về API MediaWiki

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=discussiontoolspreview

(main | discussiontoolspreview)
  • This module is internal or unstable, and you should not use it. Its operation may change without notice.
  • Mô đun này cần quyền đọc.
  • Source: Công cụ thảo luận
  • License: MIT

Preview a message on a discussion page.

Các tham số:
Other general parameters are available.
type

Loại thông điệp để xem trước

reply
Thêm một bình luận mới như một câu trả lời cho một bình luận hiện có.
topic
Thêm một đề mục thảo luận mới và bình luận đầu tiên trong đó.
This parameter is required.
Một trong các giá trị: reply, topic
page

Trang để thực hiện các tác vụ.

This parameter is required.
wikitext

Content to preview, as wikitext.

This parameter is required.
sectiontitle

Tên của phần mới.

useskin

Apply the selected skin to the parser output. May affect the following properties: text, langlinks, headitems, modules, jsconfigvars, indicators.

Một trong các giá trị: apioutput, cologneblue, fallback, minerva, modern, monobook, timeless, vector, vector-2022
mobileformat

Trả về văn bản đã lọc theo một định dạng thích hợp với thiết bị di động.

Type: boolean (details)