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
list=globalblocks (bg)
- Questo modulo richiede i diritti di lettura.
- Fonte: GlobalBlocking
- Licenza: GPL-2.0-or-later
Elenca tutti gli indirizzi IP bloccati globalmente
- bgstart
Il timestamp da cui iniziare l'elenco.
- Tipo: timestamp (formati consentiti)
- bgend
Il timestamp al quale interrompere l'elenco.
- Tipo: timestamp (formati consentiti)
- bgdir
In which direction to enumerate:
- Uno dei seguenti valori: newer, older
- Default: older
- bgids
Pipe-separated list of block IDs to list.
- Type: list of integers
- Separa i valori con | o alternativa.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- bgaddresses
- Deprecato.
Pipe-separated list of IP addresses to search for.
- Separa i valori con | o alternativa.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- bgtargets
Pipe-separated list of usernames, IP addresses, or IP ranges to search for. To search for IP blocks inside a given range, use bgip instead.
- Separa i valori con | o alternativa.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- bgip
Get all blocks applying to this IP address or CIDR range, including range blocks. Cannot be used together with bgaddresses or bgtargets. CIDR ranges broader than /16 are not accepted.
- bglimit
Il numero massimo di blocchi da elencare.
- Tipo: intero o max
- The value must be between 1 and 500.
- Default: 10
- bgprop
Quali proprietà ottenere.
- id
- Adds the ID of the global block.
- address
- Deprecato. Adds the target of the global block. This is deprecated and has been replaced by the 'target' prop.
- target
- Adds the target of the global block.
- by
- Adds the username of the blocking user, along with the wiki where they performed the global block.
- timestamp
- Adds the timestamp of when the global block was given.
- expiry
- Adds the timestamp of when the global block expires.
- reason
- Adds the reason given for the global block.
- range
- Adds the range of IP addresses affected by the global block (not included if the block does not target IP addresses).
- Valori (separati da | o alternativa): by, expiry, id, range, reason, target, timestamp, address
- Default: id|target|by|timestamp|expiry|reason
- Elenca tutti i blocchi globali
- api.php?action=query&list=globalblocks [apri in una sandbox]
- Elenca i blocchi globali che si applicano all'indirizzo IP 192.0.2.18
- api.php?action=query&list=globalblocks&bgip=192.0.2.18 [apri in una sandbox]