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=removewikiconfigvariable

(main | removewikiconfigvariable)
  • 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

Remove a config variable on a wiki.

Specific parameters:
Other general parameters are available.
variable_id

The ID of the variable to remove.

Type: integer
variable_name

The name of the variable to remove.

wiki_id

The ID of the wiki on which to remove the variable.

This parameter is required.
Type: integer
reason

The reason for removing the variable.

token

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

This parameter is required.