MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=createwikiconfigvariabledefinition
(main | createwikiconfigvariabledefinition)
- 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
Create config variable.
Parameters:
- variable_name
Name of the variable.
- This parameter is required.
- variable_type
Type of the variable.
- This parameter is required.
- One of the following values: integer, long, string, float, array, boolean, text, struct, hash
- 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.