Trợ giúp về API MediaWiki
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=discussiontoolsedit
- Mô đun này cần quyền đọc.
- Mô đun này cần quyền ghi.
- Mô đun này chỉ có nhận các yêu cầu POST.
- Source: Công cụ thảo luận
- License: MIT
Đăng lời bình luận trên một trang thảo luận.
- paction
Tác vụ để thực hiện.
- addcomment
- Thêm một bình luận mới như một câu trả lời cho một bình luận hiện có.
- addtopic
- Thêm một đề mục thảo luận mới và bình luận đầu tiên trong đó.
- This parameter is required.
- Một trong các giá trị: addcomment, addtopic
- autosubscribe
Automatically subscribe the user to the talk page thread?
- Một trong các giá trị: default, no, yes
- Default: default
- page
Trang để thực hiện các tác vụ.
- This parameter is required.
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
- formtoken
Một ID duy nhất tùy chọn được tạo trong ứng dụng khách để ngăn đăng hai lần.
- Cannot be longer than 16 characters.
- commentname
Tên của bình luận để trả lời. Chỉ được sử dụng khi paction là addcomment.
- commentid
ID của bình luận để trả lời. Chỉ được sử dụng khi paction là addcomment. Ghi đè commentname.
- wikitext
Nội dung để đăng, dưới dạng mã wiki. Không thể được sử dụng cùng với html.
- html
Nội dung để đăng, dưới dạng HTML. Không thể được sử dụng cùng với wikitext.
- summary
Lời tóm lược sửa đổi.
- sectiontitle
Tên của phần mới. Chỉ được sử dụng khi paction là 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.
- Một trong các giá trị: 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
ID CAPTCHA (khi lưu với một hồi đáp CAPTCHA).
- captchaword
Lời giải CAPTCHA (khi lưu với một lời giải CAPTCHA).
- nocontent
Omit the HTML content of the new revision in the response.
Change tags to apply to the edit.
- Phân tách các giá trị bằng |.
- 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.
- Kiểu: tên trang
- Cho phép trang không tồn tại.
- 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.
- Mặc định: (trống)
- 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.
- Mặc định: (trống)
- mobileformat
Trả về văn bản đã lọc theo một định dạng thích hợp với thiết bị di động.
- Type: boolean (details)