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

submodule=close-open-topic (cot)

(main | flow | close-open-topic)
  • Aqueste modul es obsolèt.
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Font : Flow
  • Licéncia : GPL-2.0-or-later

Deprecated in favor of action=flow&submodule=lock-topic.

Paramètres :
Other general parameters are available.
cotmoderationState

State to put topic in, either "lock" or "unlock".

Cal aquest paràmetre.
One of the following values: close, lock, reopen, unlock
cotreason

Reason for locking or unlocking the topic.

Cal aquest paràmetre.
token

A "csrf" token retrieved from action=query&meta=tokens

Cal aquest paràmetre.