MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

action=comment

(main | comment)
  • This module requires read rights.
  • This module only accepts POST requests.
  • Source: Curse Profile
  • License: GPL-2.0-or-later

Allows commenting actions to be taken.

Parameters:
global_id

The id for a user on whose board a comment will be added

This parameter is required.
Type: integer
user_id

The optional id for a user on whose board a comment will be added. global_id is ignored when this is present.

Type: integer
Default: 0
title

The headline to use when posting a new section to the user's talk page

This parameter is required.
text

The content of the comment to be added

This parameter is required.
inReplyTo

An OPTIONAL id of a comment that the new comment will reply to

Type: integer
Default: 0
token

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

This parameter is required.
do

The action that should be performed

This parameter is required.