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 requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Fonto: Discussion tools
  • License: MIT

Post a message on a discussion page.

Specific parameters:
Other general parameters are available.
paction

Plenumenda ago.

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
autosubscribe

Automatically subscribe the user to the talk page thread?

One of the following values: default, no, yes
Default: default
page

La paĝo, kiun agoj plenumendas.

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 16 characters.
commentname

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

commentid

Identigilo de la komento al kiu respondi. Uzita nur kiam paction estas addcomment. Transpasas la parametron commentname.

wikitext

Enhavo por afiŝi, kiel vikiteksto. Ne povas esti uzita kun html.

html

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

summary

Redakta resumo.

sectiontitle

Titolo de nova paragrafo. Only used when paction is addtopic.

allownosectiontitle

Allow posting a new section without a title.

Type: boolean (details)
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, cologneblue, fallback, minerva, modern, monobook, timeless, 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

Identigilo de homultesto Captcha (por konservi kun homultest-respondo).

captchaword

Respondo al homultesto Captcha (por konservi kun homultesto-respondo).

nocontent

Ellasu la HTML-enhavon de la nova revizio en la respondo.

tags

Ŝanĝu etikedojn por apliki al la redaktado.

Separate values with | or alternative.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
returnto

Page title. If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to the given page, instead of the page that was edited.

Tipo: paĝa titolo
Akceptas neekzistantajn paĝojn.
returntoquery

URL query parameters (with leading ?). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given query parameters.

Default: (empty)
returntoanchor

URL fragment (with leading #). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given fragment.

Default: (empty)
mobileformat

Liveri sintaksanalizan eligon en aranĝo taŭga por poŝaparatoj.

Type: boolean (details)