Pomoć oko Medijavikijevog API-ja

Ovo je automatski generisana dokumentacija za Medijaviki API

Dokumentacija i primeri: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=setglobalaccountstatus

(main | setglobalaccountstatus)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Izvor: CentralAuth
  • Licenca: GPL-2.0-or-later

Postavi status globalnog korisnika.

Parametri:
Other general parameters are available.
user

Korisnik čiji status treba promeniti.

This parameter is required.
locked

Change whether this user is locked or not.

One of the following values: Can be empty, or lock, unlock
hidden

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

One of the following values: Can be empty, or lists, suppressed
reason

Reason for changing the user's status.

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

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

This parameter is required.