MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

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: unknown
  • License: unknown

Mark given wiki as closed (not publicly available).

Parameters:
close_flags

Closing option with which wiki will be closed.

This parameter is required.
Values (separate with | or alternative): 1, 2, 8, 16, 32
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.