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
submodule=lock-topic (cot)
- 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: Flow
- License: GPL-2.0-or-later
Khóa hoặc mở khóa một đề tài Thảo luận Cấu trúc.
Các tham số:
Other general parameters are available.
- cotmoderationState
Trạng thái của đề tài, hoặc lock (khóa) hoặc unlock (mở khóa).
- This parameter is required.
- Một trong các giá trị: close, lock, reopen, unlock
- cotreason
Lý do khóa hoặc mở khóa đề tài. Lưu ý rằng trình Thảo luận Cấu trúc trên wiki sẽ đề “Đã giải quyết” tại đây và đưa thêm thông tin vào tóm lược.
- This parameter is required.
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.