Bantuan API MediaWiki
Ini merupakan laman dokumentasi MediaWiki API yang dihasilkan secara automatik.
Dokumentasi dan contoh-contoh: https://www.mediawiki.org/wiki/API
action=discussiontoolsedit
- Modul ini dalaman atau tidak stabil. Operasinya boleh berubah tanpa amaran.
- Modul ini memerlukan hak membaca.
- Modul ini memerlukan hak menulis.
- Modul ini menerima permohonan POST sahaja.
- Source: Alat perbincangan
- License: MIT
Post a message on a discussion page.
- paction
Tindakan untuk dilaksanakan.
- 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
Halaman untuk melaksanakan tindakan.
- 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
ID of the comment to reply to. Only used when paction is addcomment. Overrides commentname.
- wikitext
Wikiteks
- html
Content to post, as HTML. Cannot be used together with wikitext.
- summary
Ringkasan suntingan.
- 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, citizen, fallback, minerva, 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 (apabila menyimpan dengan jawapan captcha).
- captchaword
Jawapan kepada captcha (apabila menyimpan dengan jawapan captcha).
- mobileformat
Return parse output in a format suitable for mobile devices.
- Type: boolean (details)