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=discussiontoolsedit

(main | discussiontoolsedit)
  • This module is internal or unstable. Its operation may change without notice.
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: Discussion tools
  • License: MIT

Post a message on a discussion page.

Parameters:
paction

Action to perform.

This parameter is required.
One of the following values: addcomment, addtopic
page

The page to perform actions on.

This parameter is required.
token

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

This parameter is required.
commentid

Comment ID.

wikitext

Wikitext

html

HTML

summary

Edit summary.

sectiontitle

The title for a new section.

watchlist

Unconditionally add or remove the page from the current user's watchlist, use preferences or do not change watch.

captchaid

Captcha ID (when saving with a captcha response).

captchaword

Answer to the captcha (when saving with a captcha response).