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: Perkakas diskusi
  • License: MIT

Kirim pesan di halaman diskusi.

Specific parameters:
Other general parameters are available.
paction

Tindakan untuk dilakukan.

addcomment
Tambahkan sebuah komentar baru sebagai jawaban terhadap komentar yang telah ada.
addtopic
Tambahkan sebuah bagian diskusi baru dan komentar pertama di dalamnya.
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

Halaman di mana tindakan akan dilakukan.

This parameter is required.
token

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

This parameter is required.
formtoken

ID unik yang bersifat opsional dan dibuat di klien untuk mencegah pos ganda.

Cannot be longer than 16 characters.
commentname

Nama komentar yang akan dibalas. Gunakan hanya ketika paction adalah addcomment.

commentid

ID komentar yang akan dibalas. Gunakan hanya ketika paction adalah addcomment. Tolak commentname.

wikitext

Konten untuk dikirim, sebagai teks wiki. Tidak dapat digunakan bersama dengan html.

html

Konten untuk dikirim sebagai HTML. Tidak dapat digunakan bersama dengan wikitext.

summary

Ringkasan suntingan

sectiontitle

Judul untuk bagian baru saat menggunakan $1section=new. Gunakan hanya ketika paction adalah 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

Buat atau hapus halaman tanpa syarat dari daftar pantauan pengguna saat ini, gunakan preferensi (diabaikan untuk pengguna bot) atau jangan ganti pantauan.

captchaid

ID Captcha (ketika menyimpan dengan respons captcha).

captchaword

Jawaban captcha (ketika menyimpan dengan respons captcha).

nocontent

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

tags

Tag perubahan untuk diterapkan pada suntingan.

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.

Tipe: judul halaman
Menerima halaman yang tidak ada.
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

Return parse output in a format suitable for mobile devices.

Type: boolean (details)