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: Diskusiju rīki
- License: MIT
Ievietot ziņojumu diskusiju lapā.
- paction
Veicamā darbība.
- addcomment
- Pievienot jaunu komentāru kā atbildi esošam komentāram.
- addtopic
- Pievienot jaunu diskusijas sadaļu un pirmo komentāru tajā.
- 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
Lapa, kurā veikt darbības.
- This parameter is required.
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
- formtoken
Neobligāts unikāls ID, kas ģenerēts klienta pusē, lai novērstu dubultus ierakstus.
- Cannot be longer than 16 character.
- commentname
Name of the comment to reply to. Only used when paction is addcomment.
- commentid
Komentāra ID
- wikitext
Publicējamais saturs kā vikiteksts. Nevar izmantot kopā ar html.
- html
Publicējamais saturs kā HTML. Nevar izmantot kopā ar wikitext.
- summary
Izmaiņu kopsavilkums.
- sectiontitle
The title for a new section when using $1section=new. 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, contenttranslation, 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 (saglabājot ar captcha atbildi).
- captchaword
Atbilde uz captcha (saglabājot ar captcha atbildi).
- nocontent
Omit the HTML content of the new revision in the response.
Izmaini iezīmes, ko pievienot labojumam.
- 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.
- Type: page title
- Accepts non-existent pages.
- 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)