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. Its operation may change without notice.
  • This module requires read rights.
  • Source: Discussion tools
  • License: MIT

Preview a message on a discussion page.

Specific parameters:
Other general parameters are available.
type

Type of message to preview

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

The page to perform actions on.

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, vector, vector-2022
mobileformat

Return parse output in a format suitable for mobile devices.

Type: boolean (details)