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=updatewikiconfigvariabledefinition
(main | updatewikiconfigvariabledefinition)
- 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
Update properties of existing config variable.
Specific parameters:
Other general parameters are available.
- variable_id
ID of the variable.
- Type: integer
- variable_access_level
Access level of the variable.
- This parameter is required.
- One of the following values: readonly, staff, user
- variable_description
Description of the variable.
- This parameter is required.
- variable_labels
Variable labels.
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.