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
submodule=new-topic (nt)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Source: Flow
- License: GPL-2.0-or-later
Creates a new Structured Discussions topic on the given workflow.
Parameters:
- 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.