MediaWiki API hulp
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)
- Voor deze module zijn leesrechten nodig.
- Voor deze module zijn schrijfrechten nodig.
- This module only accepts POST requests.
- Bron: Flow
- Licentie: GPL-2.0-or-later
Lock or unlock a Structured Discussions topic.
Parameters:
- cotmoderationState
State to put topic in, either lock or unlock.
- Deze parameter is vereist.
- Een van de volgende waarden: 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.
- Deze parameter is vereist.
- token
A "csrf" token retrieved from action=query&meta=tokens
- Deze parameter is vereist.