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

(main | setglobalaccountstatus)
  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: CentralAuth
  • Licenza: GPL-2.0-or-later

Hide or lock (or unhide or unlock) a global user account.

Parametri specifici:
Sono disponibili altri parametri generali.
user

User to change the status of.

This parameter is required.
locked

Change whether this user is locked or not.

Uno dei seguenti valori: Can be empty, or lock, unlock
hidden

Change whether this user is not hidden, hidden from the global users list, or suppressed.

Uno dei seguenti valori: Can be empty, or lists, suppressed
reason

Motivo per cambiare lo stato dell'utente.

statecheck

Optional MD5 of the expected current userid:username:hidden:locked. This is used to detect edit conflicts. The value of hidden must be an empty string if not hidden or the strings lists or suppressed. The value of locked must be 1 for locked, 0 for unlocked. Examples: 2128506:LeeSmith::0; 3839611:VandalGoblin:suppressed:1.

token

Un token "setglobalaccountstatus" recuperato da action=query&meta=tokens

This parameter is required.