Ayuda de la API de MediaWiki
Esta es una página de documentación autogenerada de la API de MediaWiki.
Documentación y ejemplos: https://www.mediawiki.org/wiki/API
action=globalpreferenceoverrides
- Este módulo requiere permisos de lectura.
- Este módulo requiere permisos de escritura.
- Este módulo solo acepta solicitudes POST.
- Fuente: GlobalPreferences
- Licencia: GPL-2.0-or-later
Change local overrides for global preferences for the current user.
Global values for affected preferences will be ignored.
- reset
Reset local overrides. Removes all, or, depending on the value of the
resetkinds
parameter, some types of local overrides and makes them global again.- Type: boolean (details)
- resetkinds
List of types of overrides to reset when the reset option is set.
- Valores (separados por | u otro separador): all, registered, registered-checkmatrix, registered-multiselect, special, unused, userjs
- Predeterminado: all
- change
List of changes, formatted name=value (e.g. skin=vector). If no value is given (not even an equals sign), e.g., preferencename|otherpreference|..., the override will be removed. If any value passed contains the pipe character (|), use the alternative multiple-value separator for correct operation.
- Separar los valores con | o con una alternativa.
- Maximum number of values is 50 (500 for clients allowed higher limits).
- optionname
The name of the override that should be set to the value given by optionvalue.
- optionvalue
The value for the override specified by optionname.
- token
A "csrf" token retrieved from action=query&meta=tokens
- Este parámetro es obligatorio.
- Remove all local overrides.
- api.php?action=globalpreferenceoverrides&reset=&token=123ABC [abrir en la zona de pruebas]
- Set or change overrides for skin and hideminor preferences.
- api.php?action=globalpreferenceoverrides&change=skin=vector|hideminor=1&token=123ABC [abrir en la zona de pruebas]