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: चर्चा उपकरण
  • License: MIT

Post a message on a discussion page.

Parameters:
paction

करने के लिए कार्य।

addcomment
Add a new comment as a reply to an existing comment.
addtopic
Add a new discussion section and the first comment in it.
This parameter is required.
One of the following values: addcomment, addtopic
page

पृष्ठ जिसमें कार्य किया जाएगा।

This parameter is required.
token

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

This parameter is required.
formtoken

An optional unique ID generated in the client to prevent double-posting.

Cannot be longer than १६ characters.
commentname

Name of the comment to reply to. Only used when paction is addcomment.

commentid

ID of the comment to reply to. Only used when paction is addcomment. Overrides commentname.

wikitext

Content to post, as wikitext. Cannot be used together with html.

html

Content to post, as HTML. Cannot be used together with wikitext.

summary

संपादन सारांश।

sectiontitle

The title for a new section when using $1section=new. Only used when paction is addtopic.

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, fallback, minerva, monobook, vector, vector-2022
watchlist

Unconditionally add or remove the page from the current user's watchlist, use preferences (ignored for bot users) or do not change watch.

captchaid

Captcha ID (जब Captcha के जवाब में सहेज रहे हों)।

captchaword

Captcha का जवाब (जब Captcha के जवाब में सहेज रहे हों)।

mobileformat

Return parse output in a format suitable for mobile devices.

Type: boolean (details)