Agiùtto dAPI MediaWiki
Sta chi a l'é 'na pàgina de docomentaçión de API MediaWiki outogenerâ.
Docomentaçión e ezénpiː https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=globalpreferences
- Sto mòdolo chi o domànda i dirìtti de letûa.
- Sto mòdolo chi o domànda i dirìtti de scritûa.
- Sto mòdolo chi o l'achéugge sôlo domànde POST.
- Referénsaː GlobalPreferences
- Licénsaː GPL-2.0-or-later
Change global preferences of the current user.
Only preferences registered for the current wiki can be changed locally.
- reset
Reset global preferences. Removes all, or, depending on the value of the
resetkindsparameter, some types of global preferences and make them not global anymore.- Tîpoː boleàn (detàggi)
- resetkinds
List of types of preferences to reset when the reset option is set.
- Valoî (separæ da | ò alternatîva): all, registered, registered-checkmatrix, registered-multiselect, special, unused, userjs
- Predefinîo: 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.
- Separâ i valoî con | ò alternatîva.
- O nùmero màscimo de valoî o l'é de 50 (500 pe-i client che gh'àn o permìsso pe di lìmiti ciù èrti).
- optionname
The name of the preference that should be set to the value given by optionvalue.
- optionvalue
Il valore per la preferenza specificata da optionname.
- token
'N token "csrf" ricuperòu da action=query&meta=tokens
- Sto paràmetro chi o l'é òbligatöio.
- Make a single preference non-global.
- api.php?action=globalpreferences&change=skin=&token=123ABC [arvî inte 'na sandbox]
- Make all preferences non-global.
- api.php?action=globalpreferences&reset=&token=123ABC [arvî inte 'na sandbox]
- Change skin and hideminor preferences.
- api.php?action=globalpreferences&change=skin=vector|hideminor=1&token=123ABC [arvî inte 'na sandbox]