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.
  • Font : Eines de discussió
  • Licéncia : MIT

Preview a message on a discussion page.

Paramètres :
Other general parameters are available.
type

Type of message to preview

reply
Afegeix un nou comentari com a resposta a un altre ja existent.
topic
Afegeix una nova secció de debat i un missatge d'inici.
Cal aquest paràmetre.
One of the following values: reply, topic
page

Pàgina per a realitzar accions

Cal aquest paràmetre.
wikitext

Content to preview, as wikitext.

Cal aquest paràmetre.
sectiontitle

El títol d’una secció nova.

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, cologneblue, fallback, minerva, modern, monobook, timeless, vector, vector-2022
mobileformat

Return parse output in a format suitable for mobile devices.

Type: boolean (details)