MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

action=savewikiconfigvariable

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

Set a config variable for a wiki.

Parameters:
variable_id

The ID of the variable to change.

Type: integer
variable_name

The name of the variable to change.

wiki_id

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

This parameter is required.
Type: integer
variable_value

The value to set on the variable.

This parameter is required.
reason

The reason for changing the variable.

token

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

This parameter is required.