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.

Parameters:
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, fallback, minerva, monobook, timeless, vector, vector-2022