Помоћ око Медијавикијевог API-ја
Ово је аутоматски генерисана документација за Медијавики API
Документација и примери: -{R|https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page}-
submodule=lock-topic (cot)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Извор: Flow
- Лиценца: GPL-2.0-or-later
Lock or unlock a Structured Discussions topic.
Параметри:
- cotmoderationState
State to put topic in, either lock or unlock.
- This parameter is required.
- One of the following values: close, lock, reopen, unlock
- cotreason
Reason for locking or unlocking the topic. Note, the on-wiki Structured Discussions client uses "Marked as resolved" here, and puts optional additional information in the summary.
- This parameter is required.
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.