Bantuan API MediaWiki

Ini merupakan laman dokumentasi MediaWiki API yang dihasilkan secara automatik.

Dokumentasi dan contoh-contoh: https://www.mediawiki.org/wiki/API

submodule=close-open-topic (cot)

(main | flow | close-open-topic)
  • Modul ini sudah lapuk.
  • Modul ini memerlukan hak membaca.
  • Modul ini memerlukan hak menulis.
  • Modul ini menerima permohonan POST sahaja.
  • Source: Flow
  • License: GPL-2.0-or-later

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

Parameter:
Other general parameters are available.
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.