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=discussiontoolspreview

(main | discussiontoolspreview)
  • This module is internal or unstable, and you should not use it. Its operation may change without notice.
  • This module requires read rights.
  • Source: Perkakas diskusi
  • License: MIT

Preview a message on a discussion page.

Specific parameters:
Other general parameters are available.
type

Type of message to preview

reply
Tambahkan sebuah komentar baru sebagai jawaban terhadap komentar yang telah ada.
topic
Tambahkan sebuah bagian diskusi baru dan komentar pertama di dalamnya.
This parameter is required.
One of the following values: reply, topic
page

Halaman di mana tindakan akan dilakukan.

This parameter is required.
wikitext

Content to preview, as wikitext.

This parameter is required.
sectiontitle

Judul untuk bagian baru saat menggunakan section=new.

useskin

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

One of the following values: apioutput, authentication-popup, cologneblue, fallback, json, minerva, modern, monobook, timeless, vector, vector-2022
mobileformat

Return parse output in a format suitable for mobile devices.

Type: boolean (details)