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

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

Cambiar las preferencias globales del usuario actual.

Only preferences registered for the current wiki can be changed locally.

Parámetros:
reset

Reset global preferences. Removes all, or, depending on the value of the resetkinds parameter, some types of global preferences and make them not global anymore.

Type: boolean (details)
resetkinds

List of types of preferences 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 preference will be made non-global. 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 preference that should be set to the value given by optionvalue.

optionvalue

The value for the preference specified by optionname.

token

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

Este parámetro es obligatorio.