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.
  • Source: Discussion tools
  • License: MIT

Publică un mesaj pe o pagină de discuție.

Specific parameters:
Alți parametri generali sunt disponibili.
paction

Acțiunea de efectuat.

addcomment
Adaugă un comentariu nou ca un răspuns la un comentariu existent.
addtopic
Adaugă o secțiune de discuție nouă și primul comentariu în ea.
This parameter is required.
One of the following values: addcomment, addtopic
autosubscribe

Abonează automat utilizatorul la șirul paginii de discuție?

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

Pagina asupra căreia să se efectueze acțiunile.

This parameter is required.
token

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

This parameter is required.
formtoken

Un ID unic opțional generat în client pentru a preveni publicarea dublă.

Cannot be longer than 16 characters.
commentname

Numele comentariului la care să se răspundă. Utilizat doar când paction este addcomment.

commentid

ID-ul comentariului la care să se răspundă. Utilizat doar când paction este addcomment. Suprascrie commentname.

wikitext

Conținutul de publicat, ca wikitext. Nu poate fi utilizat împreună cu html.

html

Conținutul de publicat, ca HTML. Nu poate fi utilizat împreună cu wikitext.

summary

Descrierea modificării.

sectiontitle

The title for a new section when using $1section=new. Utilizat doar când paction este addtopic.

allownosectiontitle

Permite publicarea unei noi secțiuni fără un titlu.

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, fallback, minerva, 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

ID captcha (menținând în același timp cu răspunsul captcha).

captchaword

Răspunsul la captcha (cand se salvează răspuns captcha)

nocontent

Omit the HTML content of the new revision in the response.

tags

Change tags to apply to the edit.

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.

Tip: titlu de pagină
Acceptă pagini inexistente.
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)