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

action=markwikiclosed

(main | markwikiclosed)
  • This module is internal or unstable. Its operation may change without notice.
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: WikiConfig
  • License: GPL-2.0-or-later

Mark given wiki as closed (not publicly available).

Specific parameters:
Other general parameters are available.
close_flags

Closing option with which wiki will be closed.

This parameter is required.
Type: list of integers
Separate values with | or alternative.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
wiki_id

The ID of the wiki which have to be closed.

This parameter is required.
Type: integer
redirect_url
ā§¼apihelp-markwikiclosed-param-redirect_urlā§½
reason

The reason for closing the wiki.

token

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

This parameter is required.