Bantuan API MediaWiki

Ini merupakan laman dokumentasi MediaWiki API yang dihasilkan secara automatik.

Dokumentasi dan contoh-contoh: https://www.mediawiki.org/wiki/API

action=discussiontoolspreview

(main | discussiontoolspreview)
  • Modul ini dalaman atau tidak stabil. Operasinya boleh berubah tanpa amaran.
  • Modul ini memerlukan hak membaca.
  • Source: Alat perbincangan
  • License: MIT

Preview a message on a discussion page.

Parameter:
Other general parameters are available.
type

Type of message to preview

reply
(tiada keterangan)
topic
(tiada keterangan)
This parameter is required.
One of the following values: reply, topic
page

Halaman untuk melaksanakan tindakan.

This parameter is required.
wikitext

Content to preview, as wikitext.

This parameter is required.
sectiontitle

The title for a new section when using 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, citizen, fallback, minerva, timeless, vector, vector-2022
mobileformat

Return parse output in a format suitable for mobile devices.

Type: boolean (details)