Помоћ око Медијавикијевог API-ја

Ово је аутоматски генерисана документација за Медијавики API

Документација и примери: -{R|https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page}-

submodule=close-open-topic (cot)

(main | flow | close-open-topic)
  • Овај модул је застарео.
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Извор: Flow
  • Лиценца: GPL-2.0-or-later

Deprecated in favor of action=flow&submodule=lock-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.

This parameter is required.
token

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

This parameter is required.