Bantuan API MediaWiki

Ini merupakan laman dokumentasi MediaWiki API yang dihasilkan secara automatik.

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

submodule=new-topic (nt)

(main | flow | new-topic)
  • Modul ini memerlukan hak membaca.
  • Modul ini memerlukan hak menulis.
  • Modul ini menerima permohonan POST sahaja.
  • Source: Flow
  • License: GPL-2.0-or-later

Creates a new Structured Discussions topic on the given workflow.

Parameter:
Other general parameters are available.
nttopic

Text for new topic title.

This parameter is required.
ntcontent

Content for the topic's initial reply.

This parameter is required.
ntformat

Format of the new topic's initial reply (wikitext|html)

One of the following values: html, wikitext
Default: wikitext
token

A "csrf" token retrieved from action=query&meta=tokens

This parameter is required.