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
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Source: Інструменты абмеркаванняў
- License: MIT
Апублікаваць паведамленне на старонцы размовы.
- paction
Action to perform.
- addcomment
- Дадаць новы каментар як адказ на існы каментар.
- addtopic
- Дадаць новы раздзел размовы і першы каментар у ім.
- 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
The page to perform actions on.
- This parameter is required.
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
- formtoken
Неабавязковы ўнікальны ідэнтыфікатар, створаны ў кліенце для прадухілення падвойнай публікацыі.
- Cannot be longer than 16 characters.
- commentname
Назва каментара, на які трэба адказаць. Выкарыстоўваецца толькі калі paction — addcomment.
- commentid
Ідэнтыфікатар каментара, на які трэба адказаць. Выкарыстоўваецца толькі калі paction — addcomment. Перавызначае commentname.
- wikitext
Кантэнт для публікацыі як вікі-тэкст. Нельга выкарыстоўваць разам з html.
- html
Кантэнт для публікацыі як HTML. Нельга выкарыстоўваць разам з wikitext.
- summary
Edit summary.
- sectiontitle
The title for a new section when using $1section=new. Выкарыстоўваецца толькі калі paction — 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
Captcha ID (when saving with a captcha response).
- captchaword
Answer to the captcha (when saving with a captcha response).
- nocontent
Omit the HTML content of the new revision in the response.
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.
- Тып: назва старонкі
- Прымае неіснуючыя старонкі.
- 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
Вяртанне вываду парсеру ў фармаце, прыдатным для мабільных прылад.
- Type: boolean (details)