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

Modulo principale

Stato: l'API MediaWiki è un'interfaccia matura e stabile che è attivamente supportata e migliorata. Anche se cerchiamo di evitarlo, potremmo dover fare delle modifiche che causano malfunzionamenti; iscriviti alla mailing list sugli annunci delle API MediaWiki per essere informato sugli aggiornamenti.

Istruzioni sbagliate: quando vengono impartite alle API delle istruzioni sbagliate, un'intestazione HTTP verrà inviata col messaggio "MediaWiki-API-Error" e, sia il valore dell'intestazione, sia il codice d'errore, verranno impostati con lo stesso valore. Per maggiori informazioni leggi API:Errori ed avvertimenti (in inglese).

Parametri specifici:
action

Azione da compiere.

abusefiltercheckmatch
Controlla se un filtro anti abusi viene attivato da un insieme di variabili, una modifica o un evento nel registro abusi.
abusefilterchecksyntax
Verifica la sintassi di un filtro anti abusi.
abusefilterevalexpression
Valuta un'espressione del filtro anti abusi.
abusefilterunblockautopromote
Sblocca la possibilità di autopromozione a seguito di un blocco imposto dal filtro anti abusi.
abuselogprivatedetails
Visualizza i dettagli privati di una voce del registro anti abusi.
acquiretempusername
Acquisisce un nome utente temporaneo e lo memorizza nella sessione corrente, se la creazione di un'utenza temporanea è abilitata e l'utente attuale è disconnesso. Se un nome è già stato memorizzato, restituisce lo stesso nome.
antispoof
Controlla un nome utente con le verifiche di normalizzazione AntiSpoof.
approve
Esamina una versione approvandola o disapprovandola.
block
Blocca un utente.
centralauthtoken
Recupera un centralauthtoken per l'esecuzione di una richiesta autenticata a un wiki collegato.
centralnoticecdncacheupdatebanner
Request the purge of banner content stored in the CDN (front-end) cache for anonymous users, for the requested banner and language
centralnoticechoicedata
Get data needed to choose a banner for a given project and language
centralnoticequerycampaign
Get all configuration settings for a campaign.
changeauthenticationdata
Modificare i dati di autenticazione per l'utente corrente.
changecontentmodel
Modifica il modello di contenuto di una pagina
chatgetnew
Get new messages in the chat.
chatkick
Kick a user from the chat
chatsend
Invia un messaggio pubblico alla chat
chatsendpm
Invia un messaggio privato a un utente
checktoken
Verifica la validità di un token da action=query&meta=tokens.
clearhasmsg
Cancella il flag hasmsg per l'utente corrente.
clientlogin
Accedi al wiki utilizzando il flusso interattivo.
commentblock
The commentblock API allows blocking a user from the comment it originated from after filling out the following parameters: CommentID.
commentdelete
The commentdelete API allows deleting a comment after filling out the following parameters: CommentID.
commentlatestid
The commentlatestID API allows to retrieve latest comment ID after filling out the following parameters: pageID
commentlist
The commentlist API retrieves multiple comments and outputs them as a list after filling out the following parameters: pageID, order, pagerPage, and showForm.
commentsubmit
The commentsubmit API allows to submit/post a comment after filling out the following parameters: pageID, parentID, commentText.
commentvote
The commentvote API allows to vote on a comment after filling out the following parameters: commentID, voteValue.
compare
Ottieni le differenze tra 2 pagine.
createaccount
Crea un nuovo account utente.
createlocalaccount
Forza la creazione di un'utenza locale. L'utenza centrale deve esistere.
delete
Cancella una pagina.
deletedumps
Delete dumps
deleteglobalaccount
Delete a global user.
deleteoredict
Deletes an OreDict entry from the table by its ID.
echocreateevent
Manually trigger a notification to a user
echomarkread
Contrassegna tutte le notifiche come lette per l'utente attuale.
echomarkseen
Contrassegna le notifiche come viste per l'utente attuale.
echomute
Mute or unmute notifications from certain users or pages.
edit
Crea e modifica pagine.
editmassmessagelist
Modifica elenco di consegna per messaggi massivi.
editoredict
Updates the mod, tag, name, and/or params for a given entry.
emailuser
Manda un'e-mail ad un utente.
embedvideo
Get generated video embed code for given parameters.
expandtemplates
Espande tutti i template all'interno del wikitesto.
feedcontributions
Returns a user's contributions feed.
feedrecentchanges
Returns a recent changes feed.
feedwatchlist
Returns a watchlist feed.
filerevert
Ripristina un file ad una versione precedente.
flickrblacklist
Validate a Flickr URL by using the user ID (NSID) for blacklisting.
generatedumps
Generate dumps
globalblock
Blocca o sblocca globalmente un utente.
globalpreferenceoverrides
Change local overrides for global preferences for the current user.
globalpreferences
Change global preferences of the current user.
globaluserrights
Add/remove a user to/from global groups.
help
Mostra la guida per i moduli specificati.
imagerotate
Ruota una o più immagini.
import
Import a page from another wiki, or from an XML file.
infobox
This module provides infobox parser
linkaccount
Collegamento di un'utenza di un provider di terze parti all'utente corrente.
login
Accedi e ottieni i cookie di autenticazione.
logout
Esci e cancella i dati della sessione.
managetags
Perform management tasks relating to change tags.
massmessage
Send a message to a list of pages.
mediadetection
Return the likelihood that the stashed image represented by the supplied filekey is a logo
mergehistory
Unisce cronologie pagine.
mintydocspublish
Publishes a MintyDocs page by copying it from the draft namespace to the main namespace.
moderation
Performs moderation-related action like Approve or Reject.
move
Sposta una pagina.
mscalendargetmonth
Get month
mscalendarremove
Remove
mscalendarsavenew
Save new
mscalendarupdate
Update
neworedict
Creates a new OreDict entry.
opensearch
Search the wiki using the OpenSearch protocol.
options
Change preferences of the current user.
pagetriageaction
Mark an article as reviewed or unreviewed.
pagetriagelist
Get a list of page IDs for building a PageTriage queue.
pagetriagestats
Get the stats for page triage.
pagetriagetagcopyvio
Tag a revision as a likely copyright violation.
pagetriagetagging
Aggiunge etichette a una voce.
paraminfo
Ottieni informazioni sui moduli API.
parse
Parses content and returns parser output.
patrol
Verifica una pagina o versione.
pfautocomplete
Autocompletion used by the Page Forms extension.
pfautoedit
Crea o modifica una pagina usando un modulo definito dall'estensione Page Forms.
protect
Modifica il livello di protezione di una pagina.
purge
Pulisce la cache per i titoli indicati.
query
Fetch data from and about MediaWiki.
removeauthenticationdata
Rimuove i dati di autenticazione per l'utente corrente.
removeavatar
Remove an avatar, either yours or if you're privileged, also that of another user.
resetpassword
Invia una mail per reimpostare la password di un utente.
revisiondelete
Cancella e ripristina le versioni.
rollback
Undo the last edit to the page.
rsd
Export an RSD (Really Simple Discovery) schema.
setglobalaccountstatus
Hide or lock (or unhide or unlock) a global user account.
setnotificationtimestamp
Update the notification timestamp for watched pages.
setpagelanguage
Cambia la lingua di una pagina.
shortenurl
Abbrevia un URL lungo in uno più corto.
smpuserprivacy
API module for setting the visibility ("privacy") of a profile field
smpuserprofiletype
Get a user's user page type or set your own user page type
socialprofile-delete-message
Delete a UserBoard message.
socialprofile-request-response
Responds to user relationship (friend/foe) requests.
socialprofile-send-message
Send a message to a user's UserBoard.
spamblacklist
Validate one or more URLs against the spam block list.
tag
Add or remove change tags from individual revisions or log entries.
templatedata
Fetch data stored by the TemplateData extension.
titleblacklist
Validate a page title, filename, or username against the TitleBlacklist.
torblock
Check if an IP address is blocked as a Tor exit node.
transcodereset
Users with the 'transcode-reset' right can reset and re-run a transcode job.
unblock
Sblocca un utente
undelete
Ripristina versioni di una pagina cancellata.
unlinkaccount
Rimuove un'utenza di terze parti collegata all'utente corrente.
upload
Upload a file, or get the status of pending uploads.
uploadavatar
Upload an avatar.
userrights
Change a user's group membership.
validatepassword
Convalida una password seguendo le politiche del wiki sulle password.
viewdumps
Vedere dumps per tipo specificato, per nome del file o etichetta temporale.
watch
Aggiunge o rimuove pagine dagli osservati speciali dell'utente attuale.
wbavailablebadges
Interroga gli elementi distintivi disponibili.
wbcreateclaim
Crea asserzioni Wikibase.
wbcreateredirect
Crea reindirizzamenti entità.
wbeditentity
Creates a single new Wikibase entity and modifies it with serialised information.
wbformatentities
Formats entity IDs to HTML.
wbformatvalue
Formati DataValues.
wbgetclaims
Ottiene asserzioni Wikibase.
wbgetentities
Ottiene i dati per più entità Wikibase.
wblinktitles
Associa due pagine su due wiki diversi con un elemento Wikibase.
wbmergeitems
Unisce più elementi.
wbparsevalue
Parses values using a ValueParser.
wbremoveclaims
Rimuove asserzioni Wikibase.
wbremovequalifiers
Rimuove un qualificatore da un'asserzione.
wbremovereferences
Rimuove uno o più riferimenti della stessa dichiarazione.
wbsearchentities
Searches for entities using labels and aliases.
wbsetaliases
Imposta gli alias per un'entità Wikibase.
wbsetclaim
Creates or updates an entire Statement or Claim.
wbsetclaimvalue
Imposta il valore di un'asserzione Wikibase.
wbsetdescription
Sets a description for a single Wikibase entity.
wbsetlabel
Imposta un'etichetta per una singola entità Wikibase.
wbsetqualifier
Crea un qualificatore o imposta il valore di uno esistente.
wbsetreference
Creates a reference or sets the value of an existing one.
wbsetsitelink
Associates a page on a wiki with a Wikibase item or removes an already made such association.
webapp-manifest
Returns a webapp manifest.
categorytree
Internal. Modulo interno per l'estensione CategoryTree.
cspreport
Internal. Used by browsers to report violations of the Content Security Policy. This module should never be used, except when used automatically by a CSP compliant web browser.
editcheckreferenceurl
Internal. Check the status of a URL for use as a reference.
oathvalidate
Internal. Validate a two-factor authentication (OATH) token.
scribunto-console
Internal. Internal module for servicing XHR requests from the Scribunto console.
stashedit
Internal. Prepare an edit in shared cache.
timedtext
Internal. Provides timed text content for usage by <track> elements
visualeditor
Internal. Returns HTML5 for a page from the Parsoid service.
visualeditoredit
Internal. Save an HTML5 page to MediaWiki (converted to wikitext via the Parsoid service).
Uno dei seguenti valori: abusefiltercheckmatch, abusefilterchecksyntax, abusefilterevalexpression, abusefilterunblockautopromote, abuselogprivatedetails, acquiretempusername, antispoof, approve, block, centralauthtoken, centralnoticecdncacheupdatebanner, centralnoticechoicedata, centralnoticequerycampaign, changeauthenticationdata, changecontentmodel, chatgetnew, chatkick, chatsend, chatsendpm, checktoken, clearhasmsg, clientlogin, commentblock, commentdelete, commentlatestid, commentlist, commentsubmit, commentvote, compare, createaccount, createlocalaccount, delete, deletedumps, deleteglobalaccount, deleteoredict, echocreateevent, echomarkread, echomarkseen, echomute, edit, editmassmessagelist, editoredict, emailuser, embedvideo, expandtemplates, feedcontributions, feedrecentchanges, feedwatchlist, filerevert, flickrblacklist, generatedumps, globalblock, globalpreferenceoverrides, globalpreferences, globaluserrights, help, imagerotate, import, infobox, linkaccount, login, logout, managetags, massmessage, mediadetection, mergehistory, mintydocspublish, moderation, move, mscalendargetmonth, mscalendarremove, mscalendarsavenew, mscalendarupdate, neworedict, opensearch, options, pagetriageaction, pagetriagelist, pagetriagestats, pagetriagetagcopyvio, pagetriagetagging, paraminfo, parse, patrol, pfautocomplete, pfautoedit, protect, purge, query, removeauthenticationdata, removeavatar, resetpassword, revisiondelete, rollback, rsd, setglobalaccountstatus, setnotificationtimestamp, setpagelanguage, shortenurl, smpuserprivacy, smpuserprofiletype, socialprofile-delete-message, socialprofile-request-response, socialprofile-send-message, spamblacklist, tag, templatedata, titleblacklist, torblock, transcodereset, unblock, undelete, unlinkaccount, upload, uploadavatar, userrights, validatepassword, viewdumps, watch, wbavailablebadges, wbcreateclaim, wbcreateredirect, wbeditentity, wbformatentities, wbformatvalue, wbgetclaims, wbgetentities, wblinktitles, wbmergeitems, wbparsevalue, wbremoveclaims, wbremovequalifiers, wbremovereferences, wbsearchentities, wbsetaliases, wbsetclaim, wbsetclaimvalue, wbsetdescription, wbsetlabel, wbsetqualifier, wbsetreference, wbsetsitelink, webapp-manifest, categorytree, cspreport, editcheckreferenceurl, oathvalidate, scribunto-console, stashedit, timedtext, visualeditor, visualeditoredit
Predefinito: help
format

Formato dell'output.

json
Output data in JSON format.
jsonfm
Output data in JSON format (pretty-print in HTML).
none
Output nothing.
php
Output data in serialized PHP format.
phpfm
Output data in serialized PHP format (pretty-print in HTML).
rawfm
Output data, including debugging elements, in JSON format (pretty-print in HTML).
xml
Output data in XML format.
xmlfm
Output data in XML format (pretty-print in HTML).
Uno dei seguenti valori: json, jsonfm, none, php, phpfm, rawfm, xml, xmlfm
Predefinito: jsonfm
maxlag

Il massimo ritardo può essere utilizzato quando MediaWiki è installato su un cluster replicato da un database. Per evitare che le azioni causino un ulteriore ritardo di replica del sito, questo parametro può far attendere il client finché il ritardo di replica non è inferiore al valore specificato. In caso di ritardo eccessivo, viene restituito un codice di errore maxlag con un messaggio tipo Attendi $host: $lag seconds lagged.
Vedere Manual: Maxlag parameter per ulteriori informazioni.

Type: integer
smaxage

Imposta l'intestazione di controllo della cache HTTP s-maxage a questo numero di secondi. Gli errori non vengono mai memorizzati nella cache.

Type: integer
The value must be no less than 0.
Predefinito: 0
maxage

Imposta l'intestazione di controllo della cache HTTP max-age a questo numero di secondi. Gli errori non vengono mai memorizzati nella cache.

Type: integer
The value must be no less than 0.
Predefinito: 0
assert

Verifica che l'utente abbia effettuato l'accesso (anche come utente temporaneo) se si è impostato user, non abbia effettuato l'accesso se si è impostato anon o che abbia i permessi di bot se si è impostato bot.

Uno dei seguenti valori: anon, bot, user
assertuser

Verifica che l'utente corrente è l'utente nominato.

Tipo: utente, da uno qualsiasi nome utente e Utente temporaneo
requestid

Tutti i valori forniti saranno implementati nella risposta. Potrebbero venir utilizzati per distinguere le richieste.

servedby

Includi nel risultato il nome dell'host che ha servito la richiesta.

Tipo: booleano (dettagli)
curtimestamp

Includi nel risultato il timestamp attuale.

Tipo: booleano (dettagli)
responselanginfo

Includi la lingua utilizzata per uselang e errorlang nel risultato.

Tipo: booleano (dettagli)
origin

When accessing the API using a cross-domain AJAX request (CORS), set this to the originating domain. This must be included in any pre-flight request, and therefore must be part of the request URI (not the POST body).

For authenticated requests, this must match one of the origins in the Origin header exactly, so it has to be set to something like https://en.wikipedia.org or https://meta.wikimedia.org. If this parameter does not match the Origin header, a 403 response will be returned. If this parameter matches the Origin header and the origin is allowed, the Access-Control-Allow-Origin and Access-Control-Allow-Credentials headers will be set.

For non-authenticated requests, specify the value *. This will cause the Access-Control-Allow-Origin header to be set, but Access-Control-Allow-Credentials will be false and all user-specific data will be restricted.

uselang

Lingua da utilizzare per la traduzione dei messaggi. action=query&meta=siteinfo&siprop=languages restituisce un elenco di codici lingua. Puoi specificare user per utilizzare la lingua preferita dell'utente corrente, oppure content per utilizzare la lingua dei contenuti di questo wiki.

Predefinito: user
variant

Variante della lingua. Funziona solo se la lingua originale supporta la variante di conversione.

errorformat

Formato da utilizzare per generare un testo di avvertenza e errore

plaintext
Wikitesto con etichette HTML rimosse ed entità sostituite.
wikitext
Unparsed wikitext.
html
HTML
raw
Chiave del messaggio e parametri.
none
Nessun output di testo, solo i codici di errore.
bc
Format used prior to MediaWiki 1.29. errorlang and errorsuselocal are ignored.
Uno dei seguenti valori: bc, html, none, plaintext, raw, wikitext
Predefinito: bc
errorlang

Lingua da utilizzare per avvisi ed errori. action=query&meta=siteinfo&siprop=languages restituisce un elenco di codici lingua. Specificare content per utilizzare la lingua del contenuto di questa wiki o uselang per utilizzare lo stesso valore del parametro uselang.

Predefinito: uselang
errorsuselocal

Se indicato, i testi di errore impiegheranno messaggi personalizzati localmente dal namespace MediaWiki.

Tipo: booleano (dettagli)
centralauthtoken

When accessing the API using a cross-domain AJAX request (CORS), use this to authenticate as the current SUL user. Use action=centralauthtoken on this wiki to retrieve the token, before making the CORS request. Each token may only be used once, and expires after 10 seconds. This should be included in any pre-flight request, and therefore should be included in the request URI (not the POST body).

Esempi:
Aiuto per il modulo principale.
api.php?action=help [apri in una sandbox]
Tutti gli aiuti in una pagina.
api.php?action=help&recursivesubmodules=1 [apri in una sandbox]
Permesso:
apihighlimits
Use higher limits in API queries (slow queries: 500; fast queries: 5000). The limits for slow queries also apply to multivalue parameters.
Granted to: bot e sysop

action=abusefiltercheckmatch

  • Questo modulo richiede i diritti di lettura.
  • Fonte: Abuse Filter
  • Licenza: GPL-2.0-or-later

Controlla se un filtro anti abusi viene attivato da un insieme di variabili, una modifica o un evento nel registro abusi.

È richiesto esattamente un parametro tra vars, rcid o logid.

Parametri specifici:
Sono disponibili altri parametri generali.
filter

Il testo completo del filtro da utilizzare per trovare una corrispondenza.

Questo parametro è obbligatorio.
vars

Array in formato JSON di variabili da utilizzare per il test.

rcid

ID della modifica recente da controllare.

Type: integer
logid

ID del registro del filtro anti abusi da verificare.

Type: integer
Esempio:
Verifica se la modifica con ID UltimeModifiche 15 fa attivare un semplice filtro
api.php?action=abusefiltercheckmatch&filter=!("autoconfirmed"%20in%20user_groups)&rcid=15 [apri in una sandbox]

action=abusefilterchecksyntax

  • Questo modulo richiede i diritti di lettura.
  • Fonte: Abuse Filter
  • Licenza: GPL-2.0-or-later

Verifica la sintassi di un filtro anti abusi.

Parametro specifico:
Sono disponibili altri parametri generali.
filter

Il testo completo del filtro di cui controllare la sintassi.

Questo parametro è obbligatorio.

action=abusefilterevalexpression

  • Questo modulo richiede i diritti di lettura.
  • Fonte: Abuse Filter
  • Licenza: GPL-2.0-or-later

Valuta un'espressione del filtro anti abusi.

Parametri specifici:
Sono disponibili altri parametri generali.
expression

L'espressione da valutare.

Questo parametro è obbligatorio.
prettyprint

Se formattare il risultato.

Tipo: booleano (dettagli)

action=abusefilterunblockautopromote

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: Abuse Filter
  • Licenza: GPL-2.0-or-later

Sblocca la possibilità di autopromozione a seguito di un blocco imposto dal filtro anti abusi.

Parametri specifici:
Sono disponibili altri parametri generali.
user

Nome utente dell'utente che vuoi sbloccare.

Questo parametro è obbligatorio.
Tipo: utente, da nome utente
token

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

Questo parametro è obbligatorio.

action=abuselogprivatedetails

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: Abuse Filter
  • Licenza: GPL-2.0-or-later

Visualizza i dettagli privati di una voce del registro anti abusi.

Parametri specifici:
Sono disponibili altri parametri generali.
logid

L'ID della voce del registro anti abusi da controllare.

Type: integer
reason

Una motivazione valida per effettuare il controllo.

Questo parametro è obbligatorio.
Predefinito: (vuoto)
token

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

Questo parametro è obbligatorio.
Esempio:
Ottieni i dettagli privati per la voce del registro anti abusi con ID 1, utilizzando la motivazione "example".
api.php?action=abuselogprivatedetails&logid=1&reason=example&token=ABC123 [apri in una sandbox]

action=acquiretempusername

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Acquisisce un nome utente temporaneo e lo memorizza nella sessione corrente, se la creazione di un'utenza temporanea è abilitata e l'utente attuale è disconnesso. Se un nome è già stato memorizzato, restituisce lo stesso nome.

Se in seguito l'utente esegue un'azione che comporta la creazione di un'utenza temporanea, il nome utente memorizzato verrà utilizzato per la sua utenza. Potrebbe essere utilizzato anche nelle anteprime. Tuttavia, l'utenza non è ancora stato creato e il nome utente non è visibile agli altri utenti.

action=antispoof

  • Questo modulo richiede i diritti di lettura.
  • Fonte: AntiSpoof
  • Licenza: GPL-2.0-or-later

Controlla un nome utente con le verifiche di normalizzazione AntiSpoof.

Parametro specifico:
Sono disponibili altri parametri generali.
username

Il nome utente da verificare con AntiSpoof.

Questo parametro è obbligatorio.
Esempio:
Controlla il nome utente "Foo" con AntiSpoof
api.php?action=antispoof&username=Foo [apri in una sandbox]

action=approve

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: Approved Revs
  • Licenza: GPL-2.0-or-later

Esamina una versione approvandola o disapprovandola.

Parametri specifici:
Sono disponibili altri parametri generali.
revid

L'ID versione da approvare.

Questo parametro è obbligatorio.
Type: integer
unapprove

Se impostato, la versione verrà disapprovata piuttosto che approvata.

Tipo: booleano (dettagli)
token

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

Questo parametro è obbligatorio.

action=block

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Blocca un utente.

Parametri specifici:
Sono disponibili altri parametri generali.
user

Utente da bloccare.

Tipo: utente, da uno qualsiasi nome utente, IP, Utente temporaneo, Intervallo di IP e ID utente (ad esempio "#12345")
userid
Deprecato.

Specifica user=#ID invece.

Type: integer
expiry

Tempo di scadenza. Può essere relativo (ad esempio, 5 months o 2 weeks) o assoluto (ad esempio 2014-09-18T12:34:56Z). Se impostato a infinite, indefinite o never, il blocco non scadrà mai.

Predefinito: never
reason

Motivo del blocco.

Predefinito: (vuoto)
anononly

Blocca solo gli utenti non registrati (cioè disattiva i contributi anonimi da questo indirizzo IP, comprese le modifiche di utenze temporanee).

Tipo: booleano (dettagli)
nocreate

Impedisci creazione di utenze.

Tipo: booleano (dettagli)
autoblock

Blocca automaticamente l'ultimo indirizzo IP usato dall'utente e i successivi con cui viene tentato l'accesso.

Tipo: booleano (dettagli)
noemail

Impedisce all'utente di inviare email mediante il wiki. (Richiede il privilegio blockemail).

Tipo: booleano (dettagli)
hidename

Nascondi il nome utente dal registro dei blocchi (Richiede i permessi di hideuser).

Tipo: booleano (dettagli)
allowusertalk

Consente all'utente di modificare la sua pagina di discussione (dipende da $wgBlockAllowsUTEdit).

Tipo: booleano (dettagli)
reblock

Se l'utente è già bloccato, sovrascrivere il blocco esistente.

Tipo: booleano (dettagli)
watchuser

Segui la pagina utente e le pagine di discussione utente dell'utente o dell'indirizzo IP.

Tipo: booleano (dettagli)
tags

Change tags to apply to the entry in the block log.

Valori (separati da | o alternativa):
partial

Blocca un utente in determinate pagine o namespace anziché nell'intero sito.

Tipo: booleano (dettagli)
pagerestrictions

List of titles to block the user from editing. Only applies when partial is set to true.

Tipo: titolo della pagina
Separa i valori con | o alternativa.
Maximum number of values is 10.
Accetta solamente pagine esistenti.
namespacerestrictions

List of namespace IDs to block the user from editing. Only applies when partial is set to true.

Valori (separati da | o alternativa): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Per specificare tutti i valori, utilizza *.
token

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

Questo parametro è obbligatorio.
Esempi:
Blocca l'indirizzo IP 192.0.2.5 per tre giorni con una motivazione.
api.php?action=block&user=192.0.2.5&expiry=3%20days&reason=First%20strike&token=123ABC [apri in una sandbox]
Blocca l'utente Vandal a tempo indeterminato con una motivazione, e impediscigli la creazione di nuove utenze e l'invio di email.
api.php?action=block&user=Vandal&expiry=never&reason=Vandalism&nocreate=&autoblock=&noemail=&token=123ABC [apri in una sandbox]

action=categorytree

  • Questo modulo è interno o instabile e non dovresti usarlo. Il suo funzionamento potrebbe variare senza preavviso.
  • Questo modulo richiede i diritti di lettura.
  • Fonte: CategoryTree
  • Licenza: GPL-2.0-or-later

Modulo interno per l'estensione CategoryTree.

Parametri specifici:
Sono disponibili altri parametri generali.
category

Titolo nel namespace categoria, il prefisso verrà ignorato se dato.

Questo parametro è obbligatorio.
options

Opzioni per il costruttore CategoryTree come oggetto JSON. L'opzione depth predefinita è 1.

action=centralauthtoken

  • Questo modulo richiede i diritti di lettura.
  • Fonte: CentralAuth
  • Licenza: GPL-2.0-or-later

Recupera un centralauthtoken per l'esecuzione di una richiesta autenticata a un wiki collegato.

Returns a token that can be use to authenticate API requests on other wikis. For action API requests, put it in the centralauthtoken GET parameter. For REST API requests, add an Authorization: CentralAuthToken {token} header. In MediaWiki frontend logic, you can use the mediawiki.ForeignApi ResourceLoader module.

Esempio:
Recupera un centralauthtoken
api.php?action=centralauthtoken [apri in una sandbox]

action=centralnoticecdncacheupdatebanner

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: CentralNotice
  • Licenza: GPL-2.0-or-later

Request the purge of banner content stored in the CDN (front-end) cache for anonymous users, for the requested banner and language

Parametri specifici:
Sono disponibili altri parametri generali.
banner

Name of the banner whose content should be purged

Questo parametro è obbligatorio.
language

Language of the banner content to purge

Questo parametro è obbligatorio.
token

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

Questo parametro è obbligatorio.

action=centralnoticechoicedata

  • Questo modulo richiede i diritti di lettura.
  • Fonte: CentralNotice
  • Licenza: GPL-2.0-or-later

Get data needed to choose a banner for a given project and language

Parametri specifici:
Sono disponibili altri parametri generali.
project

The project to get banner choice data for.

Questo parametro è obbligatorio.
language

The language to get banner choice data for.

Questo parametro è obbligatorio.
Esempio:
Get the data for choosing a banner for English Wikipedia users.
api.php?action=centralnoticechoicedata&project=wikipedia&language=en [apri in una sandbox]

action=centralnoticequerycampaign

  • Questo modulo richiede i diritti di lettura.
  • Fonte: CentralNotice
  • Licenza: GPL-2.0-or-later

Get all configuration settings for a campaign.

Parametro specifico:
Sono disponibili altri parametri generali.
campaign

Campaign name. Separate multiple values with a "|" (vertical bar).

Predefinito: (vuoto)

action=changeauthenticationdata (changeauth)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Modificare i dati di autenticazione per l'utente corrente.

Parametri specifici:
Sono disponibili altri parametri generali.
changeauthrequest

Use this authentication request, by the id returned from action=query&meta=authmanagerinfo with amirequestsfor=change.

Questo parametro è obbligatorio.
changeauthtoken

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

Questo parametro è obbligatorio.
*
Questo modulo accetta parametri aggiuntivi a seconda delle richieste di autenticazione disponibili. Utilizza action=query&meta=authmanagerinfo con amirequestsfor=change (o una precedente risposta da questo modulo, se applicabile) per determinare le richieste disponibili e i campi usati da queste.

action=changecontentmodel

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Modifica il modello di contenuto di una pagina

Parametri specifici:
Sono disponibili altri parametri generali.
title

Title of the page to change the contentmodel of. Cannot be used together with pageid.

pageid

Page ID of the page to change the contentmodel of. Cannot be used together with title.

Type: integer
summary

Edit summary and log entry reason

tags

Cambia le etichette da applicare alla voce del registro e modifica.

Valori (separati da | o alternativa):
model

Modello di contenuto del nuovo contenuto.

Questo parametro è obbligatorio.
Uno dei seguenti valori: Campaign, GadgetDefinition, GeoJSON, GeoJson, JsonSchema, MassMessageListContent, Scribunto, css, flexdiagrams-bpmn, flexdiagrams-dot, flexdiagrams-drawio, flexdiagrams-gantt, flexdiagrams-mermaid, javascript, json, sanitized-css, text, wikitext
bot

Mark the content model change with a bot flag.

Tipo: booleano (dettagli)
token

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

Questo parametro è obbligatorio.

action=chatgetnew

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWikiChat
  • Licenza: GPL-2.0-or-later

Get new messages in the chat.

Parametro specifico:
Sono disponibili altri parametri generali.
focussed

is the chat tab open/focused right now?

Tipo: booleano (dettagli)
Esempio:
Get new messages in the chat
api.php?action=chatgetnew [apri in una sandbox]

action=chatkick

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWikiChat
  • Licenza: GPL-2.0-or-later

Kick a user from the chat

Parametri specifici:
Sono disponibili altri parametri generali.
id

The user ID to kick

Questo parametro è obbligatorio.
Type: integer
token

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

Questo parametro è obbligatorio.
Esempio:
Kick the user with ID of 1
api.php?action=chatkick&id=1 [apri in una sandbox]

action=chatsend

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWikiChat
  • Licenza: GPL-2.0-or-later

Invia un messaggio pubblico alla chat

Parametri specifici:
Sono disponibili altri parametri generali.
message

The message to send

Questo parametro è obbligatorio.
token

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

Questo parametro è obbligatorio.

action=chatsendpm

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWikiChat
  • Licenza: GPL-2.0-or-later

Invia un messaggio privato a un utente

Parametri specifici:
Sono disponibili altri parametri generali.
message

The message to send

Questo parametro è obbligatorio.
id

The user ID to send a PM to

Questo parametro è obbligatorio.
Type: integer
token

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

Questo parametro è obbligatorio.

action=checktoken

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Verifica la validità di un token da action=query&meta=tokens.

Parametri specifici:
Sono disponibili altri parametri generali.
type

Tipo di token in corso di test.

Questo parametro è obbligatorio.
Uno dei seguenti valori: createaccount, csrf, deleteglobalaccount, login, patrol, rollback, setglobalaccountstatus, userrights, watch
token

Token da testare.

Questo parametro è obbligatorio.
maxtokenage

Massima età consentita per il token, in secondi.

Type: integer
Esempio:
Verifica la validità di un token csrf.
api.php?action=checktoken&type=csrf&token=123ABC [apri in una sandbox]

action=clearhasmsg

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Cancella il flag hasmsg per l'utente corrente.

Esempio:
Cancella il flag hasmsg per l'utente corrente.
api.php?action=clearhasmsg [apri in una sandbox]

action=clientlogin (login)

  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Accedi al wiki utilizzando il flusso interattivo.

La procedura generale per usare questo modulo è:

  1. Ottenere i campi disponibili da action=query&meta=authmanagerinfo con amirequestsfor=login, e un token login da action=query&meta=tokens.
  2. Mostra i campi all'utente e ottieni i dati che invia.
  3. Esegui un post a questo modulo, fornendo loginreturnurl e ogni campo rilevante.
  4. Controlla status nella response.
    • Se hai ricevuto PASS o FAIL, hai finito. L'operazione nel primo caso è andata a buon fine, nel secondo no.
    • Se hai ricevuto UI, mostra i nuovi campi all'utente e ottieni i dati che invia. Esegui un post a questo modulo con logincontinue e i campi rilevanti settati, quindi ripeti il punto 4.
    • Se hai ricevuto REDIRECT, dirigi l'utente a redirecttarget e aspetta che ritorni a loginreturnurl. A quel punto esegui un post a questo modulo con logincontinue e ogni campo passato all'URL di ritorno, e ripeti il punto 4.
    • Se hai ricevuto RESTART, vuol dire che l'autenticazione ha funzionato ma non abbiamo un account collegato. Potresti considerare questo caso come UI o come FAIL.
Parametri specifici:
Sono disponibili altri parametri generali.
loginrequests

Only use these authentication requests, by the id returned from action=query&meta=authmanagerinfo with amirequestsfor=login or from a previous response from this module.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
loginmessageformat

Formato da utilizzare per per la restituzione dei messaggi.

Uno dei seguenti valori: html, none, raw, wikitext
Predefinito: wikitext
loginmergerequestfields

Merge field information for all authentication requests into one array.

Tipo: booleano (dettagli)
loginpreservestate

Conserva lo stato da un precedente tentativo di accesso non riuscito, se possibile.

Tipo: booleano (dettagli)
loginreturnurl

URL di ritorno per i flussi di autenticazione di terze parti, deve essere assoluto. E' necessario fornirlo, oppure va fornito logincontinue.

Alla ricezione di una risposta REDIRECT, in genere si apre un browser o una vista web all'URL specificato redirecttarget per un flusso di autenticazione di terze parti. Quando questo è completato, la terza parte invierà il browser o la vista web a questo URL. Dovresti estrarre qualsiasi parametro POST o della richiesta dall'URL e passarli come un request logincontinue a questo modulo API.

logincontinue

Questa richiesta è una continuazione dopo una precedente risposta UI o REDIRECT. È necessario fornirlo, oppure fornire loginreturnurl.

Tipo: booleano (dettagli)
logintoken

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

Questo parametro è obbligatorio.
*
Questo modulo accetta parametri aggiuntivi a seconda delle richieste di autenticazione disponibili. Utilizza action=query&meta=authmanagerinfo con amirequestsfor=login (o una precedente risposta da questo modulo, se applicabile) per determinare le richieste disponibili e i campi usati da queste.
Esempi:
Avvia il processo di accesso alla wiki come utente Example con password ExamplePassword.
api.php?action=clientlogin&username=Example&password=ExamplePassword&loginreturnurl=http://example.org/&logintoken=123ABC [apri in una sandbox]
Continua l'accesso dopo una risposta dell'UI per l'autenticazione a due fattori, fornendo un OATHToken di 987654.
api.php?action=clientlogin&logincontinue=1&OATHToken=987654&logintoken=123ABC [apri in una sandbox]

action=commentblock

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: Comments
  • Licenza: GPL-2.0-or-later

The commentblock API allows blocking a user from the comment it originated from after filling out the following parameters: CommentID.

Parametri specifici:
Sono disponibili altri parametri generali.
commentID

Comment ID of the comment by user which is to be blocked

Questo parametro è obbligatorio.
Type: integer
token

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

Questo parametro è obbligatorio.

action=commentdelete

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: Comments
  • Licenza: GPL-2.0-or-later

The commentdelete API allows deleting a comment after filling out the following parameters: CommentID.

Parametri specifici:
Sono disponibili altri parametri generali.
commentID

Comment ID of the comment to be deleted

Questo parametro è obbligatorio.
Type: integer
token

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

Questo parametro è obbligatorio.

action=commentlatestid

  • Questo modulo richiede i diritti di lettura.
  • Fonte: Comments
  • Licenza: GPL-2.0-or-later

The commentlatestID API allows to retrieve latest comment ID after filling out the following parameters: pageID

Parametro specifico:
Sono disponibili altri parametri generali.
pageID

Page ID of the page on which latest comment is there

Questo parametro è obbligatorio.
Type: integer

action=commentlist

  • Questo modulo richiede i diritti di lettura.
  • Fonte: Comments
  • Licenza: GPL-2.0-or-later

The commentlist API retrieves multiple comments and outputs them as a list after filling out the following parameters: pageID, order, pagerPage, and showForm.

Parametri specifici:
Sono disponibili altri parametri generali.
pageID

Page ID of the page from which comment list is retrieved

Questo parametro è obbligatorio.
Type: integer
order

Defined whether comment list in ascending or descending order

Questo parametro è obbligatorio.
Tipo: booleano (dettagli)
pagerPage

Comments page number

Questo parametro è obbligatorio.
Type: integer
showForm

Show comments form

Type: integer

action=commentsubmit

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: Comments
  • Licenza: GPL-2.0-or-later

The commentsubmit API allows to submit/post a comment after filling out the following parameters: pageID, parentID, commentText.

Parametri specifici:
Sono disponibili altri parametri generali.
pageID

Page ID of the page on which comment is to be submitted

Questo parametro è obbligatorio.
Type: integer
parentID

Comment ID of the parent comment

Type: integer
commentText

Comment Text

Questo parametro è obbligatorio.
token

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

Questo parametro è obbligatorio.

action=commentvote

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: Comments
  • Licenza: GPL-2.0-or-later

The commentvote API allows to vote on a comment after filling out the following parameters: commentID, voteValue.

Parametri specifici:
Sono disponibili altri parametri generali.
commentID

Comment ID of the comment that is voted for

Questo parametro è obbligatorio.
Type: integer
voteValue

Vote value for the comment

Questo parametro è obbligatorio.
Type: integer
token

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

Questo parametro è obbligatorio.

action=compare

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Ottieni le differenze tra 2 pagine.

Un numero di revisione, il titolo di una pagina, o un ID di pagina deve essere indicato sia per il "da" che per lo "a".

Parametri specifici:
Sono disponibili altri parametri generali.
fromtitle

Primo titolo da confrontare.

fromid

Primo ID di pagina da confrontare.

Type: integer
fromrev

Prima revisione da confrontare.

Type: integer
fromslots

Override content of the revision specified by fromtitle, fromid or fromrev.

This parameter specifies the slots that are to be modified. Use fromtext-{slot}, fromcontentmodel-{slot}, and fromcontentformat-{slot} to specify content for each slot.

Valori (separati da | o alternativa): main
fromtext-{slot}

Testo dello spazio specificato. Se omesso, lo spazio è rimosso dalla versione.

This is a templated parameter. When making the request, {slot} in the parameter's name should be replaced with values of fromslots.
fromsection-{slot}

When fromtext-{slot} is the content of a single section, this is the section identifier. It will be merged into the revision specified by fromtitle, fromid or fromrev as if for a section edit.

This is a templated parameter. When making the request, {slot} in the parameter's name should be replaced with values of fromslots.
fromcontentformat-{slot}

Content serialization format of fromtext-{slot}.

This is a templated parameter. When making the request, {slot} in the parameter's name should be replaced with values of fromslots.
Uno dei seguenti valori: application/json, application/octet-stream, application/unknown, application/vnd.php.serialized, application/x-binary, application/xml, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
fromcontentmodel-{slot}

Content model of fromtext-{slot}. If not supplied, it will be guessed based on the other parameters.

This is a templated parameter. When making the request, {slot} in the parameter's name should be replaced with values of fromslots.
Uno dei seguenti valori: Campaign, GadgetDefinition, GeoJSON, GeoJson, JsonSchema, MassMessageListContent, Scribunto, css, flexdiagrams-bpmn, flexdiagrams-dot, flexdiagrams-drawio, flexdiagrams-gantt, flexdiagrams-mermaid, javascript, json, sanitized-css, text, unknown, wikibase-item, wikibase-property, wikitext
frompst

Do a pre-save transform on fromtext-{slot}.

Tipo: booleano (dettagli)
fromtext
Deprecato.

Specify fromslots=main and use fromtext-main instead.

fromcontentformat
Deprecato.

Specify fromslots=main and use fromcontentformat-main instead.

Uno dei seguenti valori: application/json, application/octet-stream, application/unknown, application/vnd.php.serialized, application/x-binary, application/xml, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
fromcontentmodel
Deprecato.

Specify fromslots=main and use fromcontentmodel-main instead.

Uno dei seguenti valori: Campaign, GadgetDefinition, GeoJSON, GeoJson, JsonSchema, MassMessageListContent, Scribunto, css, flexdiagrams-bpmn, flexdiagrams-dot, flexdiagrams-drawio, flexdiagrams-gantt, flexdiagrams-mermaid, javascript, json, sanitized-css, text, unknown, wikibase-item, wikibase-property, wikitext
fromsection
Deprecato.

Only use the specified section of the specified 'from' content.

totitle

Primo titolo da confrontare.

toid

Secondo ID di pagina da confrontare.

Type: integer
torev

Seconda revisione da confrontare.

Type: integer
torelative

Use a revision relative to the revision determined from fromtitle, fromid or fromrev. All of the other 'to' options will be ignored.

Uno dei seguenti valori: cur, next, prev
toslots

Override content of the revision specified by totitle, toid or torev.

This parameter specifies the slots that are to be modified. Use totext-{slot}, tocontentmodel-{slot}, and tocontentformat-{slot} to specify content for each slot.

Valori (separati da | o alternativa): main
totext-{slot}

Text of the specified slot. If omitted, the slot is removed from the revision.

This is a templated parameter. When making the request, {slot} in the parameter's name should be replaced with values of toslots.
tosection-{slot}

When totext-{slot} is the content of a single section, this is the section identifier. It will be merged into the revision specified by totitle, toid or torev as if for a section edit.

This is a templated parameter. When making the request, {slot} in the parameter's name should be replaced with values of toslots.
tocontentformat-{slot}

Content serialization format of totext-{slot}.

This is a templated parameter. When making the request, {slot} in the parameter's name should be replaced with values of toslots.
Uno dei seguenti valori: application/json, application/octet-stream, application/unknown, application/vnd.php.serialized, application/x-binary, application/xml, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
tocontentmodel-{slot}

Content model of totext-{slot}. If not supplied, it will be guessed based on the other parameters.

This is a templated parameter. When making the request, {slot} in the parameter's name should be replaced with values of toslots.
Uno dei seguenti valori: Campaign, GadgetDefinition, GeoJSON, GeoJson, JsonSchema, MassMessageListContent, Scribunto, css, flexdiagrams-bpmn, flexdiagrams-dot, flexdiagrams-drawio, flexdiagrams-gantt, flexdiagrams-mermaid, javascript, json, sanitized-css, text, unknown, wikibase-item, wikibase-property, wikitext
topst

Do a pre-save transform on totext.

Tipo: booleano (dettagli)
totext
Deprecato.

Specify toslots=main and use totext-main instead.

tocontentformat
Deprecato.

Specify toslots=main and use tocontentformat-main instead.

Uno dei seguenti valori: application/json, application/octet-stream, application/unknown, application/vnd.php.serialized, application/x-binary, application/xml, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
tocontentmodel
Deprecato.

Specify toslots=main and use tocontentmodel-main instead.

Uno dei seguenti valori: Campaign, GadgetDefinition, GeoJSON, GeoJson, JsonSchema, MassMessageListContent, Scribunto, css, flexdiagrams-bpmn, flexdiagrams-dot, flexdiagrams-drawio, flexdiagrams-gantt, flexdiagrams-mermaid, javascript, json, sanitized-css, text, unknown, wikibase-item, wikibase-property, wikitext
tosection
Deprecato.

Only use the specified section of the specified 'to' content.

prop

Which pieces of information to get.

diff
The diff HTML.
diffsize
The size of the diff HTML, in bytes.
rel
The revision IDs of the revision previous to 'from' and after 'to', if any.
ids
The page and revision IDs of the 'from' and 'to' revisions.
title
The page titles of the 'from' and 'to' revisions.
user
The username and ID of the 'from' and 'to' revisions. If the user has been revision deleted, a fromuserhidden or touserhidden property will be returned.
comment
The comment on the 'from' and 'to' revisions. If the comment has been revision deleted, a fromcommenthidden or tocommenthidden property will be returned.
parsedcomment
The parsed comment on the 'from' and 'to' revisions. If the comment has been revision deleted, a fromcommenthidden or tocommenthidden property will be returned.
size
The size of the 'from' and 'to' revisions.
timestamp
The timestamp of the 'from' and 'to' revisions.
Valori (separati da | o alternativa): comment, diff, diffsize, ids, parsedcomment, rel, size, timestamp, title, user
Predefinito: diff|ids|title
slots

Return individual diffs for these slots, rather than one combined diff for all slots.

Valori (separati da | o alternativa): main
Per specificare tutti i valori, utilizza *.
difftype

Return the comparison formatted as inline HTML.

Uno dei seguenti valori: table, unified
Predefinito: table
Esempio:
Crea un diff tra revisione 1 e revisione 2.
api.php?action=compare&fromrev=1&torev=2 [apri in una sandbox]

action=createaccount (create)

  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Crea un nuovo account utente.

La procedura generale per usare questo modulo è:

  1. Ottenere i campi disponibili da action=query&meta=authmanagerinfo con amirequestsfor=create, e un token createaccount da action=query&meta=tokens.
  2. Mostra i campi all'utente e ottieni i dati che invia.
  3. Esegui un post a questo modulo, fornendo createreturnurl e ogni campo rilevante.
  4. Controlla status nella response.
    • Se hai ricevuto PASS o FAIL, hai finito. L'operazione nel primo caso è andata a buon fine, nel secondo no.
    • Se hai ricevuto UI, mostra i nuovi campi all'utente e ottieni i dati che invia. Esegui un post a questo modulo con createcontinue e i campi rilevanti settati, quindi ripeti il punto 4.
    • Se hai ricevuto REDIRECT, dirigi l'utente a redirecttarget e aspetta che ritorni a createreturnurl. A quel punto esegui un post a questo modulo con createcontinue e ogni campo passato all'URL di ritorno, e ripeti il punto 4.
    • Se hai ricevuto RESTART, vuol dire che l'autenticazione ha funzionato ma non abbiamo un account collegato. Potresti considerare questo caso come UI o come FAIL.
Parametri specifici:
Sono disponibili altri parametri generali.
createrequests

Only use these authentication requests, by the id returned from action=query&meta=authmanagerinfo with amirequestsfor=create or from a previous response from this module.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
createmessageformat

Formato da utilizzare per per la restituzione dei messaggi.

Uno dei seguenti valori: html, none, raw, wikitext
Predefinito: wikitext
createmergerequestfields

Merge field information for all authentication requests into one array.

Tipo: booleano (dettagli)
createpreservestate

Conserva lo stato da un precedente tentativo di accesso non riuscito, se possibile.

Se action=query&meta=authmanagerinfo ha restituito true per hasprimarypreservedstate, le richieste contrassegnate come primary-required dovrebbero essere omesse. Se invece ha restituito un valore non vuoto per preservedusername, quel nome utente deve essere utilizzato per il parametro username.

Tipo: booleano (dettagli)
createreturnurl

URL di ritorno per i flussi di autenticazione di terze parti, deve essere assoluto. E' necessario fornirlo, oppure va fornito createcontinue.

Alla ricezione di una risposta REDIRECT, in genere si apre un browser o una vista web all'URL specificato redirecttarget per un flusso di autenticazione di terze parti. Quando questo è completato, la terza parte invierà il browser o la vista web a questo URL. Dovresti estrarre qualsiasi parametro POST o della richiesta dall'URL e passarli come un request createcontinue a questo modulo API.

createcontinue

Questa richiesta è una continuazione dopo una precedente risposta UI o REDIRECT. È necessario fornirlo, oppure fornire createreturnurl.

Tipo: booleano (dettagli)
createtoken

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

Questo parametro è obbligatorio.
*
Questo modulo accetta parametri aggiuntivi a seconda delle richieste di autenticazione disponibili. Utilizza action=query&meta=authmanagerinfo con amirequestsfor=create (o una precedente risposta da questo modulo, se applicabile) per determinare le richieste disponibili e i campi usati da queste.

action=createlocalaccount

  • 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

Forza la creazione di un'utenza locale. L'utenza centrale deve esistere.

Parametri specifici:
Sono disponibili altri parametri generali.
username

Utente per cui creare l'utenza locale.

Questo parametro è obbligatorio.
reason

Motivo per la creazione dell'utenza locale.

token

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

Questo parametro è obbligatorio.

action=cspreport

  • Questo modulo è interno o instabile e non dovresti usarlo. Il suo funzionamento potrebbe variare senza preavviso.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Used by browsers to report violations of the Content Security Policy. This module should never be used, except when used automatically by a CSP compliant web browser.

Parametri specifici:
Sono disponibili altri parametri generali.
reportonly

Mark as being a report from a monitoring policy, not an enforced policy

Tipo: booleano (dettagli)
source

What generated the CSP header that triggered this report

Predefinito: internal

action=delete

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Cancella una pagina.

Parametri specifici:
Sono disponibili altri parametri generali.
title

Titolo della pagina che si desidera eliminare. Non può essere usato insieme a pageid.

pageid

ID di pagina della pagina da cancellare. Non può essere usato insieme con title.

Type: integer
reason

Motivo della cancellazione. Se non indicato, verrà usata una motivazione generata automaticamente.

tags

Change tags to apply to the entry in the deletion log.

Valori (separati da | o alternativa):
deletetalk

Delete the talk page, if it exists.

Tipo: booleano (dettagli)
watch
Deprecato.

Aggiunge la pagina agli osservati speciali dell'utente attuale.

Tipo: booleano (dettagli)
watchlist

Unconditionally add or remove the page from the current user's watchlist, use preferences (ignored for bot users) or do not change watch.

Uno dei seguenti valori: nochange, preferences, unwatch, watch
Predefinito: preferences
unwatch
Deprecato.

Rimuove la pagina dagli osservati speciali dell'utente attuale.

Tipo: booleano (dettagli)
oldimage

Il nome della vecchia immagine da cancellare, come fornita da action=query&prop=imageinfo&iiprop=archivename.

token

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

Questo parametro è obbligatorio.

action=deletedumps

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: DataDump
  • Licenza: GPL-3.0-or-later

Delete dumps

Parametri specifici:
Sono disponibili altri parametri generali.
type

Cancella dump con questo tipo specificato.

filename

Cancella dump con questo nome file specificato.

token

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

Questo parametro è obbligatorio.

action=deleteglobalaccount

  • 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

Delete a global user.

Parametri specifici:
Sono disponibili altri parametri generali.
user

Utente da cancellare.

Questo parametro è obbligatorio.
reason

Motivo per la cancellazione dell'utente.

token

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

Questo parametro è obbligatorio.

action=deleteoredict (od)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: OreDict
  • Licenza: MIT

Deletes an OreDict entry from the table by its ID.

Parametri specifici:
Sono disponibili altri parametri generali.
odids

A list of entry IDs to delete.

Questo parametro è obbligatorio.
Type: list of integers
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
The values must be no less than 1.
odtoken

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

Questo parametro è obbligatorio.

action=echocreateevent

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: Echo
  • Licenza: MIT

Manually trigger a notification to a user

Parametri specifici:
Sono disponibili altri parametri generali.
user

User to send the notification to

Tipo: utente, da uno qualsiasi nome utente e ID utente (ad esempio "#12345")
header

Contenuto dell'intestazione della notifica

Questo parametro è obbligatorio.
Cannot be longer than 160 bytes.
content

Contenuto del corpo della notifica

Questo parametro è obbligatorio.
Cannot be longer than 5 000 bytes.
page

Page to link to in the notification

Tipo: titolo della pagina
Accetta pagine non esistenti.
section

Section where notification would be delivered

Questo parametro è obbligatorio.
Uno dei seguenti valori: alert, notice
Predefinito: notice
email

Whether to send an email as well

Tipo: booleano (dettagli)
token

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

Questo parametro è obbligatorio.

action=echomarkread

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: Echo
  • Licenza: MIT

Contrassegna tutte le notifiche come lette per l'utente attuale.

Parametri specifici:
Sono disponibili altri parametri generali.
wikis

List of wikis to mark notification as read (defaults to only current wiki).

Valori (separati da | o alternativa): *, 2b2twiki, 25minresearchwiki, acrencountywiki, aditicawiki, adrenaliniwiki, aeronauticawiki, aetasantewiki, afterthewinterwiki, ahewikiwiki, aion2wikiwiki, ajetwiki, algicosathlonwiki, allwikiwiki, ampgwiki, angiowadwiki, animefootballwiki, annexwiki, anothereidoswiki, antimonywiki, antlionguardwiki, arbalestholdingswiki, arkivetwiki, artwiki, asttefwiki, autismwiki, backroomswiki, backroomwiki, ballcommunitywiki, barneybunchwiki, battlefordandysworldwiki, beastchildscartelwiki, bfdiwiki, bibliatecawiki, biketrooperswiki, birdwiki, biteismewiki, bitrealmwiki, blockstrikewiki, bloxrpwiki, bobthebozowiki, brainwiki, brawlboardwiki, btwikiwiki, bubtoradndwiki, caesiawiki, calvoesferawiki, carnelianwiki, cecawiki, cheddapediawiki, chesapeakestudioswiki, chidurianwikiwiki, christianfolklorewiki, cirruswiki, citynamereviewerswiki, clashpediawiki, cloudcrafterwiki, cognwiki, countduckulawiki, countryhumanswiki, csmwwiki, ctwikiwiki, cybersafetywiki, cyberwariwiki, cyyscwiki, daggerheartwiki, danceofdragonswiki, dandysworldwiki, darkbrosswiki, darudeman11wiki, deepdiversrblxwiki, dencroftystaffwiki, devoidofwisdomwiki, dexwikiwiki, dgfrancewiki, dhammawiki, dinopediawiki, dissociationwiki, docsdotkywiki, dominationearthwiki, doomswiki, dovepediawiki, drakosmonswiki, drawingwiki, drcklinnwiki, dreamindigowiki, dsswiki, dubpanapanawiki, dysautonomiawiki, eberrondayswiki, eclipticawiki, electronchatappwiki, encyclospaciawiki, engl3203wiki, enquickpediawiki, eslwiki, esufranchisewiki, evelysiawiki, exonimiawiki, fable1922wiki, fareerwiki, farmoballswiki, fastfoodsimwiki, feudalworldwiki, foodlionwiki, footballfreewritewiki, forbiddencitywiki, formoscelanmathematicswiki, founderswikiwiki, fourfatswiki, foxwiki, fpbcamidemarwiki, fracctalwiki, franciskvardekwiki, freiweltrpgwiki, freshwebsiteswiki, gamerzgamezwiki, gamewaycreatorwiki, garwikiwiki, genesisarchivewiki, germanologiewiki, globalrizewiki, globemcwiki, greenheraldwiki, grpxboxsafrwiki, heeheepediawiki, heritagehomewiki, hkfoodwiki, hourglassachiveswiki, howtoeswiki, howtowiki, humorpediawiki, hypixelwiki, hzowiki, iamspewiki, independenciawiki, inovatestwiki, instipediawiki, isocorewiki, iulianarianwiki, jacobwpwiki, janawiki, jezewikiwiki, jollymetrowiki, jrosasriverawiki, jsmpwiki, justanotherwikiwiki, kabachokwiki, kakuutetudouwikiwiki, karashiwikiwiki, kbwiki, keynotathlonwiki, kgnwiki, khsbdbwiki, kingdomsmcwiki, kingilikesminecraftwiki, klodsabroadwiki, klwiki, krugstonwiki, lakessmilewiki, lambdawarswikiwiki, liberapediawiki, libertymyselfwiki, lifebrightlywiki, literarycartographywiki, loginwiki, lorelibrarywiki, lotwwiki, loveanddeepspacewiki, lsewiki, lucky11wiki, luluwiki, madnessdescentwiki, mafiamysterywiki, magicbuildingwiki, magicdudeswiki, magnificentbaddiewiki, manjuurancherwiki, marfilwiki, massshooterswiki, mdfanprojectswiki, medfordhistoricwiki, medipediawiki, metawiki, mgmuawiki, miassduchywiki, mikesbirthdaywiki, mimfwiki, mldofficialwikiwiki, moderntropeswiki, monaasliwiki, msh2025pbpwiki, myfrictionalwikiwiki, mygeekswiki, myinapediawiki, myrathwwppwiki, mythoswiki, namasteitalywiki, neoetruscanwiki, neowikiwiki, neurobanewiki, newpediawiki, newvaliswiki, nicopediawiki, niramwiki, nowherewiki, nyxextendeduniversewiki, oaklandswikiwiki, objectshowwiki, officialurbanwiki, ofpwiki, okowiki, omegaversewiki, oocjzwiki, opinionistetwiki, ostarlandwiki, palonewikiwiki, panikclassicrobloxgamewiki, parlopediawiki, parulawiki, pcwikiwiki, pdxrpbronzeandironwiki, pesosuwiki, peuthwiki, placeopediawiki, platonchwiki, pmodelwiki, pocoyowiki, policialocaldeandaluciawiki, politicshubwiki, polskimappingwiki, popmusicwiki, powyspediawiki, prideandfallwiki, primwikiwiki, progressivismwiki, progrostarwiki, projectherzlwiki, projectspapowiki, projectwikimiquelmusteraadricabrerawiki, psyctaleswiki, publicdomainlyricswiki, purelyevilwiki, pyrrhiawiki, qasawiki, qytrinewiki, radicalcitywiki, randompediawiki, randowiki, rapiddromedarieswiki, realitylostwiki, realmofthroneswiki, regretevatorwiki, remstiniawiki, researchifaesuwiki, robloxindiewikiswiki, robloxmysterykillerwiki, rogerrabbitwiki, rollspelsfansinwiki, romhavenwiki, ruswikiawiki, s4swiki, sandieshawwiki, sbrprobloxwiki, scienceolympiadwiki, shngameswiki, skyfrostwiki, slwiki, smowiki, solarawiki, solarpunkwiki, soldierwiki, songnguxyzwiki, soulboundsanctuarywiki, spacecomebywiki, spazioautisticowiki, spongebobwiki, ss14finalfontierwiki, sswiki, staffwiki, statskalenderwiki, stratagptwiki, superkeynotewiki, supermariohunterwiki, supermariowiki, susawiki, szubinwiki, talesandtravelswiki, tecnicawiki, test2wiki, test3wiki, test5wiki, test6wiki, testabcwiki, testwiki, thaeciawiki, theapwiki, thebeatlesvideoprojectwiki, thebeatleswiki, thebobuniversewikiwiki, thefabsocietywiki, thekeywiki, thenexxxwiki, thestudioshowwiki, thetowerswiki, theworldofterakkwiki, timoeberronwiki, tinkypediafinkywiki, todwikiwiki, tokyodebunkerwikiwiki, toscanainstradawiki, totoparodywiki, trainsandbuseswiki, trihhictionarywiki, tsdonwiki, tskwiki, tunapediawiki, turkiyewiki, tvburpwiki, twrwiki, uamusicwiki, ubercatoverdrivewiki, ucpacfoundationwiki, uerwiki, ultradecawikiwiki, utgarchivewiki, uticwiki, valhirwiki, varnishwiki, victoriassecretwiki, waki285wiki, wangzijianwiki, warehousewarswiki, weenwiki, whiteywiki, wikathlonwiki, wikiaeveryonewiki, wikiballiawiki, wikiberitawiki, wikicordwiki, wikifactwiki, wikigeniuswiki, wikilaxuswiki, wikimicrowiki, wikipluswiki, wikiswikiswiki, wikitravelwiki, wikizunawiki, wouwiki, wowcomicswiki, wutheringwaveswiki, wyndwiki, yudukiyukariwiki, zhbackroomswiki, zkestrelwiki
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Predefinito: wikicordwiki
list

Un elenco di ID notifiche da contrassegnare come lette.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
unreadlist

Un elenco di ID notifiche da contrassegnare come non lette.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
all

Se impostato, contrassegna tutte le notifiche dell'utente come lette.

Tipo: booleano (dettagli)
sections

Un elenco di sezioni da contrassegnare come lette.

Valori (separati da | o alternativa): alert, message
token

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

Questo parametro è obbligatorio.
Esempi:
Contrassegna la notifica 8 come letta
api.php?action=echomarkread&list=8 [apri in una sandbox]
Contrassegna tutte le notifiche come lette
api.php?action=echomarkread&all=true [apri in una sandbox]
Contrassegna la notifica 1 come non letta
api.php?action=echomarkread&unreadlist=1 [apri in una sandbox]

action=echomarkseen

  • Questo modulo richiede i diritti di lettura.
  • Fonte: Echo
  • Licenza: MIT

Contrassegna le notifiche come viste per l'utente attuale.

Parametri specifici:
Sono disponibili altri parametri generali.
type

Tipo di notifiche da contrassegnare come viste: 'alert', 'message' or 'all'.

Questo parametro è obbligatorio.
Uno dei seguenti valori: alert, all, message
timestampFormat

Timestamp format to use for output, 'ISO_8601' or 'MW'. 'MW' is deprecated here, so all clients should switch to 'ISO_8601'. This parameter will be removed, and 'ISO_8601' will become the only output format.

Uno dei seguenti valori: ISO_8601, MW
Predefinito: MW
Esempio:
Contrassegna le notifiche di tutti i tipi come viste
api.php?action=echomarkseen&type=all [apri in una sandbox]

action=echomute

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: Echo
  • Licenza: MIT

Mute or unmute notifications from certain users or pages.

Parametri specifici:
Sono disponibili altri parametri generali.
type

Which mute list to add to or remove from

Questo parametro è obbligatorio.
Uno dei seguenti valori: page-linked-title, user
mute

Pages or users to add to the mute list

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
unmute

Pages or users to remove from the mute list

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
token

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

Questo parametro è obbligatorio.

action=edit

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Crea e modifica pagine.

Parametri specifici:
Sono disponibili altri parametri generali.
title

Titolo della pagina da modificare. Non può essere usato insieme a pageid.

pageid

ID di pagina della pagina da modificare. Non può essere usato insieme con title.

Type: integer
section

Identificativo di sezione. 0 per la sezione iniziale, new per una nuova sezione. Spesso è un intero positivo, ma potrebbe essere anche non numerico.

sectiontitle

Il titolo per una nuova sezione quando usi section=new.

text

Contenuto della pagina.

summary

Riepilogo delle modifiche.

Se questo parametro non viene specificato o è vuoto, potrebbe essere generato automaticamente un riepilogo delle modifiche.

Se si utilizza section=new e sectiontitle non viene specificato, il valore di questo parametro viene utilizzato per il titolo della sezione e viene generato automaticamente un riepilogo delle modifiche.

tags

Cambia i tag da applicare alla revisione.

Valori (separati da | o alternativa):
minor

Contrassegna questa modifica come minore.

Tipo: booleano (dettagli)
notminor

Non contrassegnare questa modifica come minore anche se la preferenza "Indica ogni modifica come minore (solo come predefinito)" è impostata.

Tipo: booleano (dettagli)
bot

Contrassegna questa modifica come eseguita da un bot.

Tipo: booleano (dettagli)
baserevid

ID of the base revision, used to detect edit conflicts. May be obtained through action=query&prop=revisions. Self-conflicts cause the edit to fail unless basetimestamp is set.

Type: integer
basetimestamp

Timestamp of the base revision, used to detect edit conflicts. May be obtained through action=query&prop=revisions&rvprop=timestamp. Self-conflicts are ignored.

Tipo: timestamp (formati consentiti)
starttimestamp

Timestamp when the editing process began, used to detect edit conflicts. An appropriate value may be obtained using curtimestamp when beginning the edit process (e.g. when loading the page content to edit).

Tipo: timestamp (formati consentiti)
recreate

Override any errors about the page having been deleted in the meantime.

Tipo: booleano (dettagli)
createonly

Non modificare la pagina se già esiste.

Tipo: booleano (dettagli)
nocreate

Genera un errore se la pagina non esiste.

Tipo: booleano (dettagli)
watch
Deprecato.

Aggiunge la pagina agli osservati speciali dell'utente attuale.

Tipo: booleano (dettagli)
unwatch
Deprecato.

Rimuove la pagina dagli osservati speciali dell'utente attuale.

Tipo: booleano (dettagli)
watchlist

Unconditionally add or remove the page from the current user's watchlist, use preferences (ignored for bot users) or do not change watch.

Uno dei seguenti valori: nochange, preferences, unwatch, watch
Predefinito: preferences
md5

The MD5 hash of the text parameter, or the prependtext and appendtext parameters concatenated. If set, the edit won't be done unless the hash is correct.

prependtext

Add this text to the beginning of the page or section. Overrides text.

appendtext

Add this text to the end of the page or section. Overrides text.

Use section=new to append a new section, rather than this parameter.

undo

Undo this revision. Overrides text, prependtext and appendtext.

Type: integer
The value must be no less than 0.
undoafter

Undo all revisions from undo to this one. If not set, just undo one revision.

Type: integer
The value must be no less than 0.
redirect

Risolvi automaticamente redirect.

Tipo: booleano (dettagli)
contentformat

Content serialization format used for the input text.

Uno dei seguenti valori: application/json, application/octet-stream, application/unknown, application/vnd.php.serialized, application/x-binary, application/xml, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
contentmodel

Modello di contenuto dei nuovi contenuti.

Uno dei seguenti valori: Campaign, GadgetDefinition, GeoJSON, GeoJson, JsonSchema, MassMessageListContent, Scribunto, css, flexdiagrams-bpmn, flexdiagrams-dot, flexdiagrams-drawio, flexdiagrams-gantt, flexdiagrams-mermaid, javascript, json, sanitized-css, text, unknown, wikibase-item, wikibase-property, wikitext
token

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

Il token deve sempre essere inviato come ultimo parametro, o almeno dopo il parametro text.

Questo parametro è obbligatorio.
returnto

Titolo della pagina. Quando si effettua una modifica con un account temporaneo, durante il salvataggio, l'API potrebbe rispondere con un URL che invita chi modifica a completare l'accesso. Se questo parametro viene fornito, l'URL reindirizzerà alla pagina specificata, invece che a quella modificata.

Tipo: titolo della pagina
Accetta pagine non esistenti.
returntoquery

URL query parameters (with leading ?). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given query parameters.

Predefinito: (vuoto)
returntoanchor

URL fragment (with leading #). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given fragment.

Predefinito: (vuoto)

action=editcheckreferenceurl

  • Questo modulo è interno o instabile e non dovresti usarlo. Il suo funzionamento potrebbe variare senza preavviso.
  • Questo modulo richiede i diritti di lettura.
  • Fonte: VisualEditor
  • Licenza: MIT

Check the status of a URL for use as a reference.

Parametro specifico:
Sono disponibili altri parametri generali.
url

URL to check.

Questo parametro è obbligatorio.

action=editmassmessagelist

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MassMessage
  • Licenza: GPL-2.0-or-later

Modifica elenco di consegna per messaggi massivi.

Parametri specifici:
Sono disponibili altri parametri generali.
spamlist

Titolo della lista di consegna da aggiornare.

Questo parametro è obbligatorio.
description

New description for the delivery list.

add

Titoli da aggiungere alla lista.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
remove

Titoli da rimuovere dall'elenco.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
minor

Whether the edit should be marked as minor in the history of the list.

Tipo: booleano (dettagli)
watchlist

Unconditionally add or remove the page from the current user's watchlist, use preferences (ignored for bot users) or do not change watch.

Uno dei seguenti valori: nochange, preferences, unwatch, watch
Predefinito: preferences
token

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

Questo parametro è obbligatorio.

action=editoredict (od)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: OreDict
  • Licenza: MIT

Updates the mod, tag, name, and/or params for a given entry.

Parametri specifici:
Sono disponibili altri parametri generali.
odtoken

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

Questo parametro è obbligatorio.
odmod

The new mod abbreviation for the entry.

odtag

The new tag name for the entry.

oditem

The new item name for the entry.

odparams

The new grid parameters for the entry.

odid

The entry ID, to determine which entry to update.

Questo parametro è obbligatorio.
Type: integer
The value must be no less than 1.

action=emailuser

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Manda un'e-mail ad un utente.

Parametri specifici:
Sono disponibili altri parametri generali.
target

Utente a cui inviare l'e-mail.

Questo parametro è obbligatorio.
subject

Oggetto dell'e-mail.

Questo parametro è obbligatorio.
text

Testo dell'e-mail.

Questo parametro è obbligatorio.
ccme

Mandami una copia di questa mail.

Tipo: booleano (dettagli)
token

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

Questo parametro è obbligatorio.
Esempio:
Manda una e-mail all'utente WikiSysop con il testo Content.
api.php?action=emailuser&target=WikiSysop&text=Content&token=123ABC [apri in una sandbox]

action=embedvideo

  • Questo modulo richiede i diritti di lettura.
  • Fonte: EmbedVideo
  • Licenza: MIT

Get generated video embed code for given parameters.

Parametri specifici:
Sono disponibili altri parametri generali.
service

Name of the service (youtube, twitch, etc)

Questo parametro è obbligatorio.
id

The ID of the video for that service

Questo parametro è obbligatorio.
dimensions

Either a numeric width (100) or width by height (100x100)

alignment

Alignment of video

description

Description of video

container

Accepts frame, or leave empty

urlargs

Additional arguments to pass in the video url (for some services)

autoresize

Auto resize video? (true or false)

action=expandtemplates

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Espande tutti i template all'interno del wikitesto.

Parametri specifici:
Sono disponibili altri parametri generali.
title

Titolo della pagina.

text

Wikitesto da convertire.

Questo parametro è obbligatorio.
revid

Revision ID, for {{REVISIONID}} and similar variables.

Type: integer
prop

Quale informazione ottenere.

Nota che se non è selezionato alcun valore, il risultato conterrà il codice wiki, ma l'output sarà in un formato obsoleto.

wikitext
Il wikitext espanso.
categories
Any categories present in the input that are not represented in the wikitext output.
properties
Proprietà della pagina definite dalle parole magiche estese nel wikitesto.
volatile
Se l'output sia volatile e non debba essere riutilizzato altrove all'interno della pagina.
ttl
Il tempo massimo dopo il quale le memorizzazioni temporanee (cache) del risultato dovrebbero essere invalidate.
modules
Any ResourceLoader modules that parser functions have requested be added to the output. Either jsconfigvars or encodedjsconfigvars must be requested jointly with modules.
jsconfigvars
Gives the JavaScript configuration variables specific to the page.
encodedjsconfigvars
Gives the JavaScript configuration variables specific to the page as a JSON string.
parsetree
The XML parse tree of the input.
Valori (separati da | o alternativa): categories, encodedjsconfigvars, jsconfigvars, modules, parsetree, properties, ttl, volatile, wikitext
includecomments

Whether to include HTML comments in the output.

Tipo: booleano (dettagli)
showstrategykeys

Whether to include internal merge strategy information in jsconfigvars.

Tipo: booleano (dettagli)
generatexml
Deprecato.

Generate XML parse tree (replaced by prop=parsetree).

Tipo: booleano (dettagli)
templatesandboxprefix

Template sandbox prefix, as with Special:TemplateSandbox.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
templatesandboxtitle

Parse the page using templatesandboxtext in place of the contents of the page named here.

templatesandboxtext

Parse the page using this page content in place of the page named by templatesandboxtitle.

templatesandboxcontentmodel

Modello contenuto di templatesandboxtext.

Uno dei seguenti valori: Campaign, GadgetDefinition, GeoJSON, GeoJson, JsonSchema, MassMessageListContent, Scribunto, css, flexdiagrams-bpmn, flexdiagrams-dot, flexdiagrams-drawio, flexdiagrams-gantt, flexdiagrams-mermaid, javascript, json, sanitized-css, text, unknown, wikibase-item, wikibase-property, wikitext
templatesandboxcontentformat

Formato contenuto di templatesandboxtext.

Uno dei seguenti valori: application/json, application/octet-stream, application/unknown, application/vnd.php.serialized, application/x-binary, application/xml, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown

action=feedcontributions

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Returns a user's contributions feed.

Parametri specifici:
Sono disponibili altri parametri generali.
feedformat

Il formato del feed.

Uno dei seguenti valori: atom, rss, sitemap
Predefinito: rss
user

What users to get the contributions for.

Questo parametro è obbligatorio.
Tipo: utente, da uno qualsiasi nome utente, IP, Utente temporaneo, Intervallo di IP, interwiki name (e.g. "prefix>ExampleName") e ID utente (ad esempio "#12345")
namespace

Which namespace to filter the contributions by.

Uno dei seguenti valori: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
year

Dall'anno (e precedenti).

Type: integer
month

Dal mese (e precedenti).

Type: integer
tagfilter

Filtra contributi che hanno queste etichette.

Valori (separati da | o alternativa): Nuke, Potentially disruptive edit, abusefilter-condition-limit, advanced mobile edit, centralnotice, centralnotice translation, editcheck-newcontent, editcheck-newreference, editcheck-reference-decline-common-knowledge, editcheck-reference-decline-irrelevant, editcheck-reference-decline-other, editcheck-reference-decline-uncertain, editcheck-references, editcheck-references-activated, maps-visual-edit, massmessage-delivery, mobile edit, mobile web edit, moderation-merged, moderation-spam, mw-blank, mw-changed-redirect-target, mw-contentmodelchange, mw-manual-revert, mw-new-redirect, mw-removed-redirect, mw-replace, mw-reverted, mw-rollback, mw-server-side-upload, mw-undo, pagetriage, tor, uploadwizard, uploadwizard-flickr, visualeditor, visualeditor-needcheck, visualeditor-switched, visualeditor-wikitext, wikieditor
Predefinito: (vuoto)
deletedonly

Mostra solo i contribuiti cancellati.

Tipo: booleano (dettagli)
toponly

Mostra solo i contributi che sono le ultime versioni per la pagina.

Tipo: booleano (dettagli)
newonly

Visualizza solo le modifiche che sono creazioni di pagina.

Tipo: booleano (dettagli)
hideminor

Nascondi le modifiche minori.

Tipo: booleano (dettagli)
showsizediff

Disabled due to miser mode.

Tipo: booleano (dettagli)
Esempio:
Restituisce contributi per l'utente Example.
api.php?action=feedcontributions&user=Example [apri in una sandbox]

action=feedrecentchanges

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Returns a recent changes feed.

Parametri specifici:
Sono disponibili altri parametri generali.
feedformat

Il formato del feed.

Uno dei seguenti valori: atom, rss, sitemap
Predefinito: rss
namespace

Namespace a cui limitare i risultati.

Uno dei seguenti valori: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
invert

All namespaces but the selected one.

Tipo: booleano (dettagli)
associated

Includi namespace associato (discussione o principale)

Tipo: booleano (dettagli)
days

Intervallo di giorni per i quali limitare i risultati.

Type: integer
The value must be no less than 1.
Predefinito: 7
limit

Numero massimo di risultati da restituire.

Type: integer
The value must be between 1 and 50.
Predefinito: 50
from

Mostra i cambiamenti da allora.

Tipo: timestamp (formati consentiti)
hideminor

Nascondi le modifiche minori.

Tipo: booleano (dettagli)
hidebots

Nascondi le modifiche apportate da bot.

Tipo: booleano (dettagli)
hideanons

Nascondi le modifiche fatte da utenti anonimi.

Tipo: booleano (dettagli)
hideliu

Nascondi le modifiche apportate dagli utenti registrati.

Tipo: booleano (dettagli)
hidepatrolled

Nascondi modifiche verificate.

Tipo: booleano (dettagli)
hidemyself

Nasconde le modifiche effettuate dall'utente attuale.

Tipo: booleano (dettagli)
hidecategorization

Nascondi le variazioni di appartenenza alle categorie.

Tipo: booleano (dettagli)
tagfilter

Filtra per etichetta.

inverttags

All edits except ones tagged with the selected ones.

Tipo: booleano (dettagli)
target

Mostra solo le modifiche alle pagine collegate da questa pagina.

showlinkedto

Mostra solo le modifiche alle pagine collegate a quella specificata.

Tipo: booleano (dettagli)
Esempi:
Mostra le ultime modifiche.
api.php?action=feedrecentchanges [apri in una sandbox]
Mostra le modifiche degli ultimi 30 giorni.
api.php?action=feedrecentchanges&days=30 [apri in una sandbox]

action=feedwatchlist

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Returns a watchlist feed.

Parametri specifici:
Sono disponibili altri parametri generali.
feedformat

Il formato del feed.

Uno dei seguenti valori: atom, rss, sitemap
Predefinito: rss
hours

Elenca le pagine modificate entro queste ultime ore.

Type: integer
The value must be between 1 and 72.
Predefinito: 24
linktosections

Collega direttamente alla sezione modificata, se possibile.

Tipo: booleano (dettagli)
allrev

Include multiple revisions of the same page within given timeframe.

Tipo: booleano (dettagli)
wlowner

Used along with token to access a different user's watchlist.

Tipo: utente, da nome utente
wltoken

A security token (available in the user's preferences) to allow access to another user's watchlist.

wlshow

Show only items that meet these criteria. For example, to see only minor edits done by logged-in users, set show=minor|!anon.

Valori (separati da | o alternativa): !anon, !autopatrolled, !bot, !minor, !patrolled, !unread, anon, autopatrolled, bot, minor, patrolled, unread
wltype

Which types of changes to show:

edit
Regular page edits.
new
Creazioni pagina.
log
Log entries.
external
External changes.
categorize
Category membership changes.
Valori (separati da | o alternativa): categorize, edit, external, log, new
Predefinito: edit|new|log|categorize
wlexcludeuser

Don't list changes by this user.

Tipo: utente, da uno qualsiasi nome utente, IP, Utente temporaneo, interwiki name (e.g. "prefix>ExampleName") e ID utente (ad esempio "#12345")
Esempi:
Show the watchlist feed.
api.php?action=feedwatchlist [apri in una sandbox]
Mostra tutte le modifiche alle pagine osservate nelle ultime 6 ore.
api.php?action=feedwatchlist&allrev=&hours=6 [apri in una sandbox]

action=filerevert

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Ripristina un file ad una versione precedente.

Parametri specifici:
Sono disponibili altri parametri generali.
filename

Nome del file di destinazione, senza il prefisso 'File:'.

Questo parametro è obbligatorio.
comment

Commento sul caricamento.

Predefinito: (vuoto)
archivename

Nome dell'archivio della versione da ripristinare.

Questo parametro è obbligatorio.
token

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

Questo parametro è obbligatorio.

action=flickrblacklist

  • Questo modulo richiede i diritti di lettura.
  • Fonte: Upload Wizard
  • Licenza: GPL-2.0-or-later

Validate a Flickr URL by using the user ID (NSID) for blacklisting.

When used with the list option, returns all blacklisted IDs.

Parametri specifici:
Sono disponibili altri parametri generali.
url

The Flickr URL to be tested.

list

When set, the complete blacklist is returned. Cannot be used together with url.

Tipo: booleano (dettagli)

action=generatedumps

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: DataDump
  • Licenza: GPL-3.0-or-later

Generate dumps

Parametri specifici:
Sono disponibili altri parametri generali.
type

Genera dump con questo tipo specificato.

token

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

Questo parametro è obbligatorio.
Esempio:
This is an example of how to generate dumps.
api.php?action=generatedumps&type=example&token=123ABC [apri in una sandbox]

action=globalblock

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: GlobalBlocking
  • Licenza: GPL-2.0-or-later

Blocca o sblocca globalmente un utente.

Parametri specifici:
Sono disponibili altri parametri generali.
id

ID of the global block to modify or unblock (obtained through list=globalblocks). Cannot be used together with target.

Type: integer
target

L'indirizzo IP o il nome utente di destinazione. Non può essere utilizzato insieme a id.

Tipo: utente, da uno qualsiasi nome utente, IP, Utente temporaneo e Intervallo di IP
expiry

If specified, will block or reblock the user. Determines how long the block will last for, e.g. "5 months" or "2 weeks". If set to "infinite" or "indefinite" the block will never expire.

Type: expiry (details)
unblock

Se specificato, sarà sbloccato l'utente.

Tipo: booleano (dettagli)
reason

Il motivo del blocco/sblocco.

Questo parametro è obbligatorio.
anononly

Indica se questo blocco dovrebbe riguardare solo gli utenti che non hanno effettuato l'accesso globale.

Tipo: booleano (dettagli)
allow-account-creation

Specify this if the global block should not prevent account creation.

Tipo: booleano (dettagli)
enable-autoblock

Specify this if the global block should trigger global autoblocks.

Tipo: booleano (dettagli)
modify

Specify this if the existing block on the target should be modified

Tipo: booleano (dettagli)
alsolocal

Blocca l'utente anche localmente. Non può essere utilizzato insieme a id.

Tipo: booleano (dettagli)
localblockstalk

Revoca localmente l'accesso alla propria pagina di discussione. Non può essere utilizzato insieme a id.

Tipo: booleano (dettagli)
localblocksemail

Revoke email access locally. Cannot be used together with id.

Tipo: booleano (dettagli)
localanononly

Indica se questo blocco dovrebbe riguardare solo gli utenti che non hanno effettuato l'accesso locale. Non può essere utilizzato insieme a id.

Tipo: booleano (dettagli)
local-allow-account-creation

Specify this if the local block should not prevent account creation. Cannot be used together with id.

Tipo: booleano (dettagli)
token

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

Questo parametro è obbligatorio.

action=globalpreferenceoverrides

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: GlobalPreferences
  • Licenza: GPL-2.0-or-later

Change local overrides for global preferences for the current user.

Global values for affected preferences will be ignored.

Parametri specifici:
Sono disponibili altri parametri generali.
reset

Reset local overrides. Removes all, or, depending on the value of the resetkinds parameter, some types of local overrides and makes them global again.

Tipo: booleano (dettagli)
resetkinds

List of types of overrides to reset when the reset option is set.

Valori (separati da | o alternativa): all, registered, registered-checkmatrix, registered-multiselect, special, unused, userjs
Predefinito: 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 override will be removed. If any value passed contains the pipe character (|), use the alternative multiple-value separator for correct operation.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
optionname

The name of the override that should be set to the value given by optionvalue.

optionvalue

The value for the override specified by optionname.

token

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

Questo parametro è obbligatorio.

action=globalpreferences

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: GlobalPreferences
  • Licenza: GPL-2.0-or-later

Change global preferences of the current user.

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

Parametri specifici:
Sono disponibili altri parametri generali.
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.

Tipo: booleano (dettagli)
resetkinds

List of types of preferences to reset when the reset option is set.

Valori (separati da | o alternativa): all, registered, registered-checkmatrix, registered-multiselect, special, unused, userjs
Predefinito: 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.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
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

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

Questo parametro è obbligatorio.

action=globaluserrights

  • 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

Add/remove a user to/from global groups.

Parametri specifici:
Sono disponibili altri parametri generali.
user

Nome utente globale.

Tipo: utente, da uno qualsiasi nome utente e ID utente (ad esempio "#12345")
userid
Deprecato.

ID utente globale.

Type: integer
add

Aggiungi l'utente a questi gruppi globali.

Valori (separati da | o alternativa): abusefilter, safety, staff_team, steward, sysadmin
expiry

Timestamp di scadenza. Può essere relativo (ad esempio 5 months o 2 weeks) o assoluto (ad esempio 2014-09-18T12:34:56Z). Se è impostato un solo timestamp, verrà utilizzato per tutti i gruppi passati al parametro add. Utilizza infinite, indefinite, infinity o never per un gruppo di utenti senza scadenza.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Predefinito: infinite
remove

Rimuovi l'utente da questi gruppi globali.

Valori (separati da | o alternativa): abusefilter, safety, staff_team, steward, sysadmin
reason

Motivo per la modifica.

Predefinito: (vuoto)
token

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

For compatibility, the token used in the web UI is also accepted.

Questo parametro è obbligatorio.
tags

Questo parametro attualmente non è utilizzato.

Valori (separati da | o alternativa):
Esempi:
Add user FooBot to global group "bot", and remove from global groups "sysop" and "bureaucrat"
api.php?action=userrights&user=FooBot&add=bot&remove=sysop|bureaucrat&token=123ABC [apri in una sandbox]
Add the global user with ID 123 to global group "bot", and remove from global groups "sysop" and "bureaucrat"
api.php?action=userrights&userid=123&add=bot&remove=sysop|bureaucrat&token=123ABC [apri in una sandbox]

action=help

Mostra la guida per i moduli specificati.

Parametri specifici:
Sono disponibili altri parametri generali.
modules

Modules to display help for (values of the action and format parameters, or main). Can specify submodules with a +.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Predefinito: main
submodules

Include help for submodules of the named module.

Tipo: booleano (dettagli)
recursivesubmodules

Include help for submodules recursively.

Tipo: booleano (dettagli)
wrap

Wrap the output in a standard API response structure.

Tipo: booleano (dettagli)
toc

Includi un indice nell'output HTML.

Tipo: booleano (dettagli)

action=imagerotate

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Ruota una o più immagini.

Parametri specifici:
Sono disponibili altri parametri generali.
rotation

Gradi di rotazione dell'immagine in senso orario.

Questo parametro è obbligatorio.
Uno dei seguenti valori: 90, 180, 270
continue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

tags

Tags to apply to the entry in the upload log.

Valori (separati da | o alternativa):
titles

Un elenco di titoli su cui lavorare.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
pageids

Un elenco di ID pagina su cui lavorare.

Type: list of integers
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
revids

Un elenco di ID versioni su cui lavorare. Tieni presente che quasi tutti i moduli per le interrogazioni convertiranno gli ID versione nell'ID pagina corrispondente e lavoreranno quindi sull'ultima versione. Solo prop=revisions usa le versioni esatte per la sua risposta.

Type: list of integers
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
generator

Get the list of pages to work on by executing the specified query module.

Note: Generator parameter names must be prefixed with a "g", see examples.

allcategories
Enumera tutte le categorie.
alldeletedrevisions
Elenca tutte le versioni cancellate da un utente o in un namespace.
allfileusages
List all file usages, including non-existing.
allimages
Enumerate all images sequentially.
alllinks
Elenca tutti i collegamenti che puntano ad un namespace indicato.
allpages
Enumerate all pages sequentially in a given namespace.
allredirects
List all redirects to a namespace.
allrevisions
Elenco di tutte le versioni.
alltransclusions
Elenca tutte le inclusioni (pagine incorporate utilizzando {{x}}), comprese le non esistenti.
backlinks
Trova tutte le pagine che puntano a quella specificata.
categories
Elenca tutte le categorie a cui appartengono le pagine.
categorymembers
Elenca tutte le pagine in una categoria indicata.
deletedrevisions
Get deleted revision information.
duplicatefiles
List all files that are duplicates of the given files based on hash values.
embeddedin
Trova tutte le pagine che incorporano (transclusione) il titolo specificato.
exturlusage
Enumerate pages that contain a given URL.
fileusage
Trova tutte le pagine che utilizzano il file specificato.
geosearch
Returns pages having coordinates that are located in a certain area.
images
Returns all files contained on the given pages.
imageusage
Trova tutte le pagine che utilizzano il titolo dell'immagine specificato.
iwbacklinks
Find all pages that link to the given interwiki link.
langbacklinks
Find all pages that link to the given language link.
links
Returns all links from the given pages.
linkshere
Trova tutte le pagine che puntano a quelle specificate.
pageswithprop
List all pages using a given page property.
prefixsearch
Perform a prefix search for page titles.
protectedtitles
Elenca tutti i titoli protetti dalla creazione.
querypage
Get a list provided by a QueryPage-based special page.
random
Get a set of random pages.
recentchanges
Elenca le modifiche recenti.
redirects
Restituisce tutti i reindirizzamenti alla data indicata.
revisions
Get revision information.
search
Eseguire una ricerca di testo completa.
templates
Returns all pages transcluded on the given pages.
transcludedin
Trova tutte le pagine che incorporano quella specificata.
watchlist
Ottieni le ultime modifiche alle pagine tra gli osservati speciali dell'utente attuale.
watchlistraw
Get all pages on the current user's watchlist.
wblistentityusage
Restituisce tutte le pagine che utilizzano gli ID entità indicati.
wbsearch
Internal. Searches for entities using labels and aliases.
Uno dei seguenti valori: allcategories, alldeletedrevisions, allfileusages, allimages, alllinks, allpages, allredirects, allrevisions, alltransclusions, backlinks, categories, categorymembers, deletedrevisions, duplicatefiles, embeddedin, exturlusage, fileusage, geosearch, images, imageusage, iwbacklinks, langbacklinks, links, linkshere, pageswithprop, prefixsearch, protectedtitles, querypage, random, recentchanges, redirects, revisions, search, templates, transcludedin, watchlist, watchlistraw, wblistentityusage, wbsearch
redirects

Risolvi automaticamente redirect in titles, pageids, e revids, e nelle pagine restituite da generator.

Tipo: booleano (dettagli)
converttitles

Converte i titoli in altre varianti, se necessario. Funziona solo se la lingua del contenuto del wiki supporta la conversione in varianti. Le lingue che supportano la conversione in varianti includono ban, en, crh, gan, iu, ku, mni, sh, shi, sr, tg, tly, uz, wuu, zgh e zh

Tipo: booleano (dettagli)
token

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

Questo parametro è obbligatorio.

action=import

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Import a page from another wiki, or from an XML file.

Note that the HTTP POST must be done as a file upload (i.e. using multipart/form-data) when sending a file for the xml parameter.

Parametri specifici:
Sono disponibili altri parametri generali.
summary

Oggetto nel registro di importazione.

xml

File XML caricato.

Must be posted as a file upload using multipart/form-data.
interwikiprefix

For uploaded imports: interwiki prefix to apply to unknown usernames (and known users if assignknownusers is set).

interwikisource

Per importazioni interwiki: wiki da cui importare.

Uno dei seguenti valori:
interwikipage

Per importazioni interwiki: pagina da importare.

fullhistory

Per importazioni interwiki: importa l'intera cronologia, non solo la versione attuale.

Tipo: booleano (dettagli)
templates

Per importazioni interwiki: importa anche tutti i template inclusi.

Tipo: booleano (dettagli)
namespace

Importa in questo namespace. Non può essere usato insieme a rootpage.

Uno dei seguenti valori: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
assignknownusers

Assign edits to local users where the named user exists locally.

Tipo: booleano (dettagli)
rootpage

Importa come sottopagina di questa pagina. Non può essere usato insieme a namespace.

tags

Change tags to apply to the entry in the import log and to the null revision on the imported pages.

Valori (separati da | o alternativa):
token

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

Questo parametro è obbligatorio.

action=infobox

  • Questo modulo richiede i diritti di lettura.
  • Fonte: Portable Infobox
  • Licenza: GPL-3.0-or-later

This module provides infobox parser

Parametri specifici:
Sono disponibili altri parametri generali.
text

Infobox to parse (xml string)

title

Title of page the text belongs to

args

Variable list to use during parse (json format)

action=linkaccount (link)

  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Collegamento di un'utenza di un provider di terze parti all'utente corrente.

La procedura generale per usare questo modulo è:

  1. Ottenere i campi disponibili da action=query&meta=authmanagerinfo con amirequestsfor=link, e un token csrf da action=query&meta=tokens.
  2. Mostra i campi all'utente e ottieni i dati che invia.
  3. Esegui un post a questo modulo, fornendo linkreturnurl e ogni campo rilevante.
  4. Controlla status nella response.
    • Se hai ricevuto PASS o FAIL, hai finito. L'operazione nel primo caso è andata a buon fine, nel secondo no.
    • Se hai ricevuto UI, mostra i nuovi campi all'utente e ottieni i dati che invia. Esegui un post a questo modulo con linkcontinue e i campi rilevanti settati, quindi ripeti il punto 4.
    • Se hai ricevuto REDIRECT, dirigi l'utente a redirecttarget e aspetta che ritorni a linkreturnurl. A quel punto esegui un post a questo modulo con linkcontinue e ogni campo passato all'URL di ritorno, e ripeti il punto 4.
    • Se hai ricevuto RESTART, vuol dire che l'autenticazione ha funzionato ma non abbiamo un account collegato. Potresti considerare questo caso come UI o come FAIL.
Parametri specifici:
Sono disponibili altri parametri generali.
linkrequests

Only use these authentication requests, by the id returned from action=query&meta=authmanagerinfo with amirequestsfor=link or from a previous response from this module.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
linkmessageformat

Formato da utilizzare per per la restituzione dei messaggi.

Uno dei seguenti valori: html, none, raw, wikitext
Predefinito: wikitext
linkmergerequestfields

Merge field information for all authentication requests into one array.

Tipo: booleano (dettagli)
linkreturnurl

URL di ritorno per i flussi di autenticazione di terze parti, deve essere assoluto. E' necessario fornirlo, oppure va fornito linkcontinue.

Alla ricezione di una risposta REDIRECT, in genere si apre un browser o una vista web all'URL specificato redirecttarget per un flusso di autenticazione di terze parti. Quando questo è completato, la terza parte invierà il browser o la vista web a questo URL. Dovresti estrarre qualsiasi parametro POST o della richiesta dall'URL e passarli come un request linkcontinue a questo modulo API.

linkcontinue

Questa richiesta è una continuazione dopo una precedente risposta UI o REDIRECT. È necessario fornirlo, oppure fornire linkreturnurl.

Tipo: booleano (dettagli)
linktoken

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

Questo parametro è obbligatorio.
*
Questo modulo accetta parametri aggiuntivi a seconda delle richieste di autenticazione disponibili. Utilizza action=query&meta=authmanagerinfo con amirequestsfor=link (o una precedente risposta da questo modulo, se applicabile) per determinare le richieste disponibili e i campi usati da queste.

action=login (lg)

  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Accedi e ottieni i cookie di autenticazione.

Questa azione deve essere usata esclusivamente in combinazione con Special:BotPasswords; utilizzarla per l'accesso all'account principale è deprecato e può fallire senza preavviso. Per accedere in modo sicuro all'utenza principale, usa action=clientlogin.

Parametri specifici:
Sono disponibili altri parametri generali.
lgname

Nome utente.

lgpassword

Password.

lgdomain

Dominio (opzionale).

lgtoken

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

action=logout

  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Esci e cancella i dati della sessione.

Parametro specifico:
Sono disponibili altri parametri generali.
token

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

Questo parametro è obbligatorio.
Esempio:
Disconnetti l'utente attuale.
api.php?action=logout&token=123ABC [apri in una sandbox]

action=managetags

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Perform management tasks relating to change tags.

Parametri specifici:
Sono disponibili altri parametri generali.
operation

Which operation to perform:

create
Create a new change tag for manual use.
delete
Remove a change tag from the database, including removing the tag from all revisions, recent change entries and log entries on which it is used.
activate
Activate a change tag, allowing users to apply it manually.
deactivate
Deactivate a change tag, preventing users from applying it manually.
Questo parametro è obbligatorio.
Uno dei seguenti valori: activate, create, deactivate, delete
tag

Tag to create, delete, activate or deactivate. For tag creation, the tag must not exist. For tag deletion, the tag must exist. For tag activation, the tag must exist and not be in use by an extension. For tag deactivation, the tag must be currently active and manually defined.

Questo parametro è obbligatorio.
reason

An optional reason for creating, deleting, activating or deactivating the tag.

Predefinito: (vuoto)
ignorewarnings

Whether to ignore any warnings that are issued during the operation.

Tipo: booleano (dettagli)
tags

Change tags to apply to the entry in the tag management log.

Valori (separati da | o alternativa):
token

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

Questo parametro è obbligatorio.

action=massmessage

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MassMessage
  • Licenza: GPL-2.0-or-later

Send a message to a list of pages.

Parametri specifici:
Sono disponibili altri parametri generali.
spamlist

Pagina contenente l'elenco delle pagine su cui lasciare un messaggio.

Questo parametro è obbligatorio.
subject

Oggetto del messaggio.

Questo parametro è obbligatorio.
message

Testo del corpo del messaggio.

page-message

Page to be sent along with the message body.

token

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

Questo parametro è obbligatorio.
Esempi:
Send a message to the list at Signpost Spamlist with the subject "New Signpost", and message body of "Please read it".
api.php?action=massmessage&spamlist=Signpost%20Spamlist&subject=New%20Signpost&message=Please%20read%20it&token=TOKEN [apri in una sandbox]
Send a message to the list at Signpost Spamlist with the subject "New Signpost", and the message as the content of the page "Help Page".
api.php?action=massmessage&spamlist=Signpost%20Spamlist&subject=New%20Signpost&page-message=Help_Page&token=TOKEN [apri in una sandbox]
Send a message to the list at Signpost Spamlist with the subject "New Signpost", and message body of "Please read it" appended with the content from page "Help Page".
api.php?action=massmessage&spamlist=Signpost%20Spamlist&subject=New%20Signpost&message=Please%20read%20it&page-message=Help_Page&token=TOKEN [apri in una sandbox]

action=mediadetection

  • Questo modulo richiede i diritti di lettura.
  • Fonte: Upload Wizard
  • Licenza: GPL-2.0-or-later

Return the likelihood that the stashed image represented by the supplied filekey is a logo

Parametri specifici:
Sono disponibili altri parametri generali.
filename

Name of the file page

filekey

filekey returned from the stash API request

Esempi:
Return the likelihood that the image represented by the supplied filename is a logo
api.php?action=mediadetection&filename=My_image.jpg [apri in una sandbox]
Return the likelihood that the stashed image represented by the supplied filekey is a logo
api.php?action=mediadetection&filekey=1ax8vy7ctc3k.op1rqo.3.jpg [apri in una sandbox]

action=mergehistory

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Unisce cronologie pagine.

Parametri specifici:
Sono disponibili altri parametri generali.
from

Il titolo della pagina da cui cronologia sarà unita. Non può essere usato insieme a fromid.

fromid

L'ID della pagina da cui cronologia sarà unita. Non può essere usato insieme a from.

Type: integer
to

Il titolo della pagina in cui cronologia sarà unita. Non può essere usato insieme a toid.

toid

L'ID della pagina in cui cronologia sarà unita. Non può essere usato insieme a to.

Type: integer
timestamp

Il timestamp fino a cui le versioni saranno spostate dalla cronologia della pagina di origine a quella della pagina di destinazione. Se omesso, l'intera cronologia della pagina di origine sarà unita nella pagina di destinazione.

Tipo: timestamp (formati consentiti)
reason

Motivo per l'unione della cronologia.

Predefinito: (vuoto)
token

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

Questo parametro è obbligatorio.

action=mintydocspublish

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Fonte: MintyDocs
  • Licenza: GPL-2.0-or-later

Publishes a MintyDocs page by copying it from the draft namespace to the main namespace.

Parametro specifico:
Sono disponibili altri parametri generali.
title

Il nome della pagina da pubblicare

Esempio:
Copy the contents of the page Draft:ABC123 to the page ABC123
api.php?action=mintydocspublish&title=ABC123 [apri in una sandbox]

action=moderation

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: Moderation
  • Licenza: GPL-3.0+

Performs moderation-related action like Approve or Reject.

Parametri specifici:
Sono disponibili altri parametri generali.
modaction

Moderation-related action to perform.

Questo parametro è obbligatorio.
Uno dei seguenti valori: approve, approveall, block, reject, rejectall, show, unblock
modid

ID of the pending change.

Questo parametro è obbligatorio.
Type: integer
token

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

Questo parametro è obbligatorio.

action=move

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Sposta una pagina.

Parametri specifici:
Sono disponibili altri parametri generali.
from

Title of the page to rename. Cannot be used together with fromid.

fromid

Page ID of the page to rename. Cannot be used together with from.

Type: integer
to

Titolo a cui spostare la pagina.

Questo parametro è obbligatorio.
reason

Motivo della rinomina.

Predefinito: (vuoto)
movetalk

Rinomina la pagina di discussione, se esiste.

Tipo: booleano (dettagli)
movesubpages

Rinomina sottopagine, se applicabile.

Tipo: booleano (dettagli)
noredirect

Non creare un rinvio.

Tipo: booleano (dettagli)
watchlist

Unconditionally add or remove the page from the current user's watchlist, use preferences (ignored for bot users) or do not change watch.

Uno dei seguenti valori: nochange, preferences, unwatch, watch
Predefinito: preferences
ignorewarnings

Ignora i messaggi di avvertimento del sistema.

Tipo: booleano (dettagli)
tags

Change tags to apply to the entry in the move log and to the null revision on the destination page.

Valori (separati da | o alternativa):
token

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

Questo parametro è obbligatorio.

action=mscalendargetmonth

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MsCalendar
  • Licenza: GPL-3.0-only

Get month

Parametri specifici:
Sono disponibili altri parametri generali.
month

(nessuna descrizione)

Questo parametro è obbligatorio.
Type: integer
year

(nessuna descrizione)

Questo parametro è obbligatorio.
Type: integer
calendarId

(nessuna descrizione)

Questo parametro è obbligatorio.
Type: integer
calendarSort

(nessuna descrizione)

Questo parametro è obbligatorio.

action=mscalendarremove

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MsCalendar
  • Licenza: GPL-3.0-only

Remove

Parametri specifici:
Sono disponibili altri parametri generali.
calendarId

(nessuna descrizione)

Questo parametro è obbligatorio.
Type: integer
date

(nessuna descrizione)

Questo parametro è obbligatorio.
title

(nessuna descrizione)

Questo parametro è obbligatorio.
eventId

(nessuna descrizione)

Questo parametro è obbligatorio.
Type: integer
duration

(nessuna descrizione)

Questo parametro è obbligatorio.
Type: integer
yearly

(nessuna descrizione)

Questo parametro è obbligatorio.
Type: integer

action=mscalendarsavenew

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MsCalendar
  • Licenza: GPL-3.0-only

Save new

Parametri specifici:
Sono disponibili altri parametri generali.
calendarId

(nessuna descrizione)

Questo parametro è obbligatorio.
Type: integer
date

(nessuna descrizione)

Questo parametro è obbligatorio.
title

(nessuna descrizione)

Questo parametro è obbligatorio.
eventId

(nessuna descrizione)

Questo parametro è obbligatorio.
Type: integer
duration

(nessuna descrizione)

Questo parametro è obbligatorio.
Type: integer
yearly

(nessuna descrizione)

Questo parametro è obbligatorio.
Type: integer

action=mscalendarupdate

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MsCalendar
  • Licenza: GPL-3.0-only

Update

Parametri specifici:
Sono disponibili altri parametri generali.
calendarId

(nessuna descrizione)

Questo parametro è obbligatorio.
Type: integer
date

(nessuna descrizione)

Questo parametro è obbligatorio.
title

(nessuna descrizione)

Questo parametro è obbligatorio.
eventId

(nessuna descrizione)

Questo parametro è obbligatorio.
Type: integer
duration

(nessuna descrizione)

Questo parametro è obbligatorio.
Type: integer
yearly

(nessuna descrizione)

Questo parametro è obbligatorio.
Type: integer

action=neworedict (od)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: OreDict
  • Licenza: MIT

Creates a new OreDict entry.

Parametri specifici:
Sono disponibili altri parametri generali.
odmod

The mod abbreviation for the new entry.

Questo parametro è obbligatorio.
odtag

The tag name for the new entry.

Questo parametro è obbligatorio.
oditem

The item name for the new entry.

Questo parametro è obbligatorio.
odparams

The grid parameters for the new entry.

Predefinito: (vuoto)
odtoken

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

Questo parametro è obbligatorio.

action=oathvalidate

  • Questo modulo è interno o instabile e non dovresti usarlo. Il suo funzionamento potrebbe variare senza preavviso.
  • Questo modulo richiede i diritti di lettura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: OATHAuth
  • Licenza: GPL-2.0-or-later AND GPL-3.0-or-later

Validate a two-factor authentication (OATH) token.

Parametri specifici:
Sono disponibili altri parametri generali.
user

Utente per cui convalidare il token. Valore predefinito è l'utente attuale.

Tipo: utente, da uno qualsiasi nome utente, IP, Utente temporaneo, Intervallo di IP e interwiki name (e.g. "prefix>ExampleName")
data

JSON encoded data expected by the module currently activated for the user being authenticated

Questo parametro è obbligatorio.
token

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

Questo parametro è obbligatorio.

action=opensearch

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Search the wiki using the OpenSearch protocol.

Parametri specifici:
Sono disponibili altri parametri generali.
search

Stringa di ricerca.

Questo parametro è obbligatorio.
namespace

Namespaces to search. Ignored if search begins with a valid namespace prefix.

Valori (separati da | o alternativa): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Per specificare tutti i valori, utilizza *.
Predefinito: 0
limit

Numero massimo di risultati da restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
suggest
Deprecato.

Non più usato.

Tipo: booleano (dettagli)
redirects

How to handle redirects:

return
Return the redirect itself.
resolve
Return the target page. May return fewer than limit results.

For historical reasons, the default is "return" for format=json and "resolve" for other formats.

Uno dei seguenti valori: resolve, return
format

Il formato dell'output.

Uno dei seguenti valori: json, jsonfm, xml, xmlfm
Predefinito: json
warningsaserror

If warnings are raised with format=json, return an API error instead of ignoring them.

Tipo: booleano (dettagli)
Esempio:
Trova le pagine che iniziano con Te.
api.php?action=opensearch&search=Te [apri in una sandbox]

action=options

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Change preferences of the current user.

Only options which are registered in core or in one of installed extensions, or options with keys prefixed with userjs- (intended to be used by user scripts), can be set.

Parametri specifici:
Sono disponibili altri parametri generali.
reset

Resets preferences to the site defaults.

Tipo: booleano (dettagli)
resetkinds

List of types of options to reset when the reset option is set.

Valori (separati da | o alternativa): all, registered, registered-checkmatrix, registered-multiselect, special, unused, userjs
Predefinito: all
change

List of changes, formatted name=value (e.g. skin=vector). If no value is given (not even an equals sign), e.g., optionname|otheroption|..., the option will be reset to its default value. If any value passed contains the pipe character (|), use the alternative multiple-value separator for correct operation.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
optionname

The name of the option that should be set to the value given by optionvalue.

optionvalue

Il valore per l'opzione specificata da optionname. Quando è impostato optionname ma optionvalue viene omesso, l'opzione verrà ripristinata al suo valore predefinito.

global

What to do if the option was set globally using the GlobalPreferences extension.

  • ignore: Do nothing. The option remains with its previous value.
  • override: Add a local override.
  • update: Update the option globally.
Uno dei seguenti valori: ignore, override, update
Predefinito: ignore
token

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

Questo parametro è obbligatorio.

action=pagetriageaction

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: PageTriage
  • Licenza: MIT

Mark an article as reviewed or unreviewed.

Parametri specifici:
Sono disponibili altri parametri generali.
pageid

ID della pagina su cui è stata eseguita l'azione.

Questo parametro è obbligatorio.
Type: integer
reviewed

Whether the page should be marked as reviewed

Uno dei seguenti valori: 0, 1
enqueue

Whether the page should be added to PageTriage queue.

Tipo: booleano (dettagli)
token

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

Questo parametro è obbligatorio.
note

Nota personale ai creatori della pagina dai revisori.

skipnotif

Whether to skip notification.

Tipo: booleano (dettagli)
tags

Change tags to apply to the log entries generated for this action.

Valori (separati da | o alternativa):

action=pagetriagelist

  • Questo modulo richiede i diritti di lettura.
  • Fonte: PageTriage
  • Licenza: MIT

Get a list of page IDs for building a PageTriage queue.

Parametri specifici:
Sono disponibili altri parametri generali.
show_predicted_class_stub

Whether to include predicted class stub

Tipo: booleano (dettagli)
show_predicted_class_start

Whether to include predicted class start

Tipo: booleano (dettagli)
show_predicted_class_c

Whether to include predicted class C

Tipo: booleano (dettagli)
show_predicted_class_b

Whether to include predicted class B

Tipo: booleano (dettagli)
show_predicted_class_good

Whether to include predicted class good

Tipo: booleano (dettagli)
show_predicted_class_featured

Whether to included predicted class featured

Tipo: booleano (dettagli)
show_predicted_issues_vandalism

Whether to include potential issues of vandalism

Tipo: booleano (dettagli)
show_predicted_issues_spam

Whether to include potential issues of spam

Tipo: booleano (dettagli)
show_predicted_issues_attack

Whether to include potential issues of attack

Tipo: booleano (dettagli)
show_predicted_issues_none

Whether to include no potential issues

Tipo: booleano (dettagli)
show_predicted_issues_copyvio

Whether to include potential issues of copyvio

Tipo: booleano (dettagli)
showbots

Whether to show only bot edits.

Tipo: booleano (dettagli)
showautopatrolled

Whether to show only edits by users with the autopatrol user right.

Tipo: booleano (dettagli)
showredirs

Whether to include redirects.

Tipo: booleano (dettagli)
showothers

Whether to include pages that are not redirects nor nominated for deletion.

Tipo: booleano (dettagli)
showreviewed

Whether to include reviewed.

Tipo: booleano (dettagli)
showunreviewed

Whether to include unreviewed.

Tipo: booleano (dettagli)
showdeleted

Whether to include "proposed for deletion".

Tipo: booleano (dettagli)
namespace

What namespace to pull pages from.

Type: integer
afc_state

Which Articles-for-Creation state to show.

Type: integer
no_category

Whether to show only pages with no category.

Tipo: booleano (dettagli)
unreferenced

Se mostrare solo le pagine senza riferimenti.

Tipo: booleano (dettagli)
no_inbound_links

Whether to show only pages with no inbound links.

Tipo: booleano (dettagli)
recreated

Whether to show only pages that were previously deleted.

Tipo: booleano (dettagli)
non_autoconfirmed_users

Whether to show only pages created by non autoconfirmed users.

Tipo: booleano (dettagli)
learners

Whether to show only pages created by newly autoconfirmed users.

Tipo: booleano (dettagli)
blocked_users

Whether to show only pages created by blocked users.

Tipo: booleano (dettagli)
username

Show only pages created by username.

Tipo: utente, da uno qualsiasi nome utente, IP, Utente temporaneo, Intervallo di IP e interwiki name (e.g. "prefix>ExampleName")
date_range_from

Mostra solo le pagine create in questo giorno o successivamente.

Tipo: timestamp (formati consentiti)
date_range_to

Mostra solo le pagine create in questo giorno o precedentemente.

Tipo: timestamp (formati consentiti)
page_id

Return data for the specified page IDs, ignoring other parameters.

Type: integer
limit

The maximum number of results to return.

Type: integer
The value must be between 1 and 200.
Predefinito: 20
offset

Timestamp to start from.

Type: integer
pageoffset

Page ID to start from (requires offset param to be passed as well).

Type: integer
dir

The direction the list should be sorted in - oldestfirst, newestfirst, oldestreview or newestreview.

Uno dei seguenti valori: newestfirst, newestreview, oldestfirst, oldestreview

action=pagetriagestats

  • Questo modulo richiede i diritti di lettura.
  • Fonte: PageTriage
  • Licenza: MIT

Get the stats for page triage.

Parametri specifici:
Sono disponibili altri parametri generali.
show_predicted_class_stub

Whether to include predicted class stub

Tipo: booleano (dettagli)
show_predicted_class_start

Whether to include predicted class start

Tipo: booleano (dettagli)
show_predicted_class_c

Whether to include predicted class C

Tipo: booleano (dettagli)
show_predicted_class_b

Whether to include predicted class B

Tipo: booleano (dettagli)
show_predicted_class_good

Whether to include predicted class good

Tipo: booleano (dettagli)
show_predicted_class_featured

Whether to included predicted class featured

Tipo: booleano (dettagli)
show_predicted_issues_vandalism

Whether to include potential issues of vandalism

Tipo: booleano (dettagli)
show_predicted_issues_spam

Whether to include potential issues of spam

Tipo: booleano (dettagli)
show_predicted_issues_attack

Whether to include potential issues of attack

Tipo: booleano (dettagli)
show_predicted_issues_none

Whether to include no potential issues

Tipo: booleano (dettagli)
show_predicted_issues_copyvio

Whether to include potential issues of copyvio

Tipo: booleano (dettagli)
showbots

Whether to include only pages created by bots.

Tipo: booleano (dettagli)
showautopatrolled

Whether to show only edits by users with the autopatrol user right.

Tipo: booleano (dettagli)
showredirs

Whether to include redirects.

Tipo: booleano (dettagli)
showothers

Whether to include normal pages that are not redirects nor nominated for deletion.

Tipo: booleano (dettagli)
showreviewed

Whether to include reviewed.

Tipo: booleano (dettagli)
showunreviewed

Whether to include unreviewed.

Tipo: booleano (dettagli)
showdeleted

Whether to include "proposed for deletion".

Tipo: booleano (dettagli)
namespace

What namespace to pull stats from.

Type: integer
afc_state

Which Articles-for-Creation state to get stats for.

Type: integer
no_category

Whether to include only pages with no category.

Tipo: booleano (dettagli)
unreferenced

Whether to include only pages with no references.

Tipo: booleano (dettagli)
no_inbound_links

Whether to include only pages with no inbound links.

Tipo: booleano (dettagli)
recreated

Whether to include only pages that were previously deleted.

Tipo: booleano (dettagli)
non_autoconfirmed_users

Whether to include only pages created by non-autoconfirmed users.

Tipo: booleano (dettagli)
learners

Whether to include only pages created by newly autoconfirmed users.

Tipo: booleano (dettagli)
blocked_users

Whether to include only pages created by blocked users.

Tipo: booleano (dettagli)
username

Includi solo le pagine create dal nome utente.

Tipo: utente, da uno qualsiasi nome utente, IP, Utente temporaneo, Intervallo di IP e interwiki name (e.g. "prefix>ExampleName")
date_range_from

Includi solo le pagine create in questo giorno o successivamente.

Tipo: timestamp (formati consentiti)
date_range_to

Includi solo le pagine create in questo giorno o precedentemente.

Tipo: timestamp (formati consentiti)

action=pagetriagetagcopyvio

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: PageTriage
  • Licenza: MIT

Tag a revision as a likely copyright violation.

The revision is shown on Special:NewPagesFeed. Requires the pagetriage-copyvio right.

Parametri specifici:
Sono disponibili altri parametri generali.
revid

Revision ID to tag as a likely copyright violation

Questo parametro è obbligatorio.
Type: integer
untag

Remove the copyright violation tag

Tipo: booleano (dettagli)
token

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

Questo parametro è obbligatorio.

action=pagetriagetagging

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: PageTriage
  • Licenza: MIT

Aggiunge etichette a una voce.

Parametri specifici:
Sono disponibili altri parametri generali.
pageid

La voce da etichettare.

Questo parametro è obbligatorio.
Type: integer
token

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

Questo parametro è obbligatorio.
wikitext

The wikitext containing the tag added to the article.

Questo parametro è obbligatorio.
deletion

Whether or not the tagging is for a deletion nomination.

Tipo: booleano (dettagli)
note

Nota personale ai creatori della pagina dai revisori.

Predefinito: (vuoto)
taglist

Pipe-separated list of tags.

Questo parametro è obbligatorio.
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).

action=paraminfo

Ottieni informazioni sui moduli API.

Parametri specifici:
Sono disponibili altri parametri generali.
modules

List of module names (values of the action and format parameters, or main). Can specify submodules with a +, or all submodules with +*, or all submodules recursively with +**.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
helpformat

Formato delle stringhe di aiuto.

Uno dei seguenti valori: html, none, raw, wikitext
Predefinito: none
querymodules
Deprecato.

List of query module names (value of prop, meta or list parameter). Use modules=query+foo instead of querymodules=foo.

Valori (separati da | o alternativa): abusefilters, abuselog, allcampaigns, allcategories, alldeletedrevisions, allfileusages, allimages, allinfoboxes, alllinks, allmessages, allpages, allredirects, allrevisions, alltransclusions, allusers, authmanagerinfo, babel, backlinks, betafeatures, blocks, categories, categoryinfo, categorymembers, centralnoticeactivecampaigns, centralnoticelogs, checkuser, checkuserlog, contributors, coordinates, deletedrevisions, deletedrevs, description, duplicatefiles, embeddedin, entityterms, extlinks, extracts, exturlusage, filearchive, filerepoinfo, fileusage, gadgetcategories, gadgets, geosearch, globalallusers, globalblocks, globalgroups, globalpreferences, globalrenamestatus, globaluserinfo, imageinfo, images, imageusage, info, infobox, isreviewed, iwbacklinks, iwlinks, langbacklinks, langlinks, languageinfo, links, linkshere, linterrors, linterstats, logevents, mmcontent, moderationpreload, mystashedfiles, notifications, oath, oredictentry, oredictsearch, pageimages, pagepropnames, pageprops, pageswithprop, pageterms, prefixsearch, protectedtitles, querypage, random, recentchanges, redirects, revisions, search, siteinfo, stashimageinfo, tags, templates, tokens, transcludedin, transcodestatus, unreadnotificationpages, usercontribs, userinfo, users, videoinfo, watchlist, watchlistraw, wbcontentlanguages, wbentityusage, wblistentityusage, wbsearch, wbsubscribers, wikibase, wikiconfig, wikidiscover, wikisets
Maximum number of values is 50 (500 for clients that are allowed higher limits).
mainmodule
Deprecato.

Get information about the main (top-level) module as well. Use modules=main instead.

pagesetmodule
Deprecato.

Get information about the pageset module (providing titles= and friends) as well.

formatmodules
Deprecato.

List of format module names (value of format parameter). Use modules instead.

Valori (separati da | o alternativa): json, jsonfm, none, php, phpfm, rawfm, xml, xmlfm

action=parse

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Parses content and returns parser output.

See the various prop-modules of action=query to get information from the current version of a page.

There are several ways to specify the text to parse:

  1. Specify a page or revision, using page, pageid, or oldid.
  2. Specify content explicitly, using text, title, revid, and contentmodel.
  3. Specify only a summary to parse. prop should be given an empty value.
Parametri specifici:
Sono disponibili altri parametri generali.
title

Title of page the text belongs to. If omitted, contentmodel must be specified, and API will be used as the title.

text

Text to parse. Use title or contentmodel to control the content model.

revid

Revision ID, for {{REVISIONID}} and similar variables.

Type: integer
summary

Oggetto da analizzare.

page

Parse the content of this page. Cannot be used together with text and title.

pageid

Parse the content of this page. Overrides page.

Type: integer
redirects

Se page o pageid è impostato come reindirizzamento, lo risolve.

Tipo: booleano (dettagli)
oldid

Parse the content of this revision. Overrides page and pageid.

Type: integer
prop

Quali informazioni ottenere:

text
Gives the parsed text of the wikitext.
langlinks
Gives the language links in the parsed wikitext.
categories
Gives the categories in the parsed wikitext.
categorieshtml
Gives the HTML version of the categories.
links
Gives the internal links in the parsed wikitext.
templates
Gives the templates in the parsed wikitext.
images
Gives the images in the parsed wikitext.
externallinks
Gives the external links in the parsed wikitext.
sections
Gives the sections in the parsed wikitext.
revid
Adds the revision ID of the parsed page.
displaytitle
Adds the title of the parsed wikitext.
subtitle
Adds the page subtitle for the parsed page.
headhtml
Gives parsed doctype, opening <html>, <head> element and opening <body> of the page.
modules
Gives the ResourceLoader modules used on the page. To load, use mw.loader.using(). Either jsconfigvars or encodedjsconfigvars must be requested jointly with modules.
jsconfigvars
Gives the JavaScript configuration variables specific to the page. To apply, use mw.config.set().
encodedjsconfigvars
Gives the JavaScript configuration variables specific to the page as a JSON string.
indicators
Gives the HTML of page status indicators used on the page.
iwlinks
Gives interwiki links in the parsed wikitext.
wikitext
Gives the original wikitext that was parsed.
properties
Gives various properties defined in the parsed wikitext.
limitreportdata
Gives the limit report in a structured way. Gives no data, when disablelimitreport is set.
limitreporthtml
Gives the HTML version of the limit report. Gives no data, when disablelimitreport is set.
parsetree
The XML parse tree of revision content (requires content model wikitext)
parsewarnings
Gives the warnings that occurred while parsing content (as wikitext).
parsewarningshtml
Gives the warnings that occurred while parsing content (as HTML).
headitems
Deprecato. Gives items to put in the <head> of the page.
Valori (separati da | o alternativa): categories, categorieshtml, displaytitle, encodedjsconfigvars, externallinks, headhtml, images, indicators, iwlinks, jsconfigvars, langlinks, limitreportdata, limitreporthtml, links, modules, parsetree, parsewarnings, parsewarningshtml, properties, revid, sections, subtitle, templates, text, wikitext, headitems
Predefinito: text|langlinks|categories|links|templates|images|externallinks|sections|revid|displaytitle|iwlinks|properties|parsewarnings
wrapoutputclass

CSS class to use to wrap the parser output.

Predefinito: mw-parser-output
usearticle

Use the ArticleParserOptions hook to ensure the options used match those used for article page views

Tipo: booleano (dettagli)
parsoid

Generate HTML conforming to the MediaWiki DOM spec using Parsoid.

Tipo: booleano (dettagli)
pst

Do a pre-save transform on the input before parsing it. Only valid when used with text.

Tipo: booleano (dettagli)
onlypst

Do a pre-save transform (PST) on the input, but don't parse it. Returns the same wikitext, after a PST has been applied. Only valid when used with text.

Tipo: booleano (dettagli)
effectivelanglinks
Deprecato.

Includes language links supplied by extensions (for use with prop=langlinks).

Tipo: booleano (dettagli)
section

Only parse the content of the section with this identifier.

When new, parse text and sectiontitle as if adding a new section to the page.

new is allowed only when specifying text.

sectiontitle

New section title when section is new.

Unlike page editing, this does not fall back to summary when omitted or empty.

disablepp
Deprecato.

Use disablelimitreport instead.

Tipo: booleano (dettagli)
disablelimitreport

Omit the limit report ("NewPP limit report") from the parser output.

Tipo: booleano (dettagli)
disableeditsection

Omit edit section links from the parser output.

Tipo: booleano (dettagli)
disablestylededuplication

Do not deduplicate inline stylesheets in the parser output.

Tipo: booleano (dettagli)
showstrategykeys

Whether to include internal merge strategy information in jsconfigvars.

Tipo: booleano (dettagli)
generatexml
Deprecato.

Generate XML parse tree (requires content model wikitext; replaced by prop=parsetree).

Tipo: booleano (dettagli)
preview

Parse in preview mode.

Tipo: booleano (dettagli)
sectionpreview

Parse in section preview mode (enables preview mode too).

Tipo: booleano (dettagli)
disabletoc

Omit table of contents in output.

Tipo: booleano (dettagli)
useskin

Apply the selected skin to the parser output. May affect the following properties: text, langlinks, headitems, modules, jsconfigvars, indicators.

Uno dei seguenti valori: apioutput, authentication-popup, citizen, cologneblue, fallback, json, minerva, modern, monobook, timeless, vector, vector-2022
contentformat

Content serialization format used for the input text. Only valid when used with text.

Uno dei seguenti valori: application/json, application/octet-stream, application/unknown, application/vnd.php.serialized, application/x-binary, application/xml, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
contentmodel

Content model of the input text. If omitted, title must be specified, and default will be the model of the specified title. Only valid when used with text.

Uno dei seguenti valori: Campaign, GadgetDefinition, GeoJSON, GeoJson, JsonSchema, MassMessageListContent, Scribunto, css, flexdiagrams-bpmn, flexdiagrams-dot, flexdiagrams-drawio, flexdiagrams-gantt, flexdiagrams-mermaid, javascript, json, sanitized-css, text, unknown, wikibase-item, wikibase-property, wikitext
mobileformat

Return parse output in a format suitable for mobile devices.

Tipo: booleano (dettagli)
templatesandboxprefix

Template sandbox prefix, as with Special:TemplateSandbox.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
templatesandboxtitle

Parse the page using templatesandboxtext in place of the contents of the page named here.

templatesandboxtext

Parse the page using this page content in place of the page named by templatesandboxtitle.

templatesandboxcontentmodel

Modello contenuto di templatesandboxtext.

Uno dei seguenti valori: Campaign, GadgetDefinition, GeoJSON, GeoJson, JsonSchema, MassMessageListContent, Scribunto, css, flexdiagrams-bpmn, flexdiagrams-dot, flexdiagrams-drawio, flexdiagrams-gantt, flexdiagrams-mermaid, javascript, json, sanitized-css, text, unknown, wikibase-item, wikibase-property, wikitext
templatesandboxcontentformat

Formato contenuto di templatesandboxtext.

Uno dei seguenti valori: application/json, application/octet-stream, application/unknown, application/vnd.php.serialized, application/x-binary, application/xml, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown

action=patrol

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Verifica una pagina o versione.

Parametri specifici:
Sono disponibili altri parametri generali.
rcid

ID della modifica recente da verificare.

Type: integer
revid

ID versione da verificare.

Type: integer
tags

I tag di modifica da applicare all'elemento del registro delle verifiche.

Valori (separati da | o alternativa):
token

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

Questo parametro è obbligatorio.

action=pfautocomplete

  • Questo modulo richiede i diritti di lettura.
  • Fonte: Page Forms
  • Licenza: GPL-2.0-or-later

Autocompletion used by the Page Forms extension.

Parametri specifici:
Sono disponibili altri parametri generali.
limit

A limit on the number of results returned

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
substr

The substring to autocomplete on

property

A Semantic MediaWiki property whose values will be autocompleted on

category

A category whose pages will be autocompleted on

concept

A Semantic MediaWiki "concept" whose pages will be autocompleted on

wikidata

Search string for getting values from Wikidata

semantic_query

A Semantic MediaWiki query whose results will be autocompleted on

cargo_table

A database table, defined by the Cargo extension, whose values will be autocompleted on

cargo_field

The field of the Cargo table whose values will be autocompleted on

cargo_where

A filter to apply, if the cargo_table and cargo_field parameters are set

namespace

A namespace whose pages will be autocompleted on

external_url

An alias for an external URL from which to get values

baseprop

A previous Semantic MediaWiki property in the form to check against

base_cargo_table

The Cargo table for a previous field in the form to check against

base_cargo_field

The Cargo field for a previous field in the form to check against

basevalue

The value to check for the previous property or field

action=pfautoedit

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Fonte: Page Forms
  • Licenza: GPL-2.0-or-later

Crea o modifica una pagina usando un modulo definito dall'estensione Page Forms.

Parametri specifici:
Sono disponibili altri parametri generali.
form

Il modulo Page Forms da utilizzare

target

Il nome della pagina da creare o modificare

query

La stringa di interrogazione

preload

The name of a page to preload in the form

action=protect

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Modifica il livello di protezione di una pagina.

Parametri specifici:
Sono disponibili altri parametri generali.
title

Titolo della pagina da (s)proteggere. Non può essere usato insieme a pageid.

pageid

ID della pagina da (s)proteggere. Non può essere usato insieme con title.

Type: integer
protections

List of protection levels, formatted action=level (e.g. edit=sysop). A level of all means everyone is allowed to take the action, i.e. no restriction.

Note: Any actions not listed will have restrictions removed.

Questo parametro è obbligatorio.
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
expiry

Expiry timestamps. If only one timestamp is set, it'll be used for all protections. Use infinite, indefinite, infinity, or never, for a never-expiring protection.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Predefinito: infinite
reason

Reason for (un)protecting.

Predefinito: (vuoto)
tags

I tag di modifica da applicare all'elemento del registro delle protezioni.

Valori (separati da | o alternativa):
cascade

Enable cascading protection (i.e. protect transcluded templates and images used in this page). Ignored if none of the given protection levels support cascading.

Tipo: booleano (dettagli)
watch
Deprecato.

If set, add the page being (un)protected to the current user's watchlist.

Tipo: booleano (dettagli)
watchlist

Unconditionally add or remove the page from the current user's watchlist, use preferences (ignored for bot users) or do not change watch.

Uno dei seguenti valori: nochange, preferences, unwatch, watch
Predefinito: preferences
token

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

Questo parametro è obbligatorio.

action=purge

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Pulisce la cache per i titoli indicati.

Parametri specifici:
Sono disponibili altri parametri generali.
forcelinkupdate

Aggiorna la tabella dei collegamenti e fai altri aggiornamenti secondari.

Tipo: booleano (dettagli)
forcerecursivelinkupdate

Come forcelinkupdate, e aggiorna la tabella dei collegamenti per ogni pagina che usa questa pagina come template.

Tipo: booleano (dettagli)
continue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

titles

Un elenco di titoli su cui lavorare.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
pageids

Un elenco di ID pagina su cui lavorare.

Type: list of integers
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
revids

Un elenco di ID versioni su cui lavorare. Tieni presente che quasi tutti i moduli per le interrogazioni convertiranno gli ID versione nell'ID pagina corrispondente e lavoreranno quindi sull'ultima versione. Solo prop=revisions usa le versioni esatte per la sua risposta.

Type: list of integers
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
generator

Get the list of pages to work on by executing the specified query module.

Note: Generator parameter names must be prefixed with a "g", see examples.

allcategories
Enumera tutte le categorie.
alldeletedrevisions
Elenca tutte le versioni cancellate da un utente o in un namespace.
allfileusages
List all file usages, including non-existing.
allimages
Enumerate all images sequentially.
alllinks
Elenca tutti i collegamenti che puntano ad un namespace indicato.
allpages
Enumerate all pages sequentially in a given namespace.
allredirects
List all redirects to a namespace.
allrevisions
Elenco di tutte le versioni.
alltransclusions
Elenca tutte le inclusioni (pagine incorporate utilizzando {{x}}), comprese le non esistenti.
backlinks
Trova tutte le pagine che puntano a quella specificata.
categories
Elenca tutte le categorie a cui appartengono le pagine.
categorymembers
Elenca tutte le pagine in una categoria indicata.
deletedrevisions
Get deleted revision information.
duplicatefiles
List all files that are duplicates of the given files based on hash values.
embeddedin
Trova tutte le pagine che incorporano (transclusione) il titolo specificato.
exturlusage
Enumerate pages that contain a given URL.
fileusage
Trova tutte le pagine che utilizzano il file specificato.
geosearch
Returns pages having coordinates that are located in a certain area.
images
Returns all files contained on the given pages.
imageusage
Trova tutte le pagine che utilizzano il titolo dell'immagine specificato.
iwbacklinks
Find all pages that link to the given interwiki link.
langbacklinks
Find all pages that link to the given language link.
links
Returns all links from the given pages.
linkshere
Trova tutte le pagine che puntano a quelle specificate.
pageswithprop
List all pages using a given page property.
prefixsearch
Perform a prefix search for page titles.
protectedtitles
Elenca tutti i titoli protetti dalla creazione.
querypage
Get a list provided by a QueryPage-based special page.
random
Get a set of random pages.
recentchanges
Elenca le modifiche recenti.
redirects
Restituisce tutti i reindirizzamenti alla data indicata.
revisions
Get revision information.
search
Eseguire una ricerca di testo completa.
templates
Returns all pages transcluded on the given pages.
transcludedin
Trova tutte le pagine che incorporano quella specificata.
watchlist
Ottieni le ultime modifiche alle pagine tra gli osservati speciali dell'utente attuale.
watchlistraw
Get all pages on the current user's watchlist.
wblistentityusage
Restituisce tutte le pagine che utilizzano gli ID entità indicati.
wbsearch
Internal. Searches for entities using labels and aliases.
Uno dei seguenti valori: allcategories, alldeletedrevisions, allfileusages, allimages, alllinks, allpages, allredirects, allrevisions, alltransclusions, backlinks, categories, categorymembers, deletedrevisions, duplicatefiles, embeddedin, exturlusage, fileusage, geosearch, images, imageusage, iwbacklinks, langbacklinks, links, linkshere, pageswithprop, prefixsearch, protectedtitles, querypage, random, recentchanges, redirects, revisions, search, templates, transcludedin, watchlist, watchlistraw, wblistentityusage, wbsearch
redirects

Risolvi automaticamente redirect in titles, pageids, e revids, e nelle pagine restituite da generator.

Tipo: booleano (dettagli)
converttitles

Converte i titoli in altre varianti, se necessario. Funziona solo se la lingua del contenuto del wiki supporta la conversione in varianti. Le lingue che supportano la conversione in varianti includono ban, en, crh, gan, iu, ku, mni, sh, shi, sr, tg, tly, uz, wuu, zgh e zh

Tipo: booleano (dettagli)

action=query

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Fetch data from and about MediaWiki.

All data modifications will first have to use query to acquire a token to prevent abuse from malicious sites.

Parametri specifici:
Sono disponibili altri parametri generali.
prop

Which properties to get for the queried pages.

categories
Elenca tutte le categorie a cui appartengono le pagine.
categoryinfo
Restituisce informazioni su una categoria indicata.
contributors
Get the list of logged-in contributors and the count of logged-out contributors to a page.
coordinates
Returns coordinates of the given pages.
deletedrevisions
Get deleted revision information.
duplicatefiles
List all files that are duplicates of the given files based on hash values.
entityterms
Get the terms (labels, descriptions and aliases) of the entity on this page.
extlinks
Returns all external URLs (not interwikis) from the given pages.
extracts
Returns plain-text or limited HTML extracts of the given pages.
fileusage
Trova tutte le pagine che utilizzano il file specificato.
imageinfo
Restituisce informazione sul file sulla cronologia di caricamento.
images
Returns all files contained on the given pages.
info
Ottieni informazioni base sulla pagina.
infobox
Get infobox metadata
isreviewed
Determine if a page is marked as reviewed.
iwlinks
Restituisce tutti i collegamenti interwiki dalle pagine indicate.
langlinks
Returns all interlanguage links from the given pages.
links
Returns all links from the given pages.
linkshere
Trova tutte le pagine che puntano a quelle specificate.
mmcontent
Get the description and targets of a spamlist
moderationpreload
If the current user made an edit which is currently awaiting moderation, retrieve the text of this revision.
oredictentry
Get OreDict entry data.
pageimages
Fornisce informazioni sulle immagini nella pagina, ad esempio le anteprime e la presenza di foto.
pageprops
Get various page properties defined in the page content.
pageterms
Ottieni i termini Wikicord (tipicamente etichette, descrizioni e alias) associati a una pagina tramite un collegamento al sito.
redirects
Restituisce tutti i reindirizzamenti alla data indicata.
revisions
Get revision information.
stashimageinfo
Returns file information for stashed files.
templates
Returns all pages transcluded on the given pages.
transcludedin
Trova tutte le pagine che incorporano quella specificata.
transcodestatus
Get transcode status for a given file page.
videoinfo
Extends imageinfo to include video source (derivatives) information
wbentityusage
Returns all entity IDs used in the given pages.
description
Internal. Get a short description a.k.a. subtitle explaining what the target page is about.
Valori (separati da | o alternativa): categories, categoryinfo, contributors, coordinates, deletedrevisions, duplicatefiles, entityterms, extlinks, extracts, fileusage, imageinfo, images, info, infobox, isreviewed, iwlinks, langlinks, links, linkshere, mmcontent, moderationpreload, oredictentry, pageimages, pageprops, pageterms, redirects, revisions, stashimageinfo, templates, transcludedin, transcodestatus, videoinfo, wbentityusage, description
list

Quali elenchi ottenere.

abusefilters
Mostra dettagli sui filtri anti abusi.
abuselog
Mostra eventi che hanno attivate un filtro anti abusi.
allcampaigns
Enumerate all UploadWizard campaigns.
allcategories
Enumera tutte le categorie.
alldeletedrevisions
Elenca tutte le versioni cancellate da un utente o in un namespace.
allfileusages
List all file usages, including non-existing.
allimages
Enumerate all images sequentially.
allinfoboxes
List all infoboxes
alllinks
Elenca tutti i collegamenti che puntano ad un namespace indicato.
allpages
Enumerate all pages sequentially in a given namespace.
allredirects
List all redirects to a namespace.
allrevisions
Elenco di tutte le versioni.
alltransclusions
Elenca tutte le inclusioni (pagine incorporate utilizzando {{x}}), comprese le non esistenti.
allusers
Enumerate all registered users.
backlinks
Trova tutte le pagine che puntano a quella specificata.
betafeatures
Elenca tutte le funzionalità sperimentali
blocks
List all blocked users and IP addresses.
categorymembers
Elenca tutte le pagine in una categoria indicata.
centralnoticeactivecampaigns
Get a list of currently active campaigns with start and end dates and associated banners.
centralnoticelogs
Get a log of campaign configuration changes.
checkuser
Controlla quali indirizzi IP vengono usati da un determinato nome utente o quali nomi utente vengono usati da un dato indirizzo IP.
checkuserlog
Ottieni i risultati dal registro CheckUser.
embeddedin
Trova tutte le pagine che incorporano (transclusione) il titolo specificato.
exturlusage
Enumerate pages that contain a given URL.
filearchive
Enumerate all deleted files sequentially.
gadgetcategories
Restituisce un elenco di categorie di accessori.
gadgets
Returns a list of gadgets used on this wiki.
geosearch
Returns pages having coordinates that are located in a certain area.
globalallusers
Enumerate all global users.
globalblocks
Elenca tutti gli indirizzi IP bloccati globalmente
globalgroups
Enumerate all global groups.
imageusage
Trova tutte le pagine che utilizzano il titolo dell'immagine specificato.
iwbacklinks
Find all pages that link to the given interwiki link.
langbacklinks
Find all pages that link to the given language link.
linterrors
Ottieni lista di errori di Lint
logevents
Get events from logs.
mystashedfiles
Get a list of files in the current user's upload stash.
oredictsearch
Searches for OreDict entries that meet specific criteria defined by the optional parameters.
pagepropnames
List all page property names in use on the wiki.
pageswithprop
List all pages using a given page property.
prefixsearch
Perform a prefix search for page titles.
protectedtitles
Elenca tutti i titoli protetti dalla creazione.
querypage
Get a list provided by a QueryPage-based special page.
random
Get a set of random pages.
recentchanges
Elenca le modifiche recenti.
search
Eseguire una ricerca di testo completa.
tags
List change tags.
usercontribs
Get all edits by a user.
users
Ottieni informazioni su un elenco di utenti.
watchlist
Ottieni le ultime modifiche alle pagine tra gli osservati speciali dell'utente attuale.
watchlistraw
Get all pages on the current user's watchlist.
wblistentityusage
Restituisce tutte le pagine che utilizzano gli ID entità indicati.
wbsubscribers
Get subscriptions to given entities.
wikiconfig
Vedere nome sito, inattivo, inattivo-esentato, chiuso, privato, estensioni, specifiche e permessi per la Wiki specificata.
wikidiscover
Ottieni una lista di wiki su una wikifarm CreateWiki.
wikisets
Enumerate all wiki sets.
deletedrevs
Deprecato. List deleted revisions.
wbsearch
Internal. Searches for entities using labels and aliases.
Valori (separati da | o alternativa): abusefilters, abuselog, allcampaigns, allcategories, alldeletedrevisions, allfileusages, allimages, allinfoboxes, alllinks, allpages, allredirects, allrevisions, alltransclusions, allusers, backlinks, betafeatures, blocks, categorymembers, centralnoticeactivecampaigns, centralnoticelogs, checkuser, checkuserlog, embeddedin, exturlusage, filearchive, gadgetcategories, gadgets, geosearch, globalallusers, globalblocks, globalgroups, imageusage, iwbacklinks, langbacklinks, linterrors, logevents, mystashedfiles, oredictsearch, pagepropnames, pageswithprop, prefixsearch, protectedtitles, querypage, random, recentchanges, search, tags, usercontribs, users, watchlist, watchlistraw, wblistentityusage, wbsubscribers, wikiconfig, wikidiscover, wikisets, deletedrevs, wbsearch
Maximum number of values is 50 (500 for clients that are allowed higher limits).
meta

Quali metadati ottenere.

allmessages
Restituisce messaggi da questo sito.
authmanagerinfo
Recupera informazioni circa l'attuale stato di autenticazione.
babel
Ottieni informazioni su quali lingue l'utente conosce
filerepoinfo
Return meta information about image repositories configured on the wiki.
globalpreferences
Retrieve global preferences for the current user.
globalrenamestatus
Mostra le informazioni sulle ridenominazioni globali in corso.
globaluserinfo
Show information about a global user.
languageinfo
Restituisce informazioni sulle lingue disponibili.
linterstats
Ottieni il numero di errori di Lint in ciascuna categoria
notifications
Ottieni le notifiche in attesa per l'utente attuale.
siteinfo
Return general information about the site.
tokens
Gets tokens for data-modifying actions.
unreadnotificationpages
Ottieni le pagine per le quali ci sono notifiche non lette per l'utente attuale.
userinfo
Ottieni informazioni sull'utente attuale.
wbcontentlanguages
Returns information about the content languages Wikibase accepts in different contexts.
wikibase
Get information about the Wikibase client and the associated Wikibase repository.
oath
Internal. Check to see if two-factor authentication (OATH) is enabled for a user.
Valori (separati da | o alternativa): allmessages, authmanagerinfo, babel, filerepoinfo, globalpreferences, globalrenamestatus, globaluserinfo, languageinfo, linterstats, notifications, siteinfo, tokens, unreadnotificationpages, userinfo, wbcontentlanguages, wikibase, oath
indexpageids

Include an additional pageids section listing all returned page IDs.

Tipo: booleano (dettagli)
export

Esporta la versione attuale di tutte le pagine ottenute o generate.

Tipo: booleano (dettagli)
exportnowrap

Return the export XML without wrapping it in an XML result (same format as Special:Export). Can only be used with query+export.

Tipo: booleano (dettagli)
exportschema

Target the given version of the XML dump format when exporting. Can only be used with query+export.

Uno dei seguenti valori: 0.10, 0.11
Predefinito: 0.11
iwurl

Whether to get the full URL if the title is an interwiki link.

Tipo: booleano (dettagli)
continue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

rawcontinue

Return raw query-continue data for continuation.

Tipo: booleano (dettagli)
titles

Un elenco di titoli su cui lavorare.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
pageids

Un elenco di ID pagina su cui lavorare.

Type: list of integers
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
revids

Un elenco di ID versioni su cui lavorare. Tieni presente che quasi tutti i moduli per le interrogazioni convertiranno gli ID versione nell'ID pagina corrispondente e lavoreranno quindi sull'ultima versione. Solo prop=revisions usa le versioni esatte per la sua risposta.

Type: list of integers
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
generator

Get the list of pages to work on by executing the specified query module.

Note: Generator parameter names must be prefixed with a "g", see examples.

allcategories
Enumera tutte le categorie.
alldeletedrevisions
Elenca tutte le versioni cancellate da un utente o in un namespace.
allfileusages
List all file usages, including non-existing.
allimages
Enumerate all images sequentially.
alllinks
Elenca tutti i collegamenti che puntano ad un namespace indicato.
allpages
Enumerate all pages sequentially in a given namespace.
allredirects
List all redirects to a namespace.
allrevisions
Elenco di tutte le versioni.
alltransclusions
Elenca tutte le inclusioni (pagine incorporate utilizzando {{x}}), comprese le non esistenti.
backlinks
Trova tutte le pagine che puntano a quella specificata.
categories
Elenca tutte le categorie a cui appartengono le pagine.
categorymembers
Elenca tutte le pagine in una categoria indicata.
deletedrevisions
Get deleted revision information.
duplicatefiles
List all files that are duplicates of the given files based on hash values.
embeddedin
Trova tutte le pagine che incorporano (transclusione) il titolo specificato.
exturlusage
Enumerate pages that contain a given URL.
fileusage
Trova tutte le pagine che utilizzano il file specificato.
geosearch
Returns pages having coordinates that are located in a certain area.
images
Returns all files contained on the given pages.
imageusage
Trova tutte le pagine che utilizzano il titolo dell'immagine specificato.
iwbacklinks
Find all pages that link to the given interwiki link.
langbacklinks
Find all pages that link to the given language link.
links
Returns all links from the given pages.
linkshere
Trova tutte le pagine che puntano a quelle specificate.
pageswithprop
List all pages using a given page property.
prefixsearch
Perform a prefix search for page titles.
protectedtitles
Elenca tutti i titoli protetti dalla creazione.
querypage
Get a list provided by a QueryPage-based special page.
random
Get a set of random pages.
recentchanges
Elenca le modifiche recenti.
redirects
Restituisce tutti i reindirizzamenti alla data indicata.
revisions
Get revision information.
search
Eseguire una ricerca di testo completa.
templates
Returns all pages transcluded on the given pages.
transcludedin
Trova tutte le pagine che incorporano quella specificata.
watchlist
Ottieni le ultime modifiche alle pagine tra gli osservati speciali dell'utente attuale.
watchlistraw
Get all pages on the current user's watchlist.
wblistentityusage
Restituisce tutte le pagine che utilizzano gli ID entità indicati.
wbsearch
Internal. Searches for entities using labels and aliases.
Uno dei seguenti valori: allcategories, alldeletedrevisions, allfileusages, allimages, alllinks, allpages, allredirects, allrevisions, alltransclusions, backlinks, categories, categorymembers, deletedrevisions, duplicatefiles, embeddedin, exturlusage, fileusage, geosearch, images, imageusage, iwbacklinks, langbacklinks, links, linkshere, pageswithprop, prefixsearch, protectedtitles, querypage, random, recentchanges, redirects, revisions, search, templates, transcludedin, watchlist, watchlistraw, wblistentityusage, wbsearch
redirects

Risolvi automaticamente redirect in query+titles, query+pageids, e query+revids, e nelle pagine restituite da query+generator.

Tipo: booleano (dettagli)
converttitles

Converte i titoli in altre varianti, se necessario. Funziona solo se la lingua del contenuto del wiki supporta la conversione in varianti. Le lingue che supportano la conversione in varianti includono ban, en, crh, gan, iu, ku, mni, sh, shi, sr, tg, tly, uz, wuu, zgh e zh

Tipo: booleano (dettagli)

prop=categories (cl)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Elenca tutte le categorie a cui appartengono le pagine.

Parametri specifici:
Sono disponibili altri parametri generali.
clprop

Quali proprietà aggiuntive ottenere per ogni categoria.

sortkey
Adds the sortkey (hexadecimal string) and sortkey prefix (human-readable part) for the category.
timestamp
Adds timestamp of when the category was added.
hidden
Tags categories that are hidden with __HIDDENCAT__.
Valori (separati da | o alternativa): hidden, sortkey, timestamp
clshow

Quale tipo di categorie mostrare.

Valori (separati da | o alternativa): !hidden, hidden
cllimit

Quante categorie restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
clcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

clcategories

Only list these categories. Useful for checking whether a certain page is in a certain category.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
cldir

La direzione in cui elencare.

Uno dei seguenti valori: ascending, descending
Predefinito: ascending
Esempi:
Get a list of categories the page Albert Einstein belongs to.
api.php?action=query&prop=categories&titles=Albert%20Einstein [apri in una sandbox]
Get information about all categories used in the page Albert Einstein.
api.php?action=query&generator=categories&titles=Albert%20Einstein&prop=info [apri in una sandbox]

prop=categoryinfo (ci)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Restituisce informazioni su una categoria indicata.

Parametro specifico:
Sono disponibili altri parametri generali.
cicontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

prop=contributors (pc)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Get the list of logged-in contributors and the count of logged-out contributors to a page.

Parametri specifici:
Sono disponibili altri parametri generali.
pcgroup

Only include users in the given groups. Does not include implicit or auto-promoted groups like *, user, or autoconfirmed.

Valori (separati da | o alternativa): automoderated, autopatrolled, autoreview, blockedfromchat, bot, bureaucrat, chatmod, checkuser, checkuser-temporary-account-viewer, commentadmin, confirmed, copyviobot, editor, interface-admin, member, moderator, push-subscription-manager, reviewer, rollbacker, staff, steward, suppress, sysop, upwizcampeditors
pcexcludegroup

Exclude users in the given groups. Does not include implicit or auto-promoted groups like *, user, or autoconfirmed.

Valori (separati da | o alternativa): automoderated, autopatrolled, autoreview, blockedfromchat, bot, bureaucrat, chatmod, checkuser, checkuser-temporary-account-viewer, commentadmin, confirmed, copyviobot, editor, interface-admin, member, moderator, push-subscription-manager, reviewer, rollbacker, staff, steward, suppress, sysop, upwizcampeditors
pcrights

Only include users having the given rights. Does not include rights granted by implicit or auto-promoted groups like *, user, or autoconfirmed.

Valori (separati da | o alternativa): abusefilter-access-protected-vars, abusefilter-bypass-blocked-external-domains, abusefilter-hidden-log, abusefilter-hide-log, abusefilter-log, abusefilter-log-detail, abusefilter-log-private, abusefilter-modify, abusefilter-modify-blocked-external-domains, abusefilter-modify-global, abusefilter-modify-restricted, abusefilter-privatedetails, abusefilter-privatedetails-log, abusefilter-protected-vars-log, abusefilter-revert, abusefilter-view, abusefilter-view-private, addvideo, adminlinks, apihighlimits, applychangetags, approverevisions, autoconfirmed, autocreateaccount, autopatrol, avatarremove, awardsmanage, bigdelete, block, blockemail, bot, browsearchive, centralauth-createlocal, centralauth-lock, centralauth-merge, centralauth-rename, centralauth-suppress, centralauth-unmerge, centralnotice-admin, cfcachepurge, changetags, chat, checkuser, checkuser-log, checkuser-temporary-account, checkuser-temporary-account-log, checkuser-temporary-account-no-preference, comment, comment-delete-own, commentadmin, commentlinks, createaccount, createclass, createpage, createtalk, createwiki, createwiki-deleterequest, createwiki-suppressionlog, createwiki-suppressrequest, datatransferimport, delete, delete-dump, delete-redirect, deletechangetags, deletedhistory, deletedtext, deletelogentry, deleterevision, dpl_param_delete_rules, dpl_param_update_rules, echo-create, edit, editcontentmodel, editinterface, editmyoptions, editmyprivateinfo, editmyusercss, editmyuserjs, editmyuserjson, editmyuserjsredirect, editmywatchlist, editoredict, editothersprofiles, editothersprofiles-private, editprotected, editrestrictedfields, editsemiprotected, editsitecss, editsitejs, editsitejson, edittilesheets, editusercss, edituserjs, edituserjson, embed_pdf, generate-dump, generate-random-hash, generatepages, giftadmin, globalblock, globalblock-exempt, globalblock-whitelist, globalgroupmembership, globalgrouppermissions, handle-import-request-interwiki, handle-import-requests, handle-pii, handle-reports, hideuser, import, importoredict, importtilesheets, importupload, interwiki, ipblock-exempt, item-merge, item-redirect, item-term, manage-all-push-subscriptions, managechangetags, managewiki-core, managewiki-editdefault, managewiki-extensions, managewiki-namespaces, managewiki-permissions, managewiki-restricted, managewiki-settings, markbotedits, mass-upload, masseditregex, massmessage, mergehistory, minoredit, mintydocs-administer, mintydocs-edit, mintydocs-editlive, modchat, moderation, move, move-categorypages, move-rootuserpages, move-subpages, movefile, multipageedit, mwoauthmanageconsumer, mwoauthmanagemygrants, mwoauthproposeconsumer, mwoauthsuppress, mwoauthupdateownconsumer, mwoauthviewprivate, mwoauthviewsuppressed, nominornewtalk, noratelimit, nuke, oathauth-api-all, oathauth-disable-for-user, oathauth-enable, oathauth-verify-user, oathauth-view-log, override-antispoof, override-export-depth, pagelang, pagetriage-copyvio, patrol, patrolmarks, populate-user-profiles, property-create, property-term, protect, protectsite, read, renameuser, report, request-import, requestwiki, reupload, reupload-own, reupload-shared, rollback, sboverride, sendemail, siteadmin, skip-moderation, skip-move-moderation, skipcaptcha, spamblacklistlog, suppressionlog, suppressredirect, suppressrevision, tboverride, tboverride-account, titleblacklistlog, torunblocked, transcode-reset, transcode-status, unblockself, undelete, unwatchedpages, upload, upload_by_url, upwizcampaigns, urlshortener-create-url, urlshortener-manage-url, urlshortener-view-log, userrights, userrights-interwiki, view-dump, view-private-import-requests, viewapprover, viewedittab, viewlinktolatest, viewmyprivateinfo, viewmywatchlist, viewpmlog, viewsuppressed, webchat
Maximum number of values is 50 (500 for clients that are allowed higher limits).
pcexcluderights

Exclude users having the given rights. Does not include rights granted by implicit or auto-promoted groups like *, user, or autoconfirmed.

Valori (separati da | o alternativa): abusefilter-access-protected-vars, abusefilter-bypass-blocked-external-domains, abusefilter-hidden-log, abusefilter-hide-log, abusefilter-log, abusefilter-log-detail, abusefilter-log-private, abusefilter-modify, abusefilter-modify-blocked-external-domains, abusefilter-modify-global, abusefilter-modify-restricted, abusefilter-privatedetails, abusefilter-privatedetails-log, abusefilter-protected-vars-log, abusefilter-revert, abusefilter-view, abusefilter-view-private, addvideo, adminlinks, apihighlimits, applychangetags, approverevisions, autoconfirmed, autocreateaccount, autopatrol, avatarremove, awardsmanage, bigdelete, block, blockemail, bot, browsearchive, centralauth-createlocal, centralauth-lock, centralauth-merge, centralauth-rename, centralauth-suppress, centralauth-unmerge, centralnotice-admin, cfcachepurge, changetags, chat, checkuser, checkuser-log, checkuser-temporary-account, checkuser-temporary-account-log, checkuser-temporary-account-no-preference, comment, comment-delete-own, commentadmin, commentlinks, createaccount, createclass, createpage, createtalk, createwiki, createwiki-deleterequest, createwiki-suppressionlog, createwiki-suppressrequest, datatransferimport, delete, delete-dump, delete-redirect, deletechangetags, deletedhistory, deletedtext, deletelogentry, deleterevision, dpl_param_delete_rules, dpl_param_update_rules, echo-create, edit, editcontentmodel, editinterface, editmyoptions, editmyprivateinfo, editmyusercss, editmyuserjs, editmyuserjson, editmyuserjsredirect, editmywatchlist, editoredict, editothersprofiles, editothersprofiles-private, editprotected, editrestrictedfields, editsemiprotected, editsitecss, editsitejs, editsitejson, edittilesheets, editusercss, edituserjs, edituserjson, embed_pdf, generate-dump, generate-random-hash, generatepages, giftadmin, globalblock, globalblock-exempt, globalblock-whitelist, globalgroupmembership, globalgrouppermissions, handle-import-request-interwiki, handle-import-requests, handle-pii, handle-reports, hideuser, import, importoredict, importtilesheets, importupload, interwiki, ipblock-exempt, item-merge, item-redirect, item-term, manage-all-push-subscriptions, managechangetags, managewiki-core, managewiki-editdefault, managewiki-extensions, managewiki-namespaces, managewiki-permissions, managewiki-restricted, managewiki-settings, markbotedits, mass-upload, masseditregex, massmessage, mergehistory, minoredit, mintydocs-administer, mintydocs-edit, mintydocs-editlive, modchat, moderation, move, move-categorypages, move-rootuserpages, move-subpages, movefile, multipageedit, mwoauthmanageconsumer, mwoauthmanagemygrants, mwoauthproposeconsumer, mwoauthsuppress, mwoauthupdateownconsumer, mwoauthviewprivate, mwoauthviewsuppressed, nominornewtalk, noratelimit, nuke, oathauth-api-all, oathauth-disable-for-user, oathauth-enable, oathauth-verify-user, oathauth-view-log, override-antispoof, override-export-depth, pagelang, pagetriage-copyvio, patrol, patrolmarks, populate-user-profiles, property-create, property-term, protect, protectsite, read, renameuser, report, request-import, requestwiki, reupload, reupload-own, reupload-shared, rollback, sboverride, sendemail, siteadmin, skip-moderation, skip-move-moderation, skipcaptcha, spamblacklistlog, suppressionlog, suppressredirect, suppressrevision, tboverride, tboverride-account, titleblacklistlog, torunblocked, transcode-reset, transcode-status, unblockself, undelete, unwatchedpages, upload, upload_by_url, upwizcampaigns, urlshortener-create-url, urlshortener-manage-url, urlshortener-view-log, userrights, userrights-interwiki, view-dump, view-private-import-requests, viewapprover, viewedittab, viewlinktolatest, viewmyprivateinfo, viewmywatchlist, viewpmlog, viewsuppressed, webchat
Maximum number of values is 50 (500 for clients that are allowed higher limits).
pclimit

Quanti contributi restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
pccontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

prop=coordinates (co)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: GeoData
  • Licenza: WTFPL

Returns coordinates of the given pages.

Parametri specifici:
Sono disponibili altri parametri generali.
colimit

Quante coordinate restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
cocontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

coprop

Quali proprietà addizionali delle coordinate restituire. (Proprietà sempre restituite: lat, lon, e primary o secondary come flag booleano.)

type
Type of the object the coordinates point to. See mw:Special:MyLanguage/Extension:GeoData for details.
name
Nome dell'oggetto.
dim
Dimensioni approssimative dell'oggetto in metri.
country
ISO 3166-1 alpha-2 country code (e.g. US or RU).
region
ISO 3166-2 region code (the part of the ISO 3166-2 code after the dash; e.g. FL or MOS).
globe
Which terrestrial body the coordinates are relative to (e.g. moon or pluto). Defaults to Earth. See mw:Special:MyLanguage/Extension:GeoData for details.
Valori (separati da | o alternativa): country, dim, globe, name, region, type
Predefinito: globe
coprimary

Che tipo di coordinate restituire.

primary
The location of the subject of the article. There is at most one primary coordinate per title.
secondary
The location of some object that's mentioned in the article. Any number of secondary coordinates can be associated with a title.
all
Return both primary and secondary coordinates.
Uno dei seguenti valori: all, primary, secondary
Predefinito: primary
codistancefrompoint

Ritorna la distanza in metri dalle coordinate geografiche di ogni risultato valido dalle coordinate indicate.

Formato: latitudine e longitudine separati da una barra verticale (|).

codistancefrompage

Ritorna la distanza in metri dalle coordinate geografiche di ogni risultato valido dalle coordinate di questa pagina.

prop=deletedrevisions (drv)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Get deleted revision information.

May be used in several ways:

  1. Get deleted revisions for a set of pages, by setting titles or pageids. Ordered by title and timestamp.
  2. Get data about a set of deleted revisions by setting their IDs with revids. Ordered by revision ID.
Parametri specifici:
Sono disponibili altri parametri generali.
drvprop

Which properties to get for each revision:

ids
L'ID della versione.
flags
Revision flags (minor).
timestamp
Il timestamp della versione.
user
Utente che ha effettuato la versione. Se l'utente è stato cancellato dalla versione, sarà restituita una proprietà userhidden.
userid
ID utente dell'autore della versione. Se l'utente è stato cancellato dalla versione, sarà restituita una proprietà userhidden.
size
Length (bytes) of the revision.
slotsize
Length (bytes) of each revision slot.
sha1
SHA-1 (base 16) of the revision. If the content has been revision deleted, a sha1hidden property will be returned.
slotsha1
SHA-1 (base 16) of each revision slot. If the content has been revision deleted, a sha1hidden property will be returned.
contentmodel
Content model ID of each revision slot.
comment
Comment by the user for the revision. If the comment has been revision deleted, a commenthidden property will be returned.
parsedcomment
Parsed comment by the user for the revision. If the comment has been revision deleted, a commenthidden property will be returned.
content
Contenuto di ogni slot di versione. Se il contenuto è stato cancellato dalla versione, sarà restituita una proprietà texthidden. Per motivi di prestazioni, se viene utilizzata questa opzione, drvlimit viene applicato a 50.
tags
Etichette della versione.
roles
List content slot roles that exist in the revision.
parsetree
Deprecato. Use action=expandtemplates or action=parse instead. The XML parse tree of revision content (requires content model wikitext). For performance reasons, if this option is used, drvlimit is enforced to 50.
Valori (separati da | o alternativa): comment, content, contentmodel, flags, ids, parsedcomment, roles, sha1, size, slotsha1, slotsize, tags, timestamp, user, userid, parsetree
Predefinito: ids|timestamp|flags|comment|user
drvslots

Which revision slots to return data for, when slot-related properties are included in drvprops. If omitted, data from the main slot will be returned in a backwards-compatible format.

Valori (separati da | o alternativa): main
Per specificare tutti i valori, utilizza *.
drvcontentformat-{slot}

Content serialization format used for output of content.

This is a templated parameter. When making the request, {slot} in the parameter's name should be replaced with values of drvslots.
Uno dei seguenti valori: application/json, application/octet-stream, application/unknown, application/vnd.php.serialized, application/x-binary, application/xml, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
drvlimit

Limit how many revisions will be returned. If drvprop=content, drvprop=parsetree, drvdiffto or drvdifftotext is used, the limit is 50. If drvparse is used, the limit is 1.

Tipo: intero o max
The value must be between 1 and 500.
drvexpandtemplates
Deprecato.

Use action=expandtemplates instead. Expand templates in revision content (requires drvprop=content).

Tipo: booleano (dettagli)
drvgeneratexml
Deprecato.

Use action=expandtemplates or action=parse instead. Generate XML parse tree for revision content (requires drvprop=content).

Tipo: booleano (dettagli)
drvparse
Deprecato.

Use action=parse instead. Parse revision content (requires drvprop=content). For performance reasons, if this option is used, drvlimit is enforced to 1.

Tipo: booleano (dettagli)
drvsection

Only retrieve the content of the section with this identifier.

drvdiffto
Deprecato.

Use action=compare instead. Revision ID to diff each revision to. Use prev, next and cur for the previous, next and current revision respectively. For performance reasons, if this option is used, drvlimit is enforced to 50.

drvdifftotext
Deprecato.

Use action=compare instead. Text to diff each revision to. Only diffs a limited number of revisions. Overrides drvdiffto. If drvsection is set, only that section will be diffed against this text. For performance reasons, if this option is used, drvlimit is enforced to 50.

drvdifftotextpst
Deprecato.

Use action=compare instead. Perform a pre-save transform on the text before diffing it. Only valid when used with drvdifftotext.

Tipo: booleano (dettagli)
drvcontentformat
Deprecato.

Serialization format used for drvdifftotext and expected for output of content.

Uno dei seguenti valori: application/json, application/octet-stream, application/unknown, application/vnd.php.serialized, application/x-binary, application/xml, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
drvstart

Il timestamp da cui iniziare l'elenco. Ignorato quando si elabora un elenco di ID versioni.

Tipo: timestamp (formati consentiti)
drvend

Il timestamp al quale interrompere l'elenco. Ignorato quando si elabora un elenco di ID versioni.

Tipo: timestamp (formati consentiti)
drvdir

In which direction to enumerate:

newer
List oldest first. Note: drvstart has to be before drvend.
older
List newest first (default). Note: drvstart has to be later than drvend.
Uno dei seguenti valori: newer, older
Predefinito: older
drvtag

Elenca solo le versioni etichettate con questa etichetta.

drvuser

Elenca solo le versioni di questo utente.

Tipo: utente, da uno qualsiasi nome utente, IP, Utente temporaneo, interwiki name (e.g. "prefix>ExampleName") e ID utente (ad esempio "#12345")
drvexcludeuser

Non elencare le versioni di questo utente.

Tipo: utente, da uno qualsiasi nome utente, IP, Utente temporaneo, interwiki name (e.g. "prefix>ExampleName") e ID utente (ad esempio "#12345")
drvcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

Esempi:
Elenca le informazioni per la versione cancellata 123456.
api.php?action=query&prop=deletedrevisions&revids=123456 [apri in una sandbox]
Elenca le versioni cancellate della pagina Home e della sua pagina di discussione, con il contenuto.
api.php?action=query&prop=deletedrevisions&titles=Home|Discussione%3AHome&drvslots=*&drvprop=user|comment|content [apri in una sandbox]

prop=description (desc)

  • Questo modulo è interno o instabile e non dovresti usarlo. Il suo funzionamento potrebbe variare senza preavviso.
  • Questo modulo richiede i diritti di lettura.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Get a short description a.k.a. subtitle explaining what the target page is about.

The description is plain text, on a single line, but otherwise arbitrary (potentially including raw HTML tags, which also should be interpreted as plain text). It must not be used in HTML unescaped!

Parametri specifici:
Sono disponibili altri parametri generali.
desccontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

Type: integer
Predefinito: 0
descprefersource

Which description source to prefer if present:

local
Descrizioni locali tramite la parser function {{SHORTDESC:...}} nel wikitesto della pagina.
central
Central descriptions from the associated Wikicord item.
Uno dei seguenti valori: central, local
Predefinito: local
Esempi:
Ottieni la descrizione per la pagina 'London'.
api.php?action=query&prop=description&titles=London [apri in una sandbox]
Get the description for the page 'London', preferring the central description if it exists.
api.php?action=query&prop=description&titles=London&descprefersource=central [apri in una sandbox]

prop=duplicatefiles (df)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

List all files that are duplicates of the given files based on hash values.

Parametri specifici:
Sono disponibili altri parametri generali.
dflimit

Quanti file duplicati restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
dfcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

dfdir

La direzione in cui elencare.

Uno dei seguenti valori: ascending, descending
Predefinito: ascending
dflocalonly

Look only for files in the local repository.

Tipo: booleano (dettagli)

prop=entityterms (wbet)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Get the terms (labels, descriptions and aliases) of the entity on this page.

Parametri specifici:
Sono disponibili altri parametri generali.
wbetcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

Type: integer
wbetlanguage

The language code to get terms in. If not specified, the user language is used.

Uno dei seguenti valori: aa, aae, ab, abs, ace, acf, acm, ady, ady-cyrl, aeb, aeb-arab, aeb-latn, af, agq, aln, als, alt, am, ami, an, ang, ann, anp, apc, ar, arc, arn, arq, ary, arz, as, ase, ast, atj, av, avk, awa, ay, az, azb, ba, bag, ban, ban-bali, bar, bas, bat-smg, bax, bbc, bbc-latn, bbj, bcc, bci, bcl, bdr, be, be-tarask, be-x-old, bew, bfd, bg, bgc, bgn, bh, bho, bi, bjn, bkc, bkh, bkm, blk, bm, bn, bo, bpy, bqi, bqz, br, brh, bs, btm, bto, bug, bxr, byv, ca, cak, cal, cbk-zam, ccp, cdo, ce, ceb, ch, chn, cho, chr, chy, ckb, cnh, co, cps, cpx, cpx-hans, cpx-hant, cpx-latn, cr, crh, crh-cyrl, crh-latn, crh-ro, cs, csb, cu, cv, cy, da, dag, de, de-at, de-ch, de-formal, dga, din, diq, dsb, dtp, dty, dua, dv, dz, ee, efi, egl, el, eml, en, en-ca, en-gb, en-us, eo, es, es-419, es-formal, et, eto, etu, eu, ewo, ext, fa, fat, ff, fi, fit, fiu-vro, fj, fkv, fmp, fo, fon, fr, frc, frp, frr, fur, fy, ga, gaa, gag, gan, gan-hans, gan-hant, gcf, gcr, gd, gl, gld, glk, gn, gom, gom-deva, gom-latn, gor, got, gpe, grc, gsw, gu, guc, gur, guw, gv, gya, ha, hak, hak-hans, hak-hant, hak-latn, haw, he, hi, hif, hif-latn, hil, hno, ho, hr, hrx, hsb, hsn, ht, hu, hu-formal, hy, hyw, hz, ia, iba, ibb, id, ie, ig, igl, ii, ik, ike-cans, ike-latn, ilo, inh, io, is, isu, isv-cyrl, isv-latn, it, iu, ja, jam, jbo, jut, jv, ka, kaa, kab, kai, kbd, kbd-cyrl, kbp, kcg, kea, ker, kg, kge, khw, ki, kiu, kj, kjh, kjp, kk, kk-arab, kk-cn, kk-cyrl, kk-kz, kk-latn, kk-tr, kl, km, kn, knc, ko, ko-kp, koi, kr, krc, kri, krj, krl, ks, ks-arab, ks-deva, ksf, ksh, ksw, ku, ku-arab, ku-latn, kum, kus, kv, kw, ky, la, lad, lb, lbe, lem, lez, lfn, lg, li, lij, liv, lki, lld, lmo, ln, lns, lo, loz, lrc, lt, ltg, lua, lus, luz, lv, lzh, lzz, mad, mag, mai, map-bms, mcn, mcp, mdf, mg, mh, mhr, mi, min, mk, ml, mn, mnc, mnc-latn, mnc-mong, mni, mnw, mo, mos, mr, mrh, mrj, ms, ms-arab, mt, mua, mui, mus, mwl, my, myv, mzn, na, nah, nan, nan-hani, nan-hant, nan-latn-pehoeji, nan-latn-tailo, nap, nb, nds, nds-nl, ne, new, ng, nge, nia, nit, niu, nl, nl-informal, nla, nmg, nmz, nn, nnh, nnz, no, nod, nog, nov, nqo, nr, nrm, nso, nup, nv, ny, nyn, nyo, nys, oc, ojb, olo, om, or, os, osa-latn, ota, pa, pag, pam, pap, pap-aw, pcd, pcm, pdc, pdt, pfl, pi, pih, pl, pms, pnb, pnt, prg, ps, pt, pt-br, pwn, qu, quc, qug, rgn, rif, rki, rm, rmc, rmf, rmy, rn, ro, roa-rup, roa-tara, rsk, ru, rue, rup, ruq, ruq-cyrl, ruq-latn, rut, rw, rwr, ryu, sa, sah, sat, sc, scn, sco, sd, sdc, sdh, se, se-fi, se-no, se-se, sei, ses, sg, sgs, sh, sh-cyrl, sh-latn, shi, shi-latn, shi-tfng, shn, shy, shy-latn, si, simple, sjd, sje, sju, sk, skr, skr-arab, sl, sli, sm, sma, smj, smn, sms, sn, so, sq, sr, sr-ec, sr-el, srn, sro, srq, ss, st, stq, sty, su, sv, sw, syl, szl, szy, ta, tay, tcy, tdd, te, tet, tg, tg-cyrl, tg-latn, th, ti, tig, tk, tl, tly, tly-cyrl, tn, to, tok, tpi, tpv, tr, tru, trv, ts, tt, tt-cyrl, tt-latn, ttj, tum, tvu, tw, ty, tyv, tzm, udm, ug, ug-arab, ug-latn, uk, ur, uselang, uz, uz-cyrl, uz-latn, ve, vec, vep, vi, vls, vmf, vmw, vo, vot, vro, vut, wa, wal, war, wes, wls, wo, wuu, wuu-hans, wuu-hant, wya, xal, xh, xmf, xsy, yas, yat, yav, ybb, yi, yo, yrl, yue, yue-hans, yue-hant, za, zea, zgh, zgh-latn, zh, zh-classical, zh-cn, zh-hans, zh-hant, zh-hk, zh-min-nan, zh-mo, zh-my, zh-sg, zh-tw, zh-yue, zu
Predefinito: uselang
wbetterms

The types of terms to get, e.g. 'description', each returned as an array of strings keyed by their type, e.g. {"description": ["foo"]}. If not specified, all types are returned.

Valori (separati da | o alternativa): alias, description, label
Predefinito: alias|label|description
Esempio:
Ottieni le etichette e gli alias dell'elemento Q84.
api.php?action=query&prop=entityterms&titles=Q84 [apri in una sandbox]
  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Returns all external URLs (not interwikis) from the given pages.

Parametri specifici:
Sono disponibili altri parametri generali.
ellimit

Quanti collegamenti restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
elcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

elprotocol

Protocol of the URL. If empty and elquery is set, the protocol is http and https. Leave both this and elquery empty to list all external links.

Uno dei seguenti valori: Can be empty, or bitcoin, ftp, ftps, geo, git, gopher, http, https, irc, ircs, magnet, mailto, matrix, mms, news, nntp, redis, sftp, sip, sips, sms, ssh, svn, tel, telnet, urn, worldwind, xmpp
Predefinito: (vuoto)
elquery

Search string without protocol. Useful for checking whether a certain page contains a certain external url.

elexpandurl
Deprecato.

Expand protocol-relative URLs with the canonical protocol.

Tipo: booleano (dettagli)
Esempio:
Get a list of external links on the page Home.
api.php?action=query&prop=extlinks&titles=Home [apri in una sandbox]

prop=extracts (ex)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: TextExtracts
  • Licenza: GPL-2.0-or-later

Returns plain-text or limited HTML extracts of the given pages.

Parametri specifici:
Sono disponibili altri parametri generali.
exchars

Quanti caratteri restituire. Il testo effettivo restituito potrebbe essere leggermente più lungo.

Type: integer
The value must be between 1 and 1 200.
exsentences

Quante frasi restituire.

Type: integer
The value must be between 1 and 10.
exlimit

Quanti estratti restituire. (Più estratti possono essere restituiti solo se 'exintro' è impostato su 'true'.)

Tipo: intero o max
The value must be between 1 and 20.
Predefinito: 20
exintro

Restituisci solo il contenuto prima della prima sezione.

Tipo: booleano (dettagli)
explaintext

Return extracts as plain text instead of limited HTML.

Tipo: booleano (dettagli)
exsectionformat

How to format sections in plaintext mode:

plain
No formatting.
wiki
Wikitext-style formatting (== like this ==).
raw
This module's internal representation (section titles prefixed with <ASCII 1><ASCII 2><section level><ASCII 2><ASCII 1>).
Uno dei seguenti valori: plain, raw, wiki
Predefinito: wiki
excontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

Type: integer

prop=fileusage (fu)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Trova tutte le pagine che utilizzano il file specificato.

Parametri specifici:
Sono disponibili altri parametri generali.
fuprop

Quali proprietà ottenere:

pageid
ID pagina di ogni pagina.
title
Titolo di ogni pagina.
redirect
Indica se la pagina è un redirect.
Valori (separati da | o alternativa): pageid, redirect, title
Predefinito: pageid|title|redirect
funamespace

Includi solo le pagine in questi namespace.

Valori (separati da | o alternativa): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Per specificare tutti i valori, utilizza *.
fushow

Mostra solo gli elementi che soddisfano questi criteri:

redirect
Only show redirects.
!redirect
Only show non-redirects.
Valori (separati da | o alternativa): !redirect, redirect
fulimit

How many to return.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
fucontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

prop=imageinfo (ii)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Restituisce informazione sul file sulla cronologia di caricamento.

Parametri specifici:
Sono disponibili altri parametri generali.
iiprop

Quali informazioni sul file ottenere:

timestamp
Adds timestamp for the uploaded version.
user
Adds the user who uploaded each file version. If the user has been revision deleted, a userhidden property will be returned.
userid
Add the ID of the user that uploaded each file version. If the user has been revision deleted, a userhidden property will be returned.
comment
Comment on the version. If the comment has been revision deleted, a commenthidden property will be returned.
parsedcomment
Parse the comment on the version. If the comment has been revision deleted, a commenthidden property will be returned.
canonicaltitle
Adds the canonical title of the file. If the file has been revision deleted, a filehidden property will be returned.
url
Gives URL to the file and the description page. If the file has been revision deleted, a filehidden property will be returned.
size
Adds the size of the file in bytes and the height, width and page count (if applicable).
dimensions
Alias for size.
sha1
Adds SHA-1 hash for the file. If the file has been revision deleted, a filehidden property will be returned.
mime
Aggiunge il tipo MIME del file. Se il file è stato cancellato dalla versione, sarà restituita una proprietà filehidden.
thumbmime
Adds MIME type of the image thumbnail (requires url and param iiurlwidth). If the file has been revision deleted, a filehidden property will be returned.
mediatype
Adds the media type of the file. If the file has been revision deleted, a filehidden property will be returned.
metadata
Lists Exif metadata for the version of the file. If the file has been revision deleted, a filehidden property will be returned.
commonmetadata
Lists file format generic metadata for the version of the file. If the file has been revision deleted, a filehidden property will be returned.
extmetadata
Lists formatted metadata combined from multiple sources. Results are HTML formatted. If the file has been revision deleted, a filehidden property will be returned.
archivename
Adds the filename of the archive version for non-latest versions. If the file has been revision deleted, a filehidden property will be returned.
bitdepth
Adds the bit depth of the version. If the file has been revision deleted, a filehidden property will be returned.
uploadwarning
Used by the Special:Upload page to get information about an existing file. Not intended for use outside MediaWiki core.
badfile
Adds whether the file is on the MediaWiki:Bad image list
Valori (separati da | o alternativa): archivename, badfile, bitdepth, canonicaltitle, comment, commonmetadata, dimensions, extmetadata, mediatype, metadata, mime, parsedcomment, sha1, size, thumbmime, timestamp, uploadwarning, url, user, userid
Predefinito: timestamp|user
iilimit

How many file revisions to return per file.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 1
iistart

Il timestamp da cui iniziare l'elenco.

Tipo: timestamp (formati consentiti)
iiend

Timestamp to stop listing at.

Tipo: timestamp (formati consentiti)
iiurlwidth

If iiprop=url is set, a URL to an image scaled to this width will be returned. For performance reasons if this option is used, no more than 50 scaled images will be returned.

Type: integer
Predefinito: -1
iiurlheight

Simile a iiurlwidth.

Type: integer
Predefinito: -1
iimetadataversion

Version of metadata to use. If latest is specified, use latest version. Defaults to 1 for backwards compatibility.

Predefinito: 1
iiextmetadatalanguage

What language to fetch extmetadata in. This affects both which translation to fetch, if multiple are available, as well as how things like numbers and various values are formatted.

Predefinito: it
iiextmetadatamultilang

If translations for extmetadata property are available, fetch all of them.

Tipo: booleano (dettagli)
iiextmetadatafilter

If specified and non-empty, only these keys will be returned for iiprop=extmetadata.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
iiurlparam

A handler specific parameter string. For example, PDFs might use page15-100px. iiurlwidth must be used and be consistent with iiurlparam.

Predefinito: (vuoto)
iibadfilecontexttitle

If badfilecontexttitleprop=badfile is set, this is the page title used when evaluating the MediaWiki:Bad image list

iicontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

iilocalonly

Look only for files in the local repository.

Tipo: booleano (dettagli)

prop=images (im)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Returns all files contained on the given pages.

Parametri specifici:
Sono disponibili altri parametri generali.
imlimit

Quanti file restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
imcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

imimages

Only list these files. Useful for checking whether a certain page has a certain file.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
imdir

La direzione in cui elencare.

Uno dei seguenti valori: ascending, descending
Predefinito: ascending
Esempi:
Ottieni un elenco dei file utilizzati nella pagina Home.
api.php?action=query&prop=images&titles=Home [apri in una sandbox]
Ottieni informazioni su tutti i file utilizzati nella pagina Home.
api.php?action=query&generator=images&titles=Home&prop=info [apri in una sandbox]

prop=info (in)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Ottieni informazioni base sulla pagina.

Parametri specifici:
Sono disponibili altri parametri generali.
inprop

Quali proprietà aggiuntive ottenere:

protection
List the protection level of each page.
talkid
The page ID of the talk page for each non-talk page.
watched
List the watched status of each page.
watchers
The number of watchers, if allowed.
visitingwatchers
Il numero di osservatori di ogni pagina che hanno visitato le ultime modifiche alla pagina, se consentito.
notificationtimestamp
The watchlist notification timestamp of each page.
subjectid
The page ID of the parent page for each talk page.
associatedpage
The prefixed title of the associated subject or talk page.
url
Gives a full URL, an edit URL, and the canonical URL for each page.
readable
Deprecato. Whether the user can read this page. Use intestactions=read instead.
preload
Deprecato. Gives the text returned by EditFormPreloadText. Use preloadcontent instead, which supports other kinds of preloaded text too.
preloadcontent
Gives the content to be shown in the editor when the page does not exist or while adding a new section.
editintro
Gives the intro messages that should be shown to the user while editing this page or revision, as HTML.
displaytitle
Gives the manner in which the page title is actually displayed.
varianttitles
Gives the display title in all variants of the site content language.
linkclasses
Gives the additional CSS classes (e.g. link colors) used for links to this page if they were to appear on the page named by inlinkcontext.
Valori (separati da | o alternativa): associatedpage, displaytitle, editintro, linkclasses, notificationtimestamp, preloadcontent, protection, subjectid, talkid, url, varianttitles, visitingwatchers, watched, watchers, preload, readable
inlinkcontext

The context title to use when determining extra CSS classes (e.g. link colors) when inprop contains linkclasses.

Tipo: titolo della pagina
Accetta pagine non esistenti.
Predefinito: Home
intestactions

Test whether the current user can perform certain actions on the page.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
intestactionsdetail

Detail level for intestactions. Use the main module's errorformat and errorlang parameters to control the format of the messages returned.

boolean
Restituisce un valore booleano per ogni azione.
full
Return messages describing why the action is disallowed, or an empty array if it is allowed.
quick
Like full but skipping expensive checks.
Uno dei seguenti valori: boolean, full, quick
Predefinito: boolean
intestactionsautocreate

Test whether performing intestactions would automatically create a temporary account.

Tipo: booleano (dettagli)
inpreloadcustom

Titolo di una pagina personalizzata da utilizzare come contenuto precaricato.

Only used when inprop contains preloadcontent.
inpreloadparams

Parameters for the custom page being used as preloaded content.

Only used when inprop contains preloadcontent.
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
inpreloadnewsection

Return preloaded content for a new section on the page, rather than a new page.

Only used when inprop contains preloadcontent.
Tipo: booleano (dettagli)
ineditintrostyle

Some intro messages come with optional wrapper frames. Use moreframes to include them or lessframes to omit them.

Only used when inprop contains editintro.
Uno dei seguenti valori: lessframes, moreframes
Predefinito: moreframes
ineditintroskip

List of intro messages to remove from the response. Use this if a specific message is not relevant to your tool, or if the information is conveyed in a different way.

Only used when inprop contains editintro.
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
ineditintrocustom

Title of a custom page to use as an additional intro message.

Only used when inprop contains editintro.
incontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

prop=infobox (ib)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: Portable Infobox
  • Licenza: GPL-3.0-or-later

Get infobox metadata

prop=isreviewed

  • Questo modulo richiede i diritti di lettura.
  • Fonte: PageTriage
  • Licenza: MIT

Determine if a page is marked as reviewed.

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Restituisce tutti i collegamenti interwiki dalle pagine indicate.

Parametri specifici:
Sono disponibili altri parametri generali.
iwprop

Which additional properties to get for each interwiki link:

url
Aggiunge l'URL completo.
Valori (separati da | o alternativa): url
iwprefix

Only return interwiki links with this prefix.

iwtitle

Interwiki link to search for. Must be used with iwprefix.

iwdir

La direzione in cui elencare.

Uno dei seguenti valori: ascending, descending
Predefinito: ascending
iwlimit

Quanti collegamenti interwiki restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
iwcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

iwurl
Deprecato.

Whether to get the full URL (cannot be used with iwprop).

Tipo: booleano (dettagli)
  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Returns all interlanguage links from the given pages.

Parametri specifici:
Sono disponibili altri parametri generali.
llprop

Which additional properties to get for each interlanguage link:

url
Aggiunge l'URL completo.
langname
Adds the localised language name (best effort). Use llinlanguagecode to control the language.
autonym
Aggiunge il nome nativo della lingua.
Valori (separati da | o alternativa): autonym, langname, url
lllang

Only return language links with this language code.

lltitle

Link to search for. Must be used with lllang.

lldir

La direzione in cui elencare.

Uno dei seguenti valori: ascending, descending
Predefinito: ascending
llinlanguagecode

Language code for localised language names.

Predefinito: it
lllimit

How many langlinks to return.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
llcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

llurl
Deprecato.

Whether to get the full URL (cannot be used with llprop).

Tipo: booleano (dettagli)
  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Returns all links from the given pages.

Parametri specifici:
Sono disponibili altri parametri generali.
plnamespace

Mostra collegamenti solo in questi namespace.

Valori (separati da | o alternativa): -1, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Per specificare tutti i valori, utilizza *.
pllimit

Quanti collegamenti restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
plcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

pltitles

Only list links to these titles. Useful for checking whether a certain page links to a certain title.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
pldir

La direzione in cui elencare.

Uno dei seguenti valori: ascending, descending
Predefinito: ascending

prop=linkshere (lh)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Trova tutte le pagine che puntano a quelle specificate.

Parametri specifici:
Sono disponibili altri parametri generali.
lhprop

Quali proprietà ottenere:

pageid
ID pagina di ogni pagina.
title
Titolo di ogni pagina.
redirect
Indica se la pagina è un redirect.
Valori (separati da | o alternativa): pageid, redirect, title
Predefinito: pageid|title|redirect
lhnamespace

Includi solo le pagine in questi namespace.

Valori (separati da | o alternativa): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Per specificare tutti i valori, utilizza *.
lhshow

Mostra solo gli elementi che soddisfano questi criteri:

redirect
Only show redirects.
!redirect
Only show non-redirects.
Valori (separati da | o alternativa): !redirect, redirect
lhlimit

How many to return.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
lhcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

prop=mmcontent

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MassMessage
  • Licenza: GPL-2.0-or-later

Get the description and targets of a spamlist

prop=moderationpreload (mp)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: Moderation
  • Licenza: GPL-3.0+

If the current user made an edit which is currently awaiting moderation, retrieve the text of this revision.

Parametri specifici:
Sono disponibili altri parametri generali.
mpmode

Expected format, either wikitext or parsed HTML.

Uno dei seguenti valori: parsed, wikitext
Predefinito: wikitext
mptitle

Title of the page. Cannot be used together with mppageid.

mppageid

Page ID of the page. Cannot be used together with mptitle.

Type: integer
mpsection

Only retrieve the content of this section number.

Esempi:
Get wikitext of the pending edit by this user in the page Cat.
api.php?action=query&prop=moderationpreload&mptitle=Cat [apri in una sandbox]
Get HTML of the pending edit by this user in the page Dog.
api.php?action=query&prop=moderationpreload&mptitle=Dog&mpmode=parsed [apri in una sandbox]
Get wikitext of section #2 (third section) of the pending edit by this user in the page Cat.
api.php?action=query&prop=moderationpreload&mptitle=Cat&mpsection=2 [apri in una sandbox]

prop=oredictentry (od)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: OreDict
  • Licenza: MIT

Get OreDict entry data.

Parametro specifico:
Sono disponibili altri parametri generali.
odids

The IDs for the entries to obtain information for.

Questo parametro è obbligatorio.
Type: list of integers
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
The values must be no less than 1.

prop=pageimages (pi)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: PageImages
  • Licenza: WTFPL

Fornisce informazioni sulle immagini nella pagina, ad esempio le anteprime e la presenza di foto.

Parametri specifici:
Sono disponibili altri parametri generali.
piprop

Which information to return:

thumbnail
URL and dimensions of thumbnail image associated with page, if any.
name
Image title.
original
URL and original dimensions of image associated with page, if any.
Valori (separati da | o alternativa): name, original, thumbnail
Predefinito: thumbnail|name
pithumbsize

Larghezza massima in pixel delle immagini in miniatura.

Type: integer
Predefinito: 50
pilimit

Proprietà di quante pagine da mostrare.

Tipo: intero o max
The value must be between 1 and 50.
Predefinito: 50
pilicense

Limita le immagini delle pagine a un determinato tipo di licenza:

free
Solo immagini libere
any
Immagine migliore, sia libera che non.
Uno dei seguenti valori: any, free
Predefinito: free
picontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

Type: integer
pilangcode

Code for the language the image is going to be rendered in if multiple languages are supported

Esempio:
Get name and 100-pixel thumbnail of an image on the Albert Einstein page.
api.php?action=query&prop=pageimages&titles=Albert%20Einstein&pithumbsize=100 [apri in una sandbox]

prop=pageprops (pp)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Get various page properties defined in the page content.

Parametri specifici:
Sono disponibili altri parametri generali.
ppcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

ppprop

Only list these page properties (action=query&list=pagepropnames returns page property names in use). Useful for checking whether pages use a certain page property.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Esempio:
Ottieni proprietà per le pagine Home e MediaWiki.
api.php?action=query&prop=pageprops&titles=Home|MediaWiki [apri in una sandbox]

prop=pageterms (wbpt)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Ottieni i termini Wikicord (tipicamente etichette, descrizioni e alias) associati a una pagina tramite un collegamento al sito.

Parametri specifici:
Sono disponibili altri parametri generali.
wbptcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

Type: integer
wbptlanguage

The language code to get terms in. If not specified, the user language is used.

Uno dei seguenti valori: aa, aae, ab, abs, ace, acf, acm, ady, ady-cyrl, aeb, aeb-arab, aeb-latn, af, agq, aln, als, alt, am, ami, an, ang, ann, anp, apc, ar, arc, arn, arq, ary, arz, as, ase, ast, atj, av, avk, awa, ay, az, azb, ba, bag, ban, ban-bali, bar, bas, bat-smg, bax, bbc, bbc-latn, bbj, bcc, bci, bcl, bdr, be, be-tarask, be-x-old, bew, bfd, bg, bgc, bgn, bh, bho, bi, bjn, bkc, bkh, bkm, blk, bm, bn, bo, bpy, bqi, bqz, br, brh, bs, btm, bto, bug, bxr, byv, ca, cak, cal, cbk-zam, ccp, cdo, ce, ceb, ch, chn, cho, chr, chy, ckb, cnh, co, cps, cpx, cpx-hans, cpx-hant, cpx-latn, cr, crh, crh-cyrl, crh-latn, crh-ro, cs, csb, cu, cv, cy, da, dag, de, de-at, de-ch, de-formal, dga, din, diq, dsb, dtp, dty, dua, dv, dz, ee, efi, egl, el, eml, en, en-ca, en-gb, en-us, eo, es, es-419, es-formal, et, eto, etu, eu, ewo, ext, fa, fat, ff, fi, fit, fiu-vro, fj, fkv, fmp, fo, fon, fr, frc, frp, frr, fur, fy, ga, gaa, gag, gan, gan-hans, gan-hant, gcf, gcr, gd, gl, gld, glk, gn, gom, gom-deva, gom-latn, gor, got, gpe, grc, gsw, gu, guc, gur, guw, gv, gya, ha, hak, hak-hans, hak-hant, hak-latn, haw, he, hi, hif, hif-latn, hil, hno, ho, hr, hrx, hsb, hsn, ht, hu, hu-formal, hy, hyw, hz, ia, iba, ibb, id, ie, ig, igl, ii, ik, ike-cans, ike-latn, ilo, inh, io, is, isu, isv-cyrl, isv-latn, it, iu, ja, jam, jbo, jut, jv, ka, kaa, kab, kai, kbd, kbd-cyrl, kbp, kcg, kea, ker, kg, kge, khw, ki, kiu, kj, kjh, kjp, kk, kk-arab, kk-cn, kk-cyrl, kk-kz, kk-latn, kk-tr, kl, km, kn, knc, ko, ko-kp, koi, kr, krc, kri, krj, krl, ks, ks-arab, ks-deva, ksf, ksh, ksw, ku, ku-arab, ku-latn, kum, kus, kv, kw, ky, la, lad, lb, lbe, lem, lez, lfn, lg, li, lij, liv, lki, lld, lmo, ln, lns, lo, loz, lrc, lt, ltg, lua, lus, luz, lv, lzh, lzz, mad, mag, mai, map-bms, mcn, mcp, mdf, mg, mh, mhr, mi, min, mk, ml, mn, mnc, mnc-latn, mnc-mong, mni, mnw, mo, mos, mr, mrh, mrj, ms, ms-arab, mt, mua, mui, mus, mwl, my, myv, mzn, na, nah, nan, nan-hani, nan-hant, nan-latn-pehoeji, nan-latn-tailo, nap, nb, nds, nds-nl, ne, new, ng, nge, nia, nit, niu, nl, nl-informal, nla, nmg, nmz, nn, nnh, nnz, no, nod, nog, nov, nqo, nr, nrm, nso, nup, nv, ny, nyn, nyo, nys, oc, ojb, olo, om, or, os, osa-latn, ota, pa, pag, pam, pap, pap-aw, pcd, pcm, pdc, pdt, pfl, pi, pih, pl, pms, pnb, pnt, prg, ps, pt, pt-br, pwn, qu, quc, qug, rgn, rif, rki, rm, rmc, rmf, rmy, rn, ro, roa-rup, roa-tara, rsk, ru, rue, rup, ruq, ruq-cyrl, ruq-latn, rut, rw, rwr, ryu, sa, sah, sat, sc, scn, sco, sd, sdc, sdh, se, se-fi, se-no, se-se, sei, ses, sg, sgs, sh, sh-cyrl, sh-latn, shi, shi-latn, shi-tfng, shn, shy, shy-latn, si, simple, sjd, sje, sju, sk, skr, skr-arab, sl, sli, sm, sma, smj, smn, sms, sn, so, sq, sr, sr-ec, sr-el, srn, sro, srq, ss, st, stq, sty, su, sv, sw, syl, szl, szy, ta, tay, tcy, tdd, te, tet, tg, tg-cyrl, tg-latn, th, ti, tig, tk, tl, tly, tly-cyrl, tn, to, tok, tpi, tpv, tr, tru, trv, ts, tt, tt-cyrl, tt-latn, ttj, tum, tvu, tw, ty, tyv, tzm, udm, ug, ug-arab, ug-latn, uk, ur, uselang, uz, uz-cyrl, uz-latn, ve, vec, vep, vi, vls, vmf, vmw, vo, vot, vro, vut, wa, wal, war, wes, wls, wo, wuu, wuu-hans, wuu-hant, wya, xal, xh, xmf, xsy, yas, yat, yav, ybb, yi, yo, yrl, yue, yue-hans, yue-hant, za, zea, zgh, zgh-latn, zh, zh-classical, zh-cn, zh-hans, zh-hant, zh-hk, zh-min-nan, zh-mo, zh-my, zh-sg, zh-tw, zh-yue, zu
Predefinito: uselang
wbptterms

Il tipo di termine da ottenere, ad esempio 'description', ognuna restituita come una matrice di stringhe con chiave il loro tipo, ad esempio {"description": ["foo"]}. Se non specificato, saranno restituiti tutti i tipi.

Valori (separati da | o alternativa): alias, description, label
Predefinito: alias|label|description
Esempi:
Ottieni tutti i termini associati alla pagina 'London', nella lingua dell'utente.
api.php?action=query&prop=pageterms&titles=London [apri in una sandbox]
Ottieni etichette ed alias associati alla pagina 'London', in inglese.
api.php?action=query&prop=pageterms&titles=London&wbptterms=label|alias&wbptlanguage=en [apri in una sandbox]

prop=redirects (rd)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Restituisce tutti i reindirizzamenti alla data indicata.

Parametri specifici:
Sono disponibili altri parametri generali.
rdprop

Quali proprietà ottenere:

pageid
ID pagina di ogni redirect.
title
Titolo di ogni redirect.
fragment
Fragment of each redirect, if any.
Valori (separati da | o alternativa): fragment, pageid, title
Predefinito: pageid|title
rdnamespace

Includi solo le pagine in questi namespace.

Note: Due to miser mode, using this may result in fewer than rdlimit results returned before continuing; in extreme cases, zero results may be returned.

Valori (separati da | o alternativa): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Per specificare tutti i valori, utilizza *.
rdshow

Show only items that meet these criteria:

fragment
Only show redirects with a fragment.
!fragment
Only show redirects without a fragment.
Valori (separati da | o alternativa): !fragment, fragment
rdlimit

Quanti reindirizzamenti restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
rdcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

prop=revisions (rv)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Get revision information.

May be used in several ways:

  1. Get data about a set of pages (last revision), by setting titles or pageids.
  2. Get revisions for one given page, by using titles or pageids with start, end, or limit.
  3. Get data about a set of revisions by setting their IDs with revids.
Parametri specifici:
Sono disponibili altri parametri generali.
rvprop

Which properties to get for each revision:

ids
L'ID della versione.
flags
Revision flags (minor).
timestamp
Il timestamp della versione.
user
Utente che ha effettuato la versione. Se l'utente è stato cancellato dalla versione, sarà restituita una proprietà userhidden.
userid
ID utente dell'autore della versione. Se l'utente è stato cancellato dalla versione, sarà restituita una proprietà userhidden.
size
Length (bytes) of the revision.
slotsize
Length (bytes) of each revision slot.
sha1
SHA-1 (base 16) of the revision. If the content has been revision deleted, a sha1hidden property will be returned.
slotsha1
SHA-1 (base 16) of each revision slot. If the content has been revision deleted, a sha1hidden property will be returned.
contentmodel
Content model ID of each revision slot.
comment
Comment by the user for the revision. If the comment has been revision deleted, a commenthidden property will be returned.
parsedcomment
Parsed comment by the user for the revision. If the comment has been revision deleted, a commenthidden property will be returned.
content
Contenuto di ogni slot di versione. Se il contenuto è stato cancellato dalla versione, sarà restituita una proprietà texthidden. Per motivi di prestazioni, se viene utilizzata questa opzione, rvlimit viene applicato a 50.
tags
Etichette della versione.
roles
List content slot roles that exist in the revision.
parsetree
Deprecato. Use action=expandtemplates or action=parse instead. The XML parse tree of revision content (requires content model wikitext). For performance reasons, if this option is used, rvlimit is enforced to 50.
Valori (separati da | o alternativa): comment, content, contentmodel, flags, ids, parsedcomment, roles, sha1, size, slotsha1, slotsize, tags, timestamp, user, userid, parsetree
Predefinito: ids|timestamp|flags|comment|user
rvslots

Which revision slots to return data for, when slot-related properties are included in rvprops. If omitted, data from the main slot will be returned in a backwards-compatible format.

Valori (separati da | o alternativa): main
Per specificare tutti i valori, utilizza *.
rvcontentformat-{slot}

Content serialization format used for output of content.

This is a templated parameter. When making the request, {slot} in the parameter's name should be replaced with values of rvslots.
Uno dei seguenti valori: application/json, application/octet-stream, application/unknown, application/vnd.php.serialized, application/x-binary, application/xml, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
rvlimit

Limit how many revisions will be returned. If rvprop=content, rvprop=parsetree, rvdiffto or rvdifftotext is used, the limit is 50. If rvparse is used, the limit is 1.

May only be used with a single page (mode #2).
Tipo: intero o max
The value must be between 1 and 500.
rvexpandtemplates
Deprecato.

Use action=expandtemplates instead. Expand templates in revision content (requires rvprop=content).

Tipo: booleano (dettagli)
rvgeneratexml
Deprecato.

Use action=expandtemplates or action=parse instead. Generate XML parse tree for revision content (requires rvprop=content).

Tipo: booleano (dettagli)
rvparse
Deprecato.

Use action=parse instead. Parse revision content (requires rvprop=content). For performance reasons, if this option is used, rvlimit is enforced to 1.

Tipo: booleano (dettagli)
rvsection

Only retrieve the content of the section with this identifier.

rvdiffto
Deprecato.

Use action=compare instead. Revision ID to diff each revision to. Use prev, next and cur for the previous, next and current revision respectively. For performance reasons, if this option is used, rvlimit is enforced to 50.

rvdifftotext
Deprecato.

Use action=compare instead. Text to diff each revision to. Only diffs a limited number of revisions. Overrides rvdiffto. If rvsection is set, only that section will be diffed against this text. For performance reasons, if this option is used, rvlimit is enforced to 50.

rvdifftotextpst
Deprecato.

Use action=compare instead. Perform a pre-save transform on the text before diffing it. Only valid when used with rvdifftotext.

Tipo: booleano (dettagli)
rvcontentformat
Deprecato.

Serialization format used for rvdifftotext and expected for output of content.

Uno dei seguenti valori: application/json, application/octet-stream, application/unknown, application/vnd.php.serialized, application/x-binary, application/xml, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
rvstartid

Inizia l'elenco dal timestamp di questa versione. La versione deve esistere, ma non necessariamente deve appartenere a questa pagina.

May only be used with a single page (mode #2).
Type: integer
rvendid

Stop enumeration at this revision's timestamp. The revision must exist, but need not belong to this page.

May only be used with a single page (mode #2).
Type: integer
rvstart

Il timestamp della versione da cui iniziare l'elenco.

May only be used with a single page (mode #2).
Tipo: timestamp (formati consentiti)
rvend

Enumerate up to this timestamp.

May only be used with a single page (mode #2).
Tipo: timestamp (formati consentiti)
rvdir

In which direction to enumerate:

newer
List oldest first. Note: rvstart has to be before rvend.
older
List newest first (default). Note: rvstart has to be later than rvend.
May only be used with a single page (mode #2).
Uno dei seguenti valori: newer, older
Predefinito: older
rvuser

Only include revisions made by user.

May only be used with a single page (mode #2).
Tipo: utente, da uno qualsiasi nome utente, IP, Utente temporaneo, interwiki name (e.g. "prefix>ExampleName") e ID utente (ad esempio "#12345")
rvexcludeuser

Exclude revisions made by user.

May only be used with a single page (mode #2).
Tipo: utente, da uno qualsiasi nome utente, IP, Utente temporaneo, interwiki name (e.g. "prefix>ExampleName") e ID utente (ad esempio "#12345")
rvtag

Elenca solo le versioni etichettate con questa etichetta.

rvcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

prop=stashimageinfo (sii)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Returns file information for stashed files.

Parametri specifici:
Sono disponibili altri parametri generali.
siifilekey

Key that identifies a previous upload that was stashed temporarily.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
siisessionkey
Deprecato.

Alias for siifilekey, for backward compatibility.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
siiprop

Quali informazioni sul file ottenere:

timestamp
Adds timestamp for the uploaded version.
canonicaltitle
Adds the canonical title of the file. If the file has been revision deleted, a filehidden property will be returned.
url
Gives URL to the file and the description page. If the file has been revision deleted, a filehidden property will be returned.
size
Adds the size of the file in bytes and the height, width and page count (if applicable).
dimensions
Alias for size.
sha1
Adds SHA-1 hash for the file. If the file has been revision deleted, a filehidden property will be returned.
mime
Aggiunge il tipo MIME del file. Se il file è stato cancellato dalla versione, sarà restituita una proprietà filehidden.
thumbmime
Adds MIME type of the image thumbnail (requires url and param siiurlwidth). If the file has been revision deleted, a filehidden property will be returned.
metadata
Lists Exif metadata for the version of the file. If the file has been revision deleted, a filehidden property will be returned.
commonmetadata
Lists file format generic metadata for the version of the file. If the file has been revision deleted, a filehidden property will be returned.
extmetadata
Lists formatted metadata combined from multiple sources. Results are HTML formatted. If the file has been revision deleted, a filehidden property will be returned.
bitdepth
Adds the bit depth of the version. If the file has been revision deleted, a filehidden property will be returned.
badfile
Adds whether the file is on the MediaWiki:Bad image list
Valori (separati da | o alternativa): badfile, bitdepth, canonicaltitle, commonmetadata, dimensions, extmetadata, metadata, mime, sha1, size, thumbmime, timestamp, url
Predefinito: timestamp|url
siiurlwidth

If siiprop=url is set, a URL to an image scaled to this width will be returned. For performance reasons if this option is used, no more than 50 scaled images will be returned.

Type: integer
Predefinito: -1
siiurlheight

Simile a siiurlwidth.

Type: integer
Predefinito: -1
siiurlparam

A handler specific parameter string. For example, PDFs might use page15-100px. siiurlwidth must be used and be consistent with siiurlparam.

Predefinito: (vuoto)

prop=templates (tl)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Returns all pages transcluded on the given pages.

Parametri specifici:
Sono disponibili altri parametri generali.
tlnamespace

Show templates in these namespaces only.

Valori (separati da | o alternativa): -1, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Per specificare tutti i valori, utilizza *.
tllimit

Quanti template restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
tlcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

tltemplates

Only list these templates. Useful for checking whether a certain page uses a certain template.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
tldir

La direzione in cui elencare.

Uno dei seguenti valori: ascending, descending
Predefinito: ascending
Esempi:
Get the templates used on the page Home.
api.php?action=query&prop=templates&titles=Home [apri in una sandbox]
Get information about the template pages used on the page Home.
api.php?action=query&generator=templates&titles=Home&prop=info [apri in una sandbox]
Get pages in the Utente and Template namespaces that are transcluded on the page Home.
api.php?action=query&prop=templates&titles=Home&tlnamespace=2|10 [apri in una sandbox]

prop=transcludedin (ti)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Trova tutte le pagine che incorporano quella specificata.

Parametri specifici:
Sono disponibili altri parametri generali.
tiprop

Quali proprietà ottenere:

pageid
ID pagina di ogni pagina.
title
Titolo di ogni pagina.
redirect
Indica se la pagina è un redirect.
Valori (separati da | o alternativa): pageid, redirect, title
Predefinito: pageid|title|redirect
tinamespace

Includi solo le pagine in questi namespace.

Valori (separati da | o alternativa): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Per specificare tutti i valori, utilizza *.
tishow

Mostra solo gli elementi che soddisfano questi criteri:

redirect
Only show redirects.
!redirect
Only show non-redirects.
Valori (separati da | o alternativa): !redirect, redirect
tilimit

How many to return.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
ticontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

prop=transcodestatus

  • Questo modulo richiede i diritti di lettura.
  • Fonte: TimedMediaHandler
  • Licenza: GPL-2.0-or-later

Get transcode status for a given file page.

prop=videoinfo (vi)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: TimedMediaHandler
  • Licenza: GPL-2.0-or-later

Extends imageinfo to include video source (derivatives) information

Parametri specifici:
Sono disponibili altri parametri generali.
viprop

Quali informazioni sul file ottenere:

timestamp
Adds timestamp for the uploaded version.
user
Adds the user who uploaded each file version. If the user has been revision deleted, a userhidden property will be returned.
userid
Add the ID of the user that uploaded each file version. If the user has been revision deleted, a userhidden property will be returned.
comment
Comment on the version. If the comment has been revision deleted, a commenthidden property will be returned.
parsedcomment
Parse the comment on the version. If the comment has been revision deleted, a commenthidden property will be returned.
canonicaltitle
Adds the canonical title of the file. If the file has been revision deleted, a filehidden property will be returned.
url
Gives URL to the file and the description page. If the file has been revision deleted, a filehidden property will be returned.
size
Adds the size of the file in bytes and the height, width and page count (if applicable).
dimensions
Alias for size.
sha1
Adds SHA-1 hash for the file. If the file has been revision deleted, a filehidden property will be returned.
mime
Aggiunge il tipo MIME del file. Se il file è stato cancellato dalla versione, sarà restituita una proprietà filehidden.
thumbmime
Adds MIME type of the image thumbnail (requires url and param viurlwidth). If the file has been revision deleted, a filehidden property will be returned.
mediatype
Adds the media type of the file. If the file has been revision deleted, a filehidden property will be returned.
metadata
Lists Exif metadata for the version of the file. If the file has been revision deleted, a filehidden property will be returned.
commonmetadata
Lists file format generic metadata for the version of the file. If the file has been revision deleted, a filehidden property will be returned.
extmetadata
Lists formatted metadata combined from multiple sources. Results are HTML formatted. If the file has been revision deleted, a filehidden property will be returned.
archivename
Adds the filename of the archive version for non-latest versions. If the file has been revision deleted, a filehidden property will be returned.
bitdepth
Adds the bit depth of the version. If the file has been revision deleted, a filehidden property will be returned.
uploadwarning
Used by the Special:Upload page to get information about an existing file. Not intended for use outside MediaWiki core.
badfile
Adds whether the file is on the MediaWiki:Bad image list
derivatives
Aggiunge un array di diversi formati e versioni di qualità di un file audio o video che sono disponibili.
timedtext
Aggiunge una matrice di sottotitoli, didascalie e descrizioni di un file audio o video disponibile.
Valori (separati da | o alternativa): archivename, badfile, bitdepth, canonicaltitle, comment, commonmetadata, derivatives, dimensions, extmetadata, mediatype, metadata, mime, parsedcomment, sha1, size, thumbmime, timedtext, timestamp, uploadwarning, url, user, userid
Predefinito: timestamp|user
vilimit

How many file revisions to return per file.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 1
vistart

Il timestamp da cui iniziare l'elenco.

Tipo: timestamp (formati consentiti)
viend

Timestamp to stop listing at.

Tipo: timestamp (formati consentiti)
viurlwidth

If viprop=url is set, a URL to an image scaled to this width will be returned. For performance reasons if this option is used, no more than 50 scaled images will be returned.

Type: integer
Predefinito: -1
viurlheight

Simile a viurlwidth.

Type: integer
Predefinito: -1
vimetadataversion

Version of metadata to use. If latest is specified, use latest version. Defaults to 1 for backwards compatibility.

Predefinito: 1
viextmetadatalanguage

What language to fetch extmetadata in. This affects both which translation to fetch, if multiple are available, as well as how things like numbers and various values are formatted.

Predefinito: it
viextmetadatamultilang

If translations for extmetadata property are available, fetch all of them.

Tipo: booleano (dettagli)
viextmetadatafilter

If specified and non-empty, only these keys will be returned for viprop=extmetadata.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
viurlparam

A handler specific parameter string. For example, PDFs might use page15-100px. viurlwidth must be used and be consistent with viurlparam.

Predefinito: (vuoto)
vibadfilecontexttitle

If badfilecontexttitleprop=badfile is set, this is the page title used when evaluating the MediaWiki:Bad image list

vicontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

vilocalonly

Look only for files in the local repository.

Tipo: booleano (dettagli)

prop=wbentityusage (wbeu)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Returns all entity IDs used in the given pages.

Parametri specifici:
Sono disponibili altri parametri generali.
wbeuprop

Proprietà da aggiungere al risultato.

url
Se attivato, sarà aggiunto l'URL dell'entità
Valori (separati da | o alternativa): url
wbeuaspect

Restituisci solo ID entità che usano questo aspetto.

S
The entity's sitelinks are used
L
The entity's label is used
D
The entity's description is used
T
The title of the local page corresponding to the entity is used
C
Statements from the entity are used
X
All aspects of an entity are or may be used
O
Something else about the entity is used. This currently implies alias usage and explicit checks for entity existence.
Valori (separati da | o alternativa): C, D, L, O, S, T, X
wbeuentities

Restituisce solo le pagine che utilizzano queste entità.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
wbeulimit

Quanti utilizzi delle entità restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
wbeucontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

Esempio:
Ottieni entità utilizzate nella pagina Main Page.
api.php?action=query&prop=wbentityusage&titles=Main%20Page [apri in una sandbox]

list=abusefilters (abf)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: Abuse Filter
  • Licenza: GPL-2.0-or-later

Mostra dettagli sui filtri anti abusi.

Parametri specifici:
Sono disponibili altri parametri generali.
abfstartid

L'ID del filtro da cui iniziare l'elenco.

Type: integer
abfendid

L'ID del filtro al quale terminare l'elenco.

Type: integer
abfdir

In which direction to enumerate:

Uno dei seguenti valori: newer, older
Predefinito: newer
abfshow

Mostra solo i filtri che soddisfano questi criteri.

Valori (separati da | o alternativa): !deleted, !enabled, !private, !protected, deleted, enabled, private, protected
abflimit

Il numero massimo di filtri da elencare.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
abfprop

Quali proprietà ottenere.

Valori (separati da | o alternativa): actions, comments, description, hits, id, lasteditor, lastedittime, pattern, private, protected, status
Predefinito: id|description|actions|status

list=abuselog (afl)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: Abuse Filter
  • Licenza: GPL-2.0-or-later

Mostra eventi che hanno attivate un filtro anti abusi.

Parametri specifici:
Sono disponibili altri parametri generali.
afllogid

Mostra la voce nel registro con l'ID specificato.

Type: integer
aflstart

Il timestamp da cui iniziare l'elenco.

Tipo: timestamp (formati consentiti)
aflend

Il timestamp al quale interrompere l'elenco.

Tipo: timestamp (formati consentiti)
afldir

In which direction to enumerate:

Uno dei seguenti valori: newer, older
Predefinito: older
afluser

Mostra solo le voci relative a un utente o IP indicato.

afltitle

Mostra solo le voci relative a una pagina indicata.

aflfilter

Mostra solo le voci relative ai filtri con gli ID indicati. Separare con barre verticali, utilizzando il prefisso "global-" per i filtri globali.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
afllimit

Il numero massimo di voci da elencare.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
aflprop

Quali proprietà ottenere.

Valori (separati da | o alternativa): action, details, filter, hidden, ids, result, revid, timestamp, title, user
Predefinito: ids|user|title|action|result|timestamp|hidden|revid
Esempi:
Mostra voci di registro recenti.
api.php?action=query&list=abuselog [apri in una sandbox]
Mostra voci di registro recenti per la pagina API
api.php?action=query&list=abuselog&afltitle=API [apri in una sandbox]

list=allcampaigns (uwc)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: Upload Wizard
  • Licenza: GPL-2.0-or-later

Enumerate all UploadWizard campaigns.

Parametri specifici:
Sono disponibili altri parametri generali.
uwcenabledonly

Only list campaigns that are enabled.

Tipo: booleano (dettagli)
uwclimit

Number of campaigns to return.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 50
uwccontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

list=allcategories (ac)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Enumera tutte le categorie.

Parametri specifici:
Sono disponibili altri parametri generali.
acfrom

La categoria da cui iniziare l'elenco.

accontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

acto

La categoria al quale interrompere l'elenco.

acprefix

Ricerca per tutti i titoli delle categorie che iniziano con questo valore.

acdir

Direzione dell'ordinamento.

Uno dei seguenti valori: ascending, descending
Predefinito: ascending
acmin

Only return categories with at least this many members.

Type: integer
acmax

Only return categories with at most this many members.

Type: integer
aclimit

Quante categorie restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
acprop

Quali proprietà ottenere:

size
Aggiungi il numero di pagine nella categoria.
hidden
Etichetta categorie che sono nascoste con __HIDDENCAT__.
Valori (separati da | o alternativa): hidden, size
Predefinito: (vuoto)
Esempi:
Elenca categorie con informazioni sul numero di pagine in ognuna.
api.php?action=query&list=allcategories&acprop=size [apri in una sandbox]
Retrieve info about the category page itself for categories beginning List.
api.php?action=query&generator=allcategories&gacprefix=List&prop=info [apri in una sandbox]

list=alldeletedrevisions (adr)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Elenca tutte le versioni cancellate da un utente o in un namespace.

Parametri specifici:
Sono disponibili altri parametri generali.
adrprop

Which properties to get for each revision:

ids
L'ID della versione.
flags
Revision flags (minor).
timestamp
Il timestamp della versione.
user
Utente che ha effettuato la versione. Se l'utente è stato cancellato dalla versione, sarà restituita una proprietà userhidden.
userid
ID utente dell'autore della versione. Se l'utente è stato cancellato dalla versione, sarà restituita una proprietà userhidden.
size
Length (bytes) of the revision.
slotsize
Length (bytes) of each revision slot.
sha1
SHA-1 (base 16) of the revision. If the content has been revision deleted, a sha1hidden property will be returned.
slotsha1
SHA-1 (base 16) of each revision slot. If the content has been revision deleted, a sha1hidden property will be returned.
contentmodel
Content model ID of each revision slot.
comment
Comment by the user for the revision. If the comment has been revision deleted, a commenthidden property will be returned.
parsedcomment
Parsed comment by the user for the revision. If the comment has been revision deleted, a commenthidden property will be returned.
content
Contenuto di ogni slot di versione. Se il contenuto è stato cancellato dalla versione, sarà restituita una proprietà texthidden. Per motivi di prestazioni, se viene utilizzata questa opzione, adrlimit viene applicato a 50.
tags
Etichette della versione.
roles
List content slot roles that exist in the revision.
parsetree
Deprecato. Use action=expandtemplates or action=parse instead. The XML parse tree of revision content (requires content model wikitext). For performance reasons, if this option is used, adrlimit is enforced to 50.
Valori (separati da | o alternativa): comment, content, contentmodel, flags, ids, parsedcomment, roles, sha1, size, slotsha1, slotsize, tags, timestamp, user, userid, parsetree
Predefinito: ids|timestamp|flags|comment|user
adrslots

Which revision slots to return data for, when slot-related properties are included in adrprops. If omitted, data from the main slot will be returned in a backwards-compatible format.

Valori (separati da | o alternativa): main
Per specificare tutti i valori, utilizza *.
adrcontentformat-{slot}

Content serialization format used for output of content.

This is a templated parameter. When making the request, {slot} in the parameter's name should be replaced with values of adrslots.
Uno dei seguenti valori: application/json, application/octet-stream, application/unknown, application/vnd.php.serialized, application/x-binary, application/xml, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
adrlimit

Limit how many revisions will be returned. If adrprop=content, adrprop=parsetree, adrdiffto or adrdifftotext is used, the limit is 50. If adrparse is used, the limit is 1.

Tipo: intero o max
The value must be between 1 and 500.
adrexpandtemplates
Deprecato.

Use action=expandtemplates instead. Expand templates in revision content (requires adrprop=content).

Tipo: booleano (dettagli)
adrgeneratexml
Deprecato.

Use action=expandtemplates or action=parse instead. Generate XML parse tree for revision content (requires adrprop=content).

Tipo: booleano (dettagli)
adrparse
Deprecato.

Use action=parse instead. Parse revision content (requires adrprop=content). For performance reasons, if this option is used, adrlimit is enforced to 1.

Tipo: booleano (dettagli)
adrsection

Only retrieve the content of the section with this identifier.

adrdiffto
Deprecato.

Use action=compare instead. Revision ID to diff each revision to. Use prev, next and cur for the previous, next and current revision respectively. For performance reasons, if this option is used, adrlimit is enforced to 50.

adrdifftotext
Deprecato.

Use action=compare instead. Text to diff each revision to. Only diffs a limited number of revisions. Overrides adrdiffto. If adrsection is set, only that section will be diffed against this text. For performance reasons, if this option is used, adrlimit is enforced to 50.

adrdifftotextpst
Deprecato.

Use action=compare instead. Perform a pre-save transform on the text before diffing it. Only valid when used with adrdifftotext.

Tipo: booleano (dettagli)
adrcontentformat
Deprecato.

Serialization format used for adrdifftotext and expected for output of content.

Uno dei seguenti valori: application/json, application/octet-stream, application/unknown, application/vnd.php.serialized, application/x-binary, application/xml, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
adruser

Elenca solo le versioni di questo utente.

Note: Due to miser mode, using adruser and adrnamespace together may result in fewer than adrlimit results returned before continuing; in extreme cases, zero results may be returned.

Tipo: utente, da uno qualsiasi nome utente, IP, Utente temporaneo, interwiki name (e.g. "prefix>ExampleName") e ID utente (ad esempio "#12345")
adrnamespace

Elenca solo le pagine in questo namespace.

Note: Due to miser mode, using adruser and adrnamespace together may result in fewer than adrlimit results returned before continuing; in extreme cases, zero results may be returned.

Valori (separati da | o alternativa): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Per specificare tutti i valori, utilizza *.
adrstart

Il timestamp da cui iniziare l'elenco.

Può essere utilizzato solo con adruser.
Tipo: timestamp (formati consentiti)
adrend

Il timestamp al quale interrompere l'elenco.

Può essere utilizzato solo con adruser.
Tipo: timestamp (formati consentiti)
adrdir

In which direction to enumerate:

newer
List oldest first. Note: adrstart has to be before adrend.
older
List newest first (default). Note: adrstart has to be later than adrend.
Uno dei seguenti valori: newer, older
Predefinito: older
adrfrom

Inizia elenco a questo titolo.

Non può essere utilizzato con adruser.
adrto

Interrompi elenco a questo titolo.

Non può essere utilizzato con adruser.
adrprefix

Ricerca per tutti i titoli delle pagine che iniziano con questo valore.

Non può essere utilizzato con adruser.
adrexcludeuser

Non elencare le versioni di questo utente.

Non può essere utilizzato con adruser.
Tipo: utente, da uno qualsiasi nome utente, IP, Utente temporaneo, interwiki name (e.g. "prefix>ExampleName") e ID utente (ad esempio "#12345")
adrtag

Only list revisions tagged with this tag.

adrcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

adrgeneratetitles

When being used as a generator, generate titles rather than revision IDs.

Tipo: booleano (dettagli)
Esempi:
Elenca gli ultimi 50 contributi cancellati dell'utente Example.
api.php?action=query&list=alldeletedrevisions&adruser=Example&adrlimit=50 [apri in una sandbox]
Elenca le prime 50 versioni cancellate nel namespace principale.
api.php?action=query&list=alldeletedrevisions&adrdir=newer&adrnamespace=0&adrlimit=50 [apri in una sandbox]

list=allfileusages (af)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

List all file usages, including non-existing.

Parametri specifici:
Sono disponibili altri parametri generali.
afcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

affrom

Il titolo del file da cui iniziare l'elenco.

afto

Il titolo del file al quale interrompere l'elenco.

afprefix

Ricerca per tutti i titoli dei file che iniziano con questo valore.

afunique

Only show distinct file titles. Cannot be used with afprop=ids. When used as a generator, yields target pages instead of source pages.

Tipo: booleano (dettagli)
afprop

Quali informazioni includere:

ids
Adds the page IDs of the using pages (cannot be used with afunique).
title
Aggiunge il titolo del file.
Valori (separati da | o alternativa): ids, title
Predefinito: title
aflimit

Quanti elementi totali restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
afdir

La direzione in cui elencare.

Uno dei seguenti valori: ascending, descending
Predefinito: ascending

list=allimages (ai)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Enumerate all images sequentially.

Parametri specifici:
Sono disponibili altri parametri generali.
aisort

Proprietà di ordinamento.

Uno dei seguenti valori: name, timestamp
Predefinito: name
aidir

La direzione in cui elencare.

Uno dei seguenti valori: ascending, descending, newer, older
Predefinito: ascending
aifrom

Il titolo dell'immagine da cui iniziare l'elenco. Può essere utilizzato solo con aisort=name.

aito

The image title to stop enumerating at. Can only be used with aisort=name.

aicontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

aistart

Il timestamp da cui iniziare l'elenco. Può essere utilizzato solo con aisort=timestamp.

Tipo: timestamp (formati consentiti)
aiend

Il timestamp al quale interrompere l'elenco. Può essere utilizzato solo con aisort=timestamp.

Tipo: timestamp (formati consentiti)
aiprop

Quali informazioni sul file ottenere:

timestamp
Adds timestamp for the uploaded version.
user
Adds the user who uploaded each file version. If the user has been revision deleted, a userhidden property will be returned.
userid
Add the ID of the user that uploaded each file version. If the user has been revision deleted, a userhidden property will be returned.
comment
Comment on the version. If the comment has been revision deleted, a commenthidden property will be returned.
parsedcomment
Parse the comment on the version. If the comment has been revision deleted, a commenthidden property will be returned.
canonicaltitle
Adds the canonical title of the file. If the file has been revision deleted, a filehidden property will be returned.
url
Gives URL to the file and the description page. If the file has been revision deleted, a filehidden property will be returned.
size
Adds the size of the file in bytes and the height, width and page count (if applicable).
dimensions
Alias for size.
sha1
Adds SHA-1 hash for the file. If the file has been revision deleted, a filehidden property will be returned.
mime
Aggiunge il tipo MIME del file. Se il file è stato cancellato dalla versione, sarà restituita una proprietà filehidden.
mediatype
Adds the media type of the file. If the file has been revision deleted, a filehidden property will be returned.
metadata
Lists Exif metadata for the version of the file. If the file has been revision deleted, a filehidden property will be returned.
commonmetadata
Lists file format generic metadata for the version of the file. If the file has been revision deleted, a filehidden property will be returned.
extmetadata
Lists formatted metadata combined from multiple sources. Results are HTML formatted. If the file has been revision deleted, a filehidden property will be returned.
bitdepth
Adds the bit depth of the version. If the file has been revision deleted, a filehidden property will be returned.
badfile
Adds whether the file is on the MediaWiki:Bad image list
Valori (separati da | o alternativa): badfile, bitdepth, canonicaltitle, comment, commonmetadata, dimensions, extmetadata, mediatype, metadata, mime, parsedcomment, sha1, size, timestamp, url, user, userid
Predefinito: timestamp|url
aiprefix

Search for all image titles that begin with this value. Can only be used with aisort=name.

aiminsize

Limit to images with at least this many bytes.

Type: integer
aimaxsize

Limit to images with at most this many bytes.

Type: integer
aisha1

SHA1 hash of image. Overrides aisha1base36.

aisha1base36

SHA1 hash of image in base 36 (used in MediaWiki).

aiuser

Only return files where the last version was uploaded by this user. Can only be used with aisort=timestamp. Cannot be used together with aifilterbots.

Tipo: utente, da uno qualsiasi nome utente, IP, Utente temporaneo, interwiki name (e.g. "prefix>ExampleName") e ID utente (ad esempio "#12345")
aifilterbots

How to filter files uploaded by bots. Can only be used with aisort=timestamp. Cannot be used together with aiuser.

Uno dei seguenti valori: all, bots, nobots
Predefinito: all
aimime

Disabled due to miser mode.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
ailimit

Quante immagini in totale restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10

list=allinfoboxes (api)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: Portable Infobox
  • Licenza: GPL-3.0-or-later

List all infoboxes

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Elenca tutti i collegamenti che puntano ad un namespace indicato.

Parametri specifici:
Sono disponibili altri parametri generali.
alcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

alfrom

Il titolo del collegamento da cui iniziare l'elenco.

alto

Il titolo del collegamento al quale interrompere l'elenco.

alprefix

Ricerca per tutti i titoli dei collegamenti che iniziano con questo valore.

alunique

Only show distinct linked titles. Cannot be used with alprop=ids. When used as a generator, yields target pages instead of source pages.

Tipo: booleano (dettagli)
alprop

Quali informazioni includere:

ids
Aggiunge l'ID pagina della pagina collegata (non può essere usato con alunique).
title
Aggiunge il titolo del collegamento.
Valori (separati da | o alternativa): ids, title
Predefinito: title
alnamespace

Il namespace da elencare.

Uno dei seguenti valori: -1, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
Predefinito: 0
allimit

Quanti elementi totali restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
aldir

La direzione in cui elencare.

Uno dei seguenti valori: ascending, descending
Predefinito: ascending
Esempi:
List linked titles, including missing ones, with page IDs they are from, starting at B.
api.php?action=query&list=alllinks&alfrom=B&alprop=ids|title [apri in una sandbox]
List unique linked titles.
api.php?action=query&list=alllinks&alunique=&alfrom=B [apri in una sandbox]
Gets all linked titles, marking the missing ones.
api.php?action=query&generator=alllinks&galunique=&galfrom=B [apri in una sandbox]
Ottieni le pagine contenenti i collegamenti.
api.php?action=query&generator=alllinks&galfrom=B [apri in una sandbox]

list=allpages (ap)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Enumerate all pages sequentially in a given namespace.

Parametri specifici:
Sono disponibili altri parametri generali.
apfrom

Il titolo di pagina da cui iniziare l'elenco.

apcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

apto

Il titolo di pagina al quale interrompere l'elenco.

apprefix

Ricerca per tutti i titoli delle pagine che iniziano con questo valore.

apnamespace

Il namespace da elencare.

Uno dei seguenti valori: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
Predefinito: 0
apfilterredir

Quali pagine elencare.

Note: Due to miser mode, using this may result in fewer than aplimit results returned before continuing; in extreme cases, zero results may be returned.

Uno dei seguenti valori: all, nonredirects, redirects
Predefinito: all
apfilterlanglinks

Filter based on whether a page has langlinks. Note that this may not consider langlinks added by extensions.

Uno dei seguenti valori: all, withlanglinks, withoutlanglinks
Predefinito: all
apminsize

Limit to pages with at least this many bytes.

Type: integer
apmaxsize

Limit to pages with at most this many bytes.

Type: integer
apprtype

Limita alle sole pagine protette.

Valori (separati da | o alternativa): edit, move, upload
apprlevel

Filter protections based on protection level (must be used with apprtype= parameter).

Valori (separati da | o alternativa): Can be empty, or autoconfirmed, centralnotice-admin, sysop
apprfiltercascade

Filter protections based on cascadingness (ignored when apprtype isn't set).

Uno dei seguenti valori: all, cascading, noncascading
Predefinito: all
apprexpiry

Which protection expiry to filter the page on:

indefinite
Get only pages with indefinite protection expiry.
definite
Get only pages with a definite (specific) protection expiry.
all
Get pages with any protections expiry.
Uno dei seguenti valori: all, definite, indefinite
Predefinito: all
aplimit

Quante pagine totali restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
apdir

La direzione in cui elencare.

Uno dei seguenti valori: ascending, descending
Predefinito: ascending

list=allredirects (ar)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

List all redirects to a namespace.

Parametri specifici:
Sono disponibili altri parametri generali.
arcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

arfrom

Il titolo del reindirizzamento da cui iniziare l'elenco.

arto

The title of the redirect to stop enumerating at.

arprefix

Search for all target pages that begin with this value.

arunique

Only show distinct target pages. Cannot be used with arprop=ids|fragment|interwiki. When used as a generator, yields target pages instead of source pages.

Tipo: booleano (dettagli)
arprop

Quali informazioni includere:

ids
Adds the page ID of the redirecting page (cannot be used with arunique).
title
Aggiunge il titolo del redirect.
fragment
Adds the fragment from the redirect, if any (cannot be used with arunique).
interwiki
Adds the interwiki prefix from the redirect, if any (cannot be used with arunique).
Valori (separati da | o alternativa): fragment, ids, interwiki, title
Predefinito: title
arnamespace

Il namespace da elencare.

Uno dei seguenti valori: -1, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
Predefinito: 0
arlimit

Quanti elementi totali restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
ardir

La direzione in cui elencare.

Uno dei seguenti valori: ascending, descending
Predefinito: ascending
Esempi:
List target pages, including missing ones, with page IDs they are from, starting at B.
api.php?action=query&list=allredirects&arfrom=B&arprop=ids|title [apri in una sandbox]
List unique target pages.
api.php?action=query&list=allredirects&arunique=&arfrom=B [apri in una sandbox]
Gets all target pages, marking the missing ones.
api.php?action=query&generator=allredirects&garunique=&garfrom=B [apri in una sandbox]
Ottieni le pagine contenenti i reindirizzamenti.
api.php?action=query&generator=allredirects&garfrom=B [apri in una sandbox]

list=allrevisions (arv)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Elenco di tutte le versioni.

Parametri specifici:
Sono disponibili altri parametri generali.
arvprop

Which properties to get for each revision:

ids
L'ID della versione.
flags
Revision flags (minor).
timestamp
Il timestamp della versione.
user
Utente che ha effettuato la versione. Se l'utente è stato cancellato dalla versione, sarà restituita una proprietà userhidden.
userid
ID utente dell'autore della versione. Se l'utente è stato cancellato dalla versione, sarà restituita una proprietà userhidden.
size
Length (bytes) of the revision.
slotsize
Length (bytes) of each revision slot.
sha1
SHA-1 (base 16) of the revision. If the content has been revision deleted, a sha1hidden property will be returned.
slotsha1
SHA-1 (base 16) of each revision slot. If the content has been revision deleted, a sha1hidden property will be returned.
contentmodel
Content model ID of each revision slot.
comment
Comment by the user for the revision. If the comment has been revision deleted, a commenthidden property will be returned.
parsedcomment
Parsed comment by the user for the revision. If the comment has been revision deleted, a commenthidden property will be returned.
content
Contenuto di ogni slot di versione. Se il contenuto è stato cancellato dalla versione, sarà restituita una proprietà texthidden. Per motivi di prestazioni, se viene utilizzata questa opzione, arvlimit viene applicato a 50.
tags
Etichette della versione.
roles
List content slot roles that exist in the revision.
parsetree
Deprecato. Use action=expandtemplates or action=parse instead. The XML parse tree of revision content (requires content model wikitext). For performance reasons, if this option is used, arvlimit is enforced to 50.
Valori (separati da | o alternativa): comment, content, contentmodel, flags, ids, parsedcomment, roles, sha1, size, slotsha1, slotsize, tags, timestamp, user, userid, parsetree
Predefinito: ids|timestamp|flags|comment|user
arvslots

Which revision slots to return data for, when slot-related properties are included in arvprops. If omitted, data from the main slot will be returned in a backwards-compatible format.

Valori (separati da | o alternativa): main
Per specificare tutti i valori, utilizza *.
arvcontentformat-{slot}

Content serialization format used for output of content.

This is a templated parameter. When making the request, {slot} in the parameter's name should be replaced with values of arvslots.
Uno dei seguenti valori: application/json, application/octet-stream, application/unknown, application/vnd.php.serialized, application/x-binary, application/xml, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
arvlimit

Limit how many revisions will be returned. If arvprop=content, arvprop=parsetree, arvdiffto or arvdifftotext is used, the limit is 50. If arvparse is used, the limit is 1.

Tipo: intero o max
The value must be between 1 and 500.
arvexpandtemplates
Deprecato.

Use action=expandtemplates instead. Expand templates in revision content (requires arvprop=content).

Tipo: booleano (dettagli)
arvgeneratexml
Deprecato.

Use action=expandtemplates or action=parse instead. Generate XML parse tree for revision content (requires arvprop=content).

Tipo: booleano (dettagli)
arvparse
Deprecato.

Use action=parse instead. Parse revision content (requires arvprop=content). For performance reasons, if this option is used, arvlimit is enforced to 1.

Tipo: booleano (dettagli)
arvsection

Only retrieve the content of the section with this identifier.

arvdiffto
Deprecato.

Use action=compare instead. Revision ID to diff each revision to. Use prev, next and cur for the previous, next and current revision respectively. For performance reasons, if this option is used, arvlimit is enforced to 50.

arvdifftotext
Deprecato.

Use action=compare instead. Text to diff each revision to. Only diffs a limited number of revisions. Overrides arvdiffto. If arvsection is set, only that section will be diffed against this text. For performance reasons, if this option is used, arvlimit is enforced to 50.

arvdifftotextpst
Deprecato.

Use action=compare instead. Perform a pre-save transform on the text before diffing it. Only valid when used with arvdifftotext.

Tipo: booleano (dettagli)
arvcontentformat
Deprecato.

Serialization format used for arvdifftotext and expected for output of content.

Uno dei seguenti valori: application/json, application/octet-stream, application/unknown, application/vnd.php.serialized, application/x-binary, application/xml, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
arvuser

Elenca solo le versioni di questo utente.

Tipo: utente, da uno qualsiasi nome utente, IP, Utente temporaneo, interwiki name (e.g. "prefix>ExampleName") e ID utente (ad esempio "#12345")
arvnamespace

Elenca solo le pagine in questo namespace.

Note: Due to miser mode, using this may result in fewer than arvlimit results returned before continuing; in extreme cases, zero results may be returned.

Valori (separati da | o alternativa): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Per specificare tutti i valori, utilizza *.
arvstart

Il timestamp da cui iniziare l'elenco.

Tipo: timestamp (formati consentiti)
arvend

Il timestamp al quale interrompere l'elenco.

Tipo: timestamp (formati consentiti)
arvdir

In which direction to enumerate:

newer
List oldest first. Note: arvstart has to be before arvend.
older
List newest first (default). Note: arvstart has to be later than arvend.
Uno dei seguenti valori: newer, older
Predefinito: older
arvexcludeuser

Non elencare le versioni di questo utente.

Tipo: utente, da uno qualsiasi nome utente, IP, Utente temporaneo, interwiki name (e.g. "prefix>ExampleName") e ID utente (ad esempio "#12345")
arvcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

arvgeneratetitles

When being used as a generator, generate titles rather than revision IDs.

Tipo: booleano (dettagli)

list=alltransclusions (at)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Elenca tutte le inclusioni (pagine incorporate utilizzando {{x}}), comprese le non esistenti.

Parametri specifici:
Sono disponibili altri parametri generali.
atcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

atfrom

Il titolo dell'inclusione da cui iniziare l'elenco.

atto

The title of the transclusion to stop enumerating at.

atprefix

Search for all transcluded titles that begin with this value.

atunique

Only show distinct transcluded titles. Cannot be used with atprop=ids. When used as a generator, yields target pages instead of source pages.

Tipo: booleano (dettagli)
atprop

Quali informazioni includere:

ids
Adds the page ID of the transcluding page (cannot be used with atunique).
title
Aggiunge il titolo dell'inclusione.
Valori (separati da | o alternativa): ids, title
Predefinito: title
atnamespace

Il namespace da elencare.

Uno dei seguenti valori: -1, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
Predefinito: 10
atlimit

Quanti elementi totali restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
atdir

La direzione in cui elencare.

Uno dei seguenti valori: ascending, descending
Predefinito: ascending
Esempi:
List transcluded titles, including missing ones, with page IDs they are from, starting at B.
api.php?action=query&list=alltransclusions&atfrom=B&atprop=ids|title [apri in una sandbox]
List unique transcluded titles.
api.php?action=query&list=alltransclusions&atunique=&atfrom=B [apri in una sandbox]
Gets all transcluded titles, marking the missing ones.
api.php?action=query&generator=alltransclusions&gatunique=&gatfrom=B [apri in una sandbox]
Ottieni pagine contenenti le inclusioni.
api.php?action=query&generator=alltransclusions&gatfrom=B [apri in una sandbox]

list=allusers (au)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Enumerate all registered users.

Parametri specifici:
Sono disponibili altri parametri generali.
aufrom

Il nome utente da cui iniziare l'elenco.

auto

Il nome utente al quale interrompere l'elenco.

auprefix

Ricerca per tutti gli utenti che iniziano con questo valore.

audir

Direzione dell'ordinamento.

Uno dei seguenti valori: ascending, descending
Predefinito: ascending
augroup

Includi solo gli utenti dei gruppi indicati. Non include gruppi impliciti o auto-promossi come *, utente o autoconfermato.

Valori (separati da | o alternativa): automoderated, autopatrolled, autoreview, blockedfromchat, bot, bureaucrat, chatmod, checkuser, checkuser-temporary-account-viewer, commentadmin, confirmed, copyviobot, editor, interface-admin, member, moderator, push-subscription-manager, reviewer, rollbacker, staff, steward, suppress, sysop, upwizcampeditors
auexcludegroup

Escludi gli utenti nei gruppi indicati.

Valori (separati da | o alternativa): automoderated, autopatrolled, autoreview, blockedfromchat, bot, bureaucrat, chatmod, checkuser, checkuser-temporary-account-viewer, commentadmin, confirmed, copyviobot, editor, interface-admin, member, moderator, push-subscription-manager, reviewer, rollbacker, staff, steward, suppress, sysop, upwizcampeditors
aurights

Only include users with the given rights. Does not include rights granted by implicit or auto-promoted groups like *, user, or autoconfirmed.

Valori (separati da | o alternativa): abusefilter-access-protected-vars, abusefilter-bypass-blocked-external-domains, abusefilter-hidden-log, abusefilter-hide-log, abusefilter-log, abusefilter-log-detail, abusefilter-log-private, abusefilter-modify, abusefilter-modify-blocked-external-domains, abusefilter-modify-global, abusefilter-modify-restricted, abusefilter-privatedetails, abusefilter-privatedetails-log, abusefilter-protected-vars-log, abusefilter-revert, abusefilter-view, abusefilter-view-private, addvideo, adminlinks, apihighlimits, applychangetags, approverevisions, autoconfirmed, autocreateaccount, autopatrol, avatarremove, awardsmanage, badoath, bigdelete, block, blockemail, bot, browsearchive, centralauth-createlocal, centralauth-lock, centralauth-merge, centralauth-rename, centralauth-suppress, centralauth-unmerge, centralnotice-admin, cfcachepurge, changeemail, changetags, chat, checkuser, checkuser-log, checkuser-temporary-account, checkuser-temporary-account-log, checkuser-temporary-account-no-preference, comment, comment-delete-own, commentadmin, commentlinks, confirmemail, createaccount, createclass, createpage, createtalk, createwiki, createwiki-deleterequest, createwiki-suppressionlog, createwiki-suppressrequest, datatransferimport, delete, delete-dump, delete-redirect, deletechangetags, deletedhistory, deletedtext, deletelogentry, deleterevision, dpl_param_delete_rules, dpl_param_update_rules, echo-create, edit, editcontentmodel, editinterface, editmyoptions, editmyprivateinfo, editmyusercss, editmyuserjs, editmyuserjson, editmyuserjsredirect, editmywatchlist, editoredict, editothersprofiles, editothersprofiles-private, editprotected, editrestrictedfields, editsemiprotected, editsitecss, editsitejs, editsitejson, edittilesheets, editusercss, edituserjs, edituserjson, embed_pdf, generate-dump, generate-random-hash, generatepages, giftadmin, globalblock, globalblock-exempt, globalblock-whitelist, globalgroupmembership, globalgrouppermissions, handle-import-request-interwiki, handle-import-requests, handle-pii, handle-reports, hideuser, import, importoredict, importtilesheets, importupload, interwiki, ipblock-exempt, item-merge, item-redirect, item-term, linkpurge, mailpassword, manage-all-push-subscriptions, managechangetags, managewiki-core, managewiki-editdefault, managewiki-extensions, managewiki-namespaces, managewiki-permissions, managewiki-restricted, managewiki-settings, markbotedits, mass-upload, masseditregex, massmessage, mergehistory, minoredit, mintydocs-administer, mintydocs-edit, mintydocs-editlive, modchat, moderation, move, move-categorypages, move-rootuserpages, move-subpages, movefile, multipageedit, mwoauthmanageconsumer, mwoauthmanagemygrants, mwoauthproposeconsumer, mwoauthsuppress, mwoauthupdateownconsumer, mwoauthviewprivate, mwoauthviewsuppressed, nominornewtalk, noratelimit, nuke, oathauth-api-all, oathauth-disable-for-user, oathauth-enable, oathauth-verify-user, oathauth-view-log, override-antispoof, override-export-depth, pagelang, pagetriage-copyvio, pagetriage-mark-action, pagetriage-tagging-action, patrol, patrolmarks, populate-user-profiles, property-create, property-term, protect, protectsite, purge, read, renameuser, renderfile, renderfile-nonstandard, report, request-import, requestwiki, reupload, reupload-own, reupload-shared, rollback, sboverride, sendemail, siteadmin, skip-moderation, skip-move-moderation, skipcaptcha, spamblacklistlog, stashbasehtml, stashedit, suppressionlog, suppressredirect, suppressrevision, tboverride, tboverride-account, titleblacklistlog, torunblocked, transcode-reset, transcode-status, unblockself, undelete, unwatchedpages, upload, upload_by_url, upwizcampaigns, urlshortcode, urlshortener-create-url, urlshortener-manage-url, urlshortener-view-log, userrights, userrights-interwiki, view-dump, view-private-import-requests, viewapprover, viewedittab, viewlinktolatest, viewmyprivateinfo, viewmywatchlist, viewpmlog, viewsuppressed, webchat, wikibase-idgenerator
Maximum number of values is 50 (500 for clients that are allowed higher limits).
auprop

Quali informazioni includere:

blockinfo
Adds the information about a current block on the user.
groups
Lists groups that the user is in. This uses more server resources and may return fewer results than the limit.
implicitgroups
Lists all the groups the user is automatically in.
rights
Lists rights that the user has.
editcount
Adds the edit count of the user.
registration
Adds the timestamp of when the user registered if available (may be blank).
centralids
Adds the central IDs and attachment status for the user.
Valori (separati da | o alternativa): blockinfo, centralids, editcount, groups, implicitgroups, registration, rights
aulimit

Quanti nomi utente totali restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
auwitheditsonly

Only list users who have made edits.

Tipo: booleano (dettagli)
auactiveusers

Only list users active in the last 30 days.

Tipo: booleano (dettagli)
auattachedwiki

With auprop=centralids, also indicate whether the user is attached with the wiki identified by this ID.

auexcludenamed

Exclude users of named accounts.

Tipo: booleano (dettagli)
auexcludetemp

Exclude users of temporary accounts.

Tipo: booleano (dettagli)
  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Trova tutte le pagine che puntano a quella specificata.

Parametri specifici:
Sono disponibili altri parametri generali.
bltitle

Title to search. Cannot be used together with blpageid.

blpageid

Page ID to search. Cannot be used together with bltitle.

Type: integer
blcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

blnamespace

Il namespace da elencare.

Valori (separati da | o alternativa): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Per specificare tutti i valori, utilizza *.
bldir

La direzione in cui elencare.

Uno dei seguenti valori: ascending, descending
Predefinito: ascending
blfilterredir

How to filter for redirects. If set to nonredirects when blredirect is enabled, this is only applied to the second level.

Uno dei seguenti valori: all, nonredirects, redirects
Predefinito: all
bllimit

How many total pages to return. If blredirect is enabled, the limit applies to each level separately (which means up to 2 * bllimit results may be returned).

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
blredirect

Se la pagina collegata è un redirect, trova tutte le pagine che puntano al redirect. Il limite massimo è dimezzato.

Tipo: booleano (dettagli)

list=betafeatures (bf)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: BetaFeatures
  • Licenza: GPL-2.0-or-later

Elenca tutte le funzionalità sperimentali

Parametro specifico:
Sono disponibili altri parametri generali.
bfcounts

Se si deve recuperare quanti utenti hanno attivato una certa preferenza.

Esempio:
Vedi tutte le funzionalità sperimentali disponibili e mostra quanti utenti le hanno attivate
api.php?action=query&list=betafeatures&bfcounts= [apri in una sandbox]

list=blocks (bk)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

List all blocked users and IP addresses.

Parametri specifici:
Sono disponibili altri parametri generali.
bkstart

Il timestamp da cui iniziare l'elenco.

Tipo: timestamp (formati consentiti)
bkend

Il timestamp al quale interrompere l'elenco.

Tipo: timestamp (formati consentiti)
bkdir

In which direction to enumerate:

newer
List oldest first. Note: bkstart has to be before bkend.
older
List newest first (default). Note: bkstart has to be later than bkend.
Uno dei seguenti valori: newer, older
Predefinito: older
bkids

List of block IDs to list (optional).

Type: list of integers
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
bkusers

List of users to search for (optional).

Tipo: elenco di utenti, da uno qualsiasi nome utente, IP, Utente temporaneo e Intervallo di IP
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
bkip

Get all blocks applying to this IP address or CIDR range, including range blocks. Cannot be used together with bkusers. CIDR ranges broader than IPv4/16 or IPv6/19 are not accepted.

bklimit

Il numero massimo di blocchi da elencare.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
bkprop

Quali proprietà ottenere:

id
Aggiunge l'ID del blocco.
user
Aggiunge il nome utente dell'utente bloccato.
userid
Aggiunge l'ID utente dell'utente bloccato.
by
Aggiunge il nome utente dell'utente che ha effettuato il blocco.
byid
Aggiunge l'ID utente dell'utente che ha effettuato il blocco.
timestamp
Adds the timestamp of when the block was given.
expiry
Adds the timestamp of when the block expires.
reason
Adds the reason given for the block.
range
Adds the range of IP addresses affected by the block.
flags
Tags the ban with (autoblock, anononly, etc.).
restrictions
Adds the partial block restrictions if the block is not sitewide.
Valori (separati da | o alternativa): by, byid, expiry, flags, id, range, reason, restrictions, timestamp, user, userid
Predefinito: id|user|by|timestamp|expiry|reason|flags
bkshow

Show only items that meet these criteria. For example, to see only indefinite blocks on IP addresses, set bkshow=ip|!temp.

Valori (separati da | o alternativa): !account, !ip, !range, !temp, account, ip, range, temp
bkcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

list=categorymembers (cm)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Elenca tutte le pagine in una categoria indicata.

Parametri specifici:
Sono disponibili altri parametri generali.
cmtitle

Which category to enumerate (required). Must include the Categoria: prefix. Cannot be used together with cmpageid.

cmpageid

Page ID of the category to enumerate. Cannot be used together with cmtitle.

Type: integer
cmprop

Quali informazioni includere:

ids
Aggiunge l'ID pagina.
title
Aggiunge il titolo e l'ID namespace della pagina.
sortkey
Adds the sortkey used for sorting in the category (hexadecimal string).
sortkeyprefix
Adds the sortkey prefix used for sorting in the category (human-readable part of the sortkey).
type
Aggiunge il tipo di come la pagina è stata categorizzata (page, subcat o file).
timestamp
Adds the timestamp of when the page was included.
Valori (separati da | o alternativa): ids, sortkey, sortkeyprefix, timestamp, title, type
Predefinito: ids|title
cmnamespace

Includi solo le pagine in questi namespace. Nota che può essere usato cmtype=subcat o cmtype=file anziché cmnamespace=14 o 6.

Note: Due to miser mode, using this may result in fewer than cmlimit results returned before continuing; in extreme cases, zero results may be returned.

Valori (separati da | o alternativa): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Per specificare tutti i valori, utilizza *.
cmtype

Which type of category members to include. Ignored when cmsort=timestamp is set.

Valori (separati da | o alternativa): file, page, subcat
Predefinito: page|subcat|file
cmcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

cmlimit

Il numero massimo di pagine da restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
cmsort

Proprietà di ordinamento.

Uno dei seguenti valori: sortkey, timestamp
Predefinito: sortkey
cmdir

In quale direzione ordinare.

Uno dei seguenti valori: asc, ascending, desc, descending, newer, older
Predefinito: ascending
cmstart

Il timestamp da cui iniziare l'elenco. Può essere utilizzato solo con cmsort=timestamp.

Tipo: timestamp (formati consentiti)
cmend

Il timestamp al quale interrompere l'elenco. Può essere utilizzato solo con cmsort=timestamp.

Tipo: timestamp (formati consentiti)
cmstarthexsortkey

Sortkey to start listing from, as returned by cmprop=sortkey. Can only be used with cmsort=sortkey.

cmendhexsortkey

Sortkey to end listing at, as returned by cmprop=sortkey. Can only be used with cmsort=sortkey.

cmstartsortkeyprefix

Sortkey prefix to start listing from. Can only be used with cmsort=sortkey. Overrides cmstarthexsortkey.

cmendsortkeyprefix

Sortkey prefix to end listing before (not at; if this value occurs it will not be included!). Can only be used with cmsort=sortkey. Overrides cmendhexsortkey.

cmstartsortkey
Deprecato.

Usa cmstarthexsortkey invece.

cmendsortkey
Deprecato.

Usa cmendhexsortkey invece.

list=centralnoticeactivecampaigns (cnac)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: CentralNotice
  • Licenza: GPL-2.0-or-later

Get a list of currently active campaigns with start and end dates and associated banners.

Parametro specifico:
Sono disponibili altri parametri generali.
cnacincludefuture

Include enabled future campaigns (as well as currently active campaigns).

Tipo: booleano (dettagli)
Esempio:
Get a list of currently active campaigns with start and end dates and associated banners.
api.php?action=query&list=centralnoticeactivecampaigns&format=json [apri in una sandbox]

list=centralnoticelogs

  • Questo modulo richiede i diritti di lettura.
  • Fonte: CentralNotice
  • Licenza: GPL-2.0-or-later

Get a log of campaign configuration changes.

Parametri specifici:
Sono disponibili altri parametri generali.
campaign

Campaign name (optional). Separate multiple values with a "|" (vertical bar).

user

Nome utente (facoltativo)

limit

Numero massimo di righe da restituire (opzionale).

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 50
offset

Offset into result set (optional).

Type: integer
Predefinito: 0
start

Start time of range (optional).

Tipo: timestamp (formati consentiti)
end

End time of range (optional).

Tipo: timestamp (formati consentiti)

list=checkuser (cu)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: CheckUser
  • Licenza: GPL-2.0-or-later

Controlla quali indirizzi IP vengono usati da un determinato nome utente o quali nomi utente vengono usati da un dato indirizzo IP.

Parametri specifici:
Sono disponibili altri parametri generali.
curequest

Tipo di richiesta CheckUser:

userips
Get IP address of target user.
edits
Deprecato. Get actions performed by target IP address or range.
actions
Get actions performed by target IP address or range.
ipusers
Get users from target IP address or range.
Questo parametro è obbligatorio.
Uno dei seguenti valori: actions, ipusers, userips, edits
cutarget

Nome utente, indirizzo IP, o range CIDR da controllare.

Questo parametro è obbligatorio.
Tipo: utente, da uno qualsiasi nome utente, IP, Utente temporaneo e Intervallo di IP
cureason

Ragione per controllare.

Predefinito: (vuoto)
culimit

Limite di righe.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 500
cutimecond

Il limite di tempo dei dati utente (come "-2 weeks" o "2 weeks ago").

Predefinito: -2 weeks
cuxff

Utilizzare dati XFF invece dell'indirizzo IP.

cutoken

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

Questo parametro è obbligatorio.

list=checkuserlog (cul)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: CheckUser
  • Licenza: GPL-2.0-or-later

Ottieni i risultati dal registro CheckUser.

Parametri specifici:
Sono disponibili altri parametri generali.
culuser

Nome del CheckUser.

cultarget

Utente, indirizzo IP, o range CIDR controllato.

culreason

Reason given for the check.

cullimit

Limite di righe.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
culdir

In which direction to enumerate:

newer
List oldest first. Note: culfrom has to be before culto.
older
List newest first (default). Note: culfrom has to be later than culto.
Uno dei seguenti valori: newer, older
Predefinito: older
culfrom

Il timestamp da cui iniziare l'elenco.

Tipo: timestamp (formati consentiti)
culto

Il timestamp al quale interrompere l'elenco.

Tipo: timestamp (formati consentiti)
culcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

list=deletedrevs (dr)

  • Questo modulo è deprecato.
  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

List deleted revisions.

Operates in three modes:

  1. List deleted revisions for the given titles, sorted by timestamp.
  2. List deleted contributions for the given user, sorted by timestamp (no titles specified).
  3. List all deleted revisions in the given namespace, sorted by title and timestamp (no titles specified, druser not set).

Certain parameters only apply to some modes and are ignored in others.

Parametri specifici:
Sono disponibili altri parametri generali.
drstart

Il timestamp da cui iniziare l'elenco.

Modes: 1, 2
Tipo: timestamp (formati consentiti)
drend

Il timestamp al quale interrompere l'elenco.

Modes: 1, 2
Tipo: timestamp (formati consentiti)
drdir

In which direction to enumerate:

newer
List oldest first. Note: drstart has to be before drend.
older
List newest first (default). Note: drstart has to be later than drend.
Modes: 1, 3
Uno dei seguenti valori: newer, older
Predefinito: older
drfrom

Inizia elenco a questo titolo.

Mode: 3
drto

Interrompi elenco a questo titolo.

Mode: 3
drprefix

Ricerca per tutti i titoli delle pagine che iniziano con questo valore.

Mode: 3
drunique

Elenca solo una versione per ogni pagina.

Mode: 3
Tipo: booleano (dettagli)
drnamespace

Elenca solo le pagine in questo namespace.

Mode: 3
Uno dei seguenti valori: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
Predefinito: 0
drtag

Elenca solo le versioni etichettate con questa etichetta.

druser

Elenca solo le versioni di questo utente.

Tipo: utente, da uno qualsiasi nome utente, IP, Utente temporaneo, interwiki name (e.g. "prefix>ExampleName") e ID utente (ad esempio "#12345")
drexcludeuser

Non elencare le versioni di questo utente.

Tipo: utente, da uno qualsiasi nome utente, IP, Utente temporaneo, interwiki name (e.g. "prefix>ExampleName") e ID utente (ad esempio "#12345")
drprop

Which properties to get:

revid
Adds the revision ID of the deleted revision.
parentid
Adds the revision ID of the previous revision to the page.
user
Adds the user who made the revision.
userid
Adds the ID of the user who made the revision.
comment
Adds the comment of the revision.
parsedcomment
Adds the parsed comment of the revision.
minor
Tags if the revision is minor.
len
Adds the length (bytes) of the revision.
sha1
Adds the SHA-1 (base 16) of the revision.
content
Aggiunge il contenuto della versione. Per motivi di prestazioni, se viene utilizzata questa opzione, drlimit viene applicato a 50.
token
Deprecato. Gives the edit token.
tags
Tags for the revision.
Valori (separati da | o alternativa): comment, content, len, minor, parentid, parsedcomment, revid, sha1, tags, user, userid, token
Predefinito: user|comment
drlimit

Il numero massimo di versioni da elencare. Se viene utilizzato drprop=content, il limite è 50.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
drcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

Esempi:
List the last deleted revisions of the pages Home and Talk:Main Page, with content (mode 1).
api.php?action=query&list=deletedrevs&titles=Home|Discussione%3AHome&drprop=user|comment|content [apri in una sandbox]
List the last 50 deleted contributions by Bob (mode 2).
api.php?action=query&list=deletedrevs&druser=Bob&drlimit=50 [apri in una sandbox]
List the first 50 deleted revisions in the main namespace (mode 3).
api.php?action=query&list=deletedrevs&drdir=newer&drlimit=50 [apri in una sandbox]
List the first 50 deleted pages in the Discussione namespace (mode 3).
api.php?action=query&list=deletedrevs&drdir=newer&drlimit=50&drnamespace=1&drunique= [apri in una sandbox]

list=embeddedin (ei)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Trova tutte le pagine che incorporano (transclusione) il titolo specificato.

Parametri specifici:
Sono disponibili altri parametri generali.
eititle

Title to search. Cannot be used together with eipageid.

eipageid

Page ID to search. Cannot be used together with eititle.

Type: integer
eicontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

einamespace

Il namespace da elencare.

Valori (separati da | o alternativa): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Per specificare tutti i valori, utilizza *.
eidir

La direzione in cui elencare.

Uno dei seguenti valori: ascending, descending
Predefinito: ascending
eifilterredir

How to filter for redirects.

Uno dei seguenti valori: all, nonredirects, redirects
Predefinito: all
eilimit

Quante pagine totali restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10

list=exturlusage (eu)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Enumerate pages that contain a given URL.

Parametri specifici:
Sono disponibili altri parametri generali.
euprop

Quali informazioni includere:

ids
Aggiunge l'ID della pagina.
title
Aggiunge il titolo e l'ID namespace della pagina.
url
Aggiunge l'URL utilizzato nella pagina.
Valori (separati da | o alternativa): ids, title, url
Predefinito: ids|title|url
eucontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

euprotocol

Protocol of the URL. If empty and euquery is set, the protocol is http and https. Leave both this and euquery empty to list all external links.

Uno dei seguenti valori: Can be empty, or bitcoin, ftp, ftps, geo, git, gopher, http, https, irc, ircs, magnet, mailto, matrix, mms, news, nntp, redis, sftp, sip, sips, sms, ssh, svn, tel, telnet, urn, worldwind, xmpp
Predefinito: (vuoto)
euquery

Search string without protocol. See Special:LinkSearch. Leave empty to list all external links.

eunamespace

I namespace da elencare.

Note: Due to miser mode, using this may result in fewer than eulimit results returned before continuing; in extreme cases, zero results may be returned.

Valori (separati da | o alternativa): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Per specificare tutti i valori, utilizza *.
eulimit

Quante pagine restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
euexpandurl
Deprecato.

Expand protocol-relative URLs with the canonical protocol.

Tipo: booleano (dettagli)

list=filearchive (fa)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Enumerate all deleted files sequentially.

Parametri specifici:
Sono disponibili altri parametri generali.
fafrom

Il titolo dell'immagine da cui iniziare l'elenco.

fato

The image title to stop enumerating at.

faprefix

Search for all image titles that begin with this value.

fadir

La direzione in cui elencare.

Uno dei seguenti valori: ascending, descending
Predefinito: ascending
fasha1

SHA1 hash of image. Overrides fasha1base36.

fasha1base36

SHA1 hash of image in base 36 (used in MediaWiki).

faprop

Which image information to get:

sha1
Adds SHA-1 hash for the image.
timestamp
Adds timestamp for the uploaded version.
user
Adds user who uploaded the image version.
size
Adds the size of the image in bytes and the height, width and page count (if applicable).
dimensions
Alias for size.
description
Adds description of the image version.
parseddescription
Parse the description of the version.
mime
Aggiunge MIME dell'immagine.
mediatype
Adds the media type of the image.
metadata
Elenca i metadati Exif per la versione dell'immagine.
bitdepth
Aggiunge la profondità di bit della versione.
archivename
Adds the filename of the archive version for non-latest versions.
Valori (separati da | o alternativa): archivename, bitdepth, description, dimensions, mediatype, metadata, mime, parseddescription, sha1, size, timestamp, user
Predefinito: timestamp
falimit

Quante immagini restituire in totale.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
facontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

Esempio:
Mostra un elenco di tutti i file cancellati.
api.php?action=query&list=filearchive [apri in una sandbox]

list=gadgetcategories (gc)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: Gadgets
  • Licenza: GPL-2.0-or-later

Restituisce un elenco di categorie di accessori.

Parametri specifici:
Sono disponibili altri parametri generali.
gcprop

What gadget category information to get:

name
Internal category name.
title
Category title.
members
Number of gadgets in category.
Valori (separati da | o alternativa): members, name, title
Predefinito: name
gcnames

Nomi delle categorie da recuperare.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Esempi:
Ottieni un elenco di categorie di accessori esistenti
api.php?action=query&list=gadgetcategories [apri in una sandbox]
Ottieni tutte le informazioni sulle categorie denominate "foo" e "bar"
api.php?action=query&list=gadgetcategories&gcnames=foo|bar&gcprop=name|title|members [apri in una sandbox]

list=gadgets (ga)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: Gadgets
  • Licenza: GPL-2.0-or-later

Returns a list of gadgets used on this wiki.

Parametri specifici:
Sono disponibili altri parametri generali.
gaprop

What gadget information to get:

id
Internal gadget ID.
metadata
The gadget metadata.
desc
Gadget description transformed into HTML (can be slow, use only if really needed).
Valori (separati da | o alternativa): desc, id, metadata
Predefinito: id|metadata
gacategories

Gadgets from what categories to retrieve.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
gaids

ID degli accessori da recuperare.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
gaallowedonly

Elenca solo accessori consentiti all'utente attuale.

Tipo: booleano (dettagli)
gaenabledonly

Elenca solo accessori attivati dall'utente attuale.

Tipo: booleano (dettagli)
Esempi:
Get a list of gadgets along with their descriptions
api.php?action=query&list=gadgets&gaprop=id|desc [apri in una sandbox]
Get a list of gadgets with all possible properties
api.php?action=query&list=gadgets&gaprop=id|metadata|desc [apri in una sandbox]
Get a list of gadgets belonging to category "foo"
api.php?action=query&list=gadgets&gacategories=foo [apri in una sandbox]
Get information about gadgets "foo" and "bar"
api.php?action=query&list=gadgets&gaids=foo|bar&gaprop=id|desc|metadata [apri in una sandbox]
Get a list of gadgets enabled by current user
api.php?action=query&list=gadgets&gaenabledonly [apri in una sandbox]

list=geosearch (gs)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: GeoData
  • Licenza: WTFPL

Returns pages having coordinates that are located in a certain area.

Parametri specifici:
Sono disponibili altri parametri generali.
gscoord

Coordinate around which to search.

Formato: latitudine e longitudine separati da una barra verticale (|).

gspage

Title of page around which to search.

gsbbox

Bounding box to search in: pipe (|) separated coordinates of top left and bottom right corners.

gsradius

Search radius in meters.

Type: integer
The value must be between 10 and 10 000.
Predefinito: 500
gsmaxdim

Restrict search to objects no larger than this, in meters.

Type: integer
gssort

Set the sort order of returned results.

distance
Rank pages by their distance to the center.
relevance
Rank pages by their relevance according to CirrusSearch, similar to how Special:Search does it. Currently only supported on wikis that use the ElasticSearch backend, see mw:Extension:GeoData.
Uno dei seguenti valori: distance, relevance
Predefinito: distance
gslimit

Numero massimo di pagine da restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
gsglobe

Globe to search on. See mw:Special:MyLanguage/Extension:GeoData for details.

Uno dei seguenti valori: earth
Predefinito: earth
gsnamespace

Namespaces to search.

Valori (separati da | o alternativa): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Per specificare tutti i valori, utilizza *.
Predefinito: 0
gsprop

Quali proprietà addizionali delle coordinate restituire. (Proprietà sempre restituite: lat, lon, e primary o secondary come flag booleano.)

type
Type of the object the coordinates point to. See mw:Special:MyLanguage/Extension:GeoData for details.
name
Nome dell'oggetto.
dim
Dimensioni approssimative dell'oggetto in metri.
country
ISO 3166-1 alpha-2 country code (e.g. US or RU).
region
ISO 3166-2 region code (the part of the ISO 3166-2 code after the dash; e.g. FL or MOS).
globe
Which terrestrial body the coordinates are relative to (e.g. moon or pluto). Defaults to Earth. See mw:Special:MyLanguage/Extension:GeoData for details.
Valori (separati da | o alternativa): country, dim, globe, name, region, type
Predefinito: globe
gsprimary

Che tipo di coordinate restituire.

primary
The location of the subject of the article. There is at most one primary coordinate per title.
secondary
The location of some object that's mentioned in the article. Any number of secondary coordinates can be associated with a title.
all
Return both primary and secondary coordinates.
Uno dei seguenti valori: all, primary, secondary
Predefinito: primary

list=globalallusers (agu)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: CentralAuth
  • Licenza: GPL-2.0-or-later

Enumerate all global users.

Parametri specifici:
Sono disponibili altri parametri generali.
agufrom

Il nome utente da cui iniziare l'elenco.

aguto

Il nome utente al quale interrompere l'elenco.

aguprefix

Ricerca per tutti gli utenti che iniziano con questo valore.

agudir

Direzione dell'ordinamento.

Uno dei seguenti valori: ascending, descending
Predefinito: ascending
agugroup

Limit users to given global groups.

Valori (separati da | o alternativa): abusefilter, safety, staff_team, steward, sysadmin
aguexcludegroup

Exclude users in given global groups.

Valori (separati da | o alternativa): abusefilter, safety, staff_team, steward, sysadmin
aguprop

What pieces of information to include:

lockinfo
Whether the user account is locked.
groups
Lists global groups that the user is in. This uses more server resources and may return fewer results than the limit.
existslocally
Adds the information if the user exists locally.
Valori (separati da | o alternativa): existslocally, groups, lockinfo
agulimit

Quanti nomi utente totali restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
aguexcludenamed

Exclude users of named accounts.

Tipo: booleano (dettagli)
aguexcludetemp

Exclude users of temporary accounts.

Tipo: booleano (dettagli)

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

Parametri specifici:
Sono disponibili altri parametri generali.
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
Predefinito: 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.
Predefinito: 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
Predefinito: id|target|by|timestamp|expiry|reason
Esempi:
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]

list=globalgroups (ggp)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: CentralAuth
  • Licenza: GPL-2.0-or-later

Enumerate all global groups.

Parametro specifico:
Sono disponibili altri parametri generali.
ggpprop

Che tipo di informazioni includere.

Valori (separati da | o alternativa): rights

list=imageusage (iu)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Trova tutte le pagine che utilizzano il titolo dell'immagine specificato.

Parametri specifici:
Sono disponibili altri parametri generali.
iutitle

Title to search. Cannot be used together with iupageid.

iupageid

Page ID to search. Cannot be used together with iutitle.

Type: integer
iucontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

iunamespace

Il namespace da elencare.

Valori (separati da | o alternativa): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Per specificare tutti i valori, utilizza *.
iudir

La direzione in cui elencare.

Uno dei seguenti valori: ascending, descending
Predefinito: ascending
iufilterredir

How to filter for redirects. If set to nonredirects when iuredirect is enabled, this is only applied to the second level.

Uno dei seguenti valori: all, nonredirects, redirects
Predefinito: all
iulimit

How many total pages to return. If iuredirect is enabled, the limit applies to each level separately (which means up to 2 * iulimit results may be returned).

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
iuredirect

Se la pagina collegata è un redirect, trova tutte le pagine che puntano al redirect. Il limite massimo è dimezzato.

Tipo: booleano (dettagli)
  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Find all pages that link to the given interwiki link.

Can be used to find all links with a prefix, or all links to a title (with a given prefix). Using neither parameter is effectively "all interwiki links".

Parametri specifici:
Sono disponibili altri parametri generali.
iwblprefix

Prefisso per l'interwiki.

iwbltitle

Interwiki link to search for. Must be used with iwblblprefix.

iwblcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

iwbllimit

Quante pagine totali restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
iwblprop

Quali proprietà ottenere:

iwprefix
Aggiunge il prefisso dell'interwiki.
iwtitle
Aggiunge il titolo dell'interwiki.
Valori (separati da | o alternativa): iwprefix, iwtitle
Predefinito: (vuoto)
iwbldir

La direzione in cui elencare.

Uno dei seguenti valori: ascending, descending
Predefinito: ascending
  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Find all pages that link to the given language link.

Can be used to find all links with a language code, or all links to a title (with a given language). Using neither parameter is effectively "all language links".

Note that this may not consider language links added by extensions.

Parametri specifici:
Sono disponibili altri parametri generali.
lbllang

Language for the language link.

lbltitle

Language link to search for. Must be used with lbllang.

lblcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

lbllimit

Quante pagine totali restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
lblprop

Quali proprietà ottenere:

lllang
Adds the language code of the language link.
lltitle
Aggiunge il titolo del collegamento linguistico.
Valori (separati da | o alternativa): lllang, lltitle
Predefinito: (vuoto)
lbldir

La direzione in cui elencare.

Uno dei seguenti valori: ascending, descending
Predefinito: ascending

list=linterrors (lnt)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: Linter
  • Licenza: GPL-2.0-or-later

Ottieni lista di errori di Lint

Parametri specifici:
Sono disponibili altri parametri generali.
lntcategories

Categorie di errori di Lint

Valori (separati da | o alternativa): bogus-image-options, deletable-table-tag, duplicate-ids, fostered, fostered-transparent, html5-misnesting, large-tables, misc-tidy-replacement-issues, misnested-tag, missing-end-tag, missing-end-tag-in-heading, multi-colon-escape, multiline-html-table-in-list, multiple-unclosed-formatting-tags, night-mode-unaware-background-color, obsolete-tag, pwrap-bug-workaround, self-closed-tag, stripped-tag, tidy-font-bug, tidy-whitespace-bug, unclosed-quotes-in-heading, wikilink-in-extlink
Predefinito: deletable-table-tag|duplicate-ids|html5-misnesting|misc-tidy-replacement-issues|multiline-html-table-in-list|multiple-unclosed-formatting-tags|pwrap-bug-workaround|self-closed-tag|tidy-font-bug|tidy-whitespace-bug|unclosed-quotes-in-heading|bogus-image-options|fostered|misnested-tag|multi-colon-escape|wikilink-in-extlink|missing-end-tag|missing-end-tag-in-heading|night-mode-unaware-background-color|obsolete-tag|stripped-tag
lntlimit

Numero risultati da richiedere

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
lntnamespace

Includi solo errori di Lint dai namespace specificati

Valori (separati da | o alternativa): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Per specificare tutti i valori, utilizza *.
lntpageid

Includi solo errori di Lint da ID pagine specificati

Type: list of integers
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
lnttitle

Includi solo errori di Lint dai titoli pagine specificati

lntfrom

ID Lint da cui iniziare la ricerca

Type: integer
Esempio:
Ottieni tutti gli errori di Lint della categoria "obsolete-tag"
api.php?action=query&list=linterrors&lntcategories=obsolete-tag [apri in una sandbox]

list=logevents (le)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Get events from logs.

Parametri specifici:
Sono disponibili altri parametri generali.
leprop

Quali proprietà ottenere:

ids
Adds the ID of the log event.
title
Aggiunge il titolo della pagine per l'evento nel registro.
type
Adds the type of log event.
user
Adds the user responsible for the log event. If the user has been revision deleted, a userhidden property will be returned.
userid
Adds the user ID who was responsible for the log event. If the user has been revision deleted, a userhidden property will be returned.
timestamp
Adds the timestamp for the log event.
comment
Adds the comment of the log event. If the comment has been revision deleted, a commenthidden property will be returned.
parsedcomment
Adds the parsed comment of the log event. If the comment has been revision deleted, a commenthidden property will be returned.
details
Lists additional details about the log event. If the log event has been revision deleted, an actionhidden property will be returned.
tags
Lists tags for the log event.
Valori (separati da | o alternativa): comment, details, ids, parsedcomment, tags, timestamp, title, type, user, userid
Predefinito: ids|title|type|user|timestamp|comment|details
letype

Filter log entries to only this type.

Uno dei seguenti valori: Can be empty, or abusefilter, abusefilter-protected-vars, abusefilterblockeddomainhit, abusefilterprivatedetails, approval, avatar, block, chat, checkuser-temporary-account, comments, contentmodel, create, datadump, delete, farmer, farmersuppression, gblblock, gblrename, gblrights, globalauth, import, importdump, importdumpprivate, interwiki, managetags, managewiki, massmessage, merge, moderation, move, newusers, oath, oredict, pagetriage-copyvio, pagetriage-curation, patrol, privatechat, profile, protect, removepii, renameuser, rights, spamblacklist, suppress, tag, timedmediahandler, titleblacklist, upload, urlshortener, video
leaction

Filter log actions to only this action. Overrides letype. In the list of possible values, values with the asterisk wildcard such as action/* can have different strings after the slash (/).

Uno dei seguenti valori: abusefilter-protected-vars/*, abusefilter/create, abusefilter/hit, abusefilter/modify, abusefilterblockeddomainhit/*, abusefilterprivatedetails/access, approval/approve, approval/approvefile, approval/unapprove, avatar/avatar, block/block, block/reblock, block/unblock, chat/*, checkuser-private-event/*, checkuser-temporary-account/*, comments/add, comments/delete, contentmodel/change, contentmodel/new, create/create, datadump/delete, datadump/generate, datadump/generate-completed, datadump/generate-failed, datadump/generate-in-progress, delete/delete, delete/delete_redir, delete/delete_redir2, delete/event, delete/restore, delete/revision, farmer/comment, farmer/create-failure, farmer/createwiki, farmer/requestapprove, farmer/requestdecline, farmer/requestmoredetails, farmer/requestonhold, farmer/requestreopen, farmer/requestwiki, farmersuppression/*, gblblock/*, gblblock/gunblock, gblrename/merge, gblrename/promote, gblrename/rename, gblrights/deleteset, gblrights/groupperms, gblrights/groupprms2, gblrights/groupprms3, gblrights/grouprename, gblrights/newset, gblrights/setchange, gblrights/setnewtype, gblrights/setrename, gblrights/usergroups, globalauth/delete, globalauth/hide, globalauth/lock, globalauth/lockandhid, globalauth/setstatus, globalauth/unhide, globalauth/unlock, import/interwiki, import/upload, importdump/*, importdumpprivate/*, interwiki/*, managetags/activate, managetags/create, managetags/deactivate, managetags/delete, managewiki/*, massmessage/*, massmessage/failure, massmessage/send, massmessage/skipbadns, massmessage/skipnouser, massmessage/skipoptout, merge/merge, moderation/*, move/move, move/move_redir, newusers/autocreate, newusers/byemail, newusers/create, newusers/create2, newusers/forcecreatelocal, newusers/newusers, oath/*, oredict/*, pagetriage-copyvio/delete, pagetriage-copyvio/insert, pagetriage-curation/delete, pagetriage-curation/enqueue, pagetriage-curation/reviewed, pagetriage-curation/reviewed-article, pagetriage-curation/reviewed-redirect, pagetriage-curation/tag, pagetriage-curation/unreviewed, pagetriage-curation/unreviewed-article, pagetriage-curation/unreviewed-redirect, patrol/autopatrol, patrol/patrol, privatechat/*, profile/profile, protect/modify, protect/move_prot, protect/protect, protect/unprotect, removepii/*, renameuser/renameuser, rights/autopromote, rights/blockautopromote, rights/restoreautopromote, rights/rights, spamblacklist/*, suppress/block, suppress/cadelete, suppress/delete, suppress/event, suppress/hide-afl, suppress/reblock, suppress/revision, suppress/setstatus, suppress/unhide-afl, tag/update, timedmediahandler/resettranscode, titleblacklist/*, upload/overwrite, upload/revert, upload/upload, urlshortener/*, video/*
lestart

Il timestamp da cui iniziare l'elenco.

Tipo: timestamp (formati consentiti)
leend

Il timestamp al quale interrompere l'elenco.

Tipo: timestamp (formati consentiti)
ledir

In which direction to enumerate:

newer
List oldest first. Note: lestart has to be before leend.
older
List newest first (default). Note: lestart has to be later than leend.
Uno dei seguenti valori: newer, older
Predefinito: older
leuser

Filter entries to those made by the given user.

Tipo: utente, da uno qualsiasi nome utente, IP, Utente temporaneo, interwiki name (e.g. "prefix>ExampleName") e ID utente (ad esempio "#12345")
letitle

Filter entries to those related to a page.

lenamespace

Filter entries to those in the given namespace.

Uno dei seguenti valori: -1, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
leprefix

Disabled due to miser mode.

letag

Only list event entries tagged with this tag.

lelimit

How many total event entries to return.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
lecontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

list=mystashedfiles (msf)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Get a list of files in the current user's upload stash.

Parametri specifici:
Sono disponibili altri parametri generali.
msfprop

Quali proprietà recuperare per il file.

size
Recupera la dimensione del file e le dimensioni dell'immagine.
type
Recupera il tipo MIME del file e il tipo media.
Valori (separati da | o alternativa): size, type
Predefinito: (vuoto)
msflimit

Quanti file restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
msfcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

Esempio:
Get the filekey, file size, and pixel size of files in the current user's upload stash.
api.php?action=query&list=mystashedfiles&msfprop=size [apri in una sandbox]

list=oredictsearch (od)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: OreDict
  • Licenza: MIT

Searches for OreDict entries that meet specific criteria defined by the optional parameters.

Parametri specifici:
Sono disponibili altri parametri generali.
odlimit

The maximum number of entries to list.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
odprefix

Restricts results to those that have a tag alphabetically after the prefix.

Predefinito: (vuoto)
odmod

Restricts results to this mod.

Predefinito: (vuoto)
odtag

Restricts results to this tag name.

Predefinito: (vuoto)
odname

Restricts results to this item name.

Predefinito: (vuoto)
odfrom

The entry ID to start listing at.

Type: integer
The value must be no less than 0.
Predefinito: 0

list=pagepropnames (ppn)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

List all page property names in use on the wiki.

Parametri specifici:
Sono disponibili altri parametri generali.
ppncontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

ppnlimit

The maximum number of names to return.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10

list=pageswithprop (pwp)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

List all pages using a given page property.

Parametri specifici:
Sono disponibili altri parametri generali.
pwppropname

Page property for which to enumerate pages (action=query&list=pagepropnames returns page property names in use).

Questo parametro è obbligatorio.
pwpprop

Quali informazioni includere:

ids
Aggiunge l'ID pagina.
title
Aggiunge il titolo e l'ID namespace della pagina.
value
Aggiunge il valore della proprietà di pagina.
Valori (separati da | o alternativa): ids, title, value
Predefinito: ids|title
pwpcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

pwplimit

Il numero massimo di pagine da restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
pwpdir

In quale direzione ordinare.

Uno dei seguenti valori: ascending, descending
Predefinito: ascending

list=prefixsearch (ps)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Perform a prefix search for page titles.

Despite the similarity in names, this module is not intended to be equivalent to Special:PrefixIndex; for that, see action=query&list=allpages with the apprefix parameter. The purpose of this module is similar to action=opensearch: to take user input and provide the best-matching titles. Depending on the search engine backend, this might include typo correction, redirect avoidance, or other heuristics.

Parametri specifici:
Sono disponibili altri parametri generali.
pssearch

Stringa di ricerca.

Questo parametro è obbligatorio.
psnamespace

Namespaces to search. Ignored if pssearch begins with a valid namespace prefix.

Valori (separati da | o alternativa): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Per specificare tutti i valori, utilizza *.
Predefinito: 0
pslimit

Numero massimo di risultati da restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
psoffset

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

Type: integer
The value must be no less than 0.
Predefinito: 0
Esempio:
Search for page titles beginning with meaning.
api.php?action=query&list=prefixsearch&pssearch=meaning [apri in una sandbox]

list=protectedtitles (pt)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Elenca tutti i titoli protetti dalla creazione.

Parametri specifici:
Sono disponibili altri parametri generali.
ptnamespace

Elenca solo i titoli in questi namespace.

Valori (separati da | o alternativa): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Per specificare tutti i valori, utilizza *.
ptlevel

Elenca solo i titoli con questi livelli di protezione.

Valori (separati da | o alternativa): autoconfirmed, centralnotice-admin, sysop
ptlimit

Quante pagine totali restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
ptdir

In which direction to enumerate:

newer
List oldest first. Note: ptstart has to be before ptend.
older
List newest first (default). Note: ptstart has to be later than ptend.
Uno dei seguenti valori: newer, older
Predefinito: older
ptstart

Start listing at this protection timestamp.

Tipo: timestamp (formati consentiti)
ptend

Stop listing at this protection timestamp.

Tipo: timestamp (formati consentiti)
ptprop

Quali proprietà ottenere:

timestamp
Adds the timestamp of when protection was added.
user
Aggiunge l'utente che ha aggiunto la protezione.
userid
Aggiunge l'ID utente che ha aggiunto la protezione.
comment
Aggiunge il commento per la protezione.
parsedcomment
Adds the parsed comment for the protection.
expiry
Adds the timestamp of when the protection will be lifted.
level
Aggiunge il livello di protezione.
Valori (separati da | o alternativa): comment, expiry, level, parsedcomment, timestamp, user, userid
Predefinito: timestamp|level
ptcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

list=querypage (qp)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Get a list provided by a QueryPage-based special page.

Parametri specifici:
Sono disponibili altri parametri generali.
qppage

The name of the special page. Note, this is case-sensitive.

Questo parametro è obbligatorio.
Uno dei seguenti valori: AllInfoboxes, Ancientpages, BrokenRedirects, Deadendpages, DoubleRedirects, Fewestrevisions, GadgetUsage, ListDuplicatedFiles, Listredirects, Lonelypages, Longpages, MediaStatistics, Moderation, Mostcategories, Mostimages, Mostinterwikis, Mostlinked, Mostlinkedcategories, Mostlinkedtemplates, Mostrevisions, OrphanedTalkPages, OrphanedTimedText, Shortpages, Uncategorizedcategories, Uncategorizedimages, Uncategorizedpages, Uncategorizedtemplates, UnconnectedPages, UnusedRedirects, UnusedVideos, Unusedcategories, Unusedimages, Unusedtemplates, Unwatchedpages, Wantedcategories, Wantedfiles, Wantedpages, Wantedtemplates, Withoutinterwiki
qpoffset

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

Type: integer
Predefinito: 0
qplimit

Numero di risultati da restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10

list=random (rn)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Get a set of random pages.

Pages are listed in a fixed sequence, only the starting point is random. This means that if, for example, Main Page is the first random page in the list, List of fictional monkeys will always be second, List of people on stamps of Vanuatu third, etc.

Parametri specifici:
Sono disponibili altri parametri generali.
rnnamespace

Restituisci le pagine solo in questi namespace.

Valori (separati da | o alternativa): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Per specificare tutti i valori, utilizza *.
rnfilterredir

How to filter for redirects.

Uno dei seguenti valori: all, nonredirects, redirects
Predefinito: nonredirects
rnredirect
Deprecato.

Usa rnfilterredir=redirects invece.

Tipo: booleano (dettagli)
rnlimit

Limit how many random pages will be returned.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 1
rncontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

Esempi:
Restituisce due pagine casuali dal namespace principale.
api.php?action=query&list=random&rnnamespace=0&rnlimit=2 [apri in una sandbox]
Return page info about two random pages from the main namespace.
api.php?action=query&generator=random&grnnamespace=0&grnlimit=2&prop=info [apri in una sandbox]

list=recentchanges (rc)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Elenca le modifiche recenti.

Parametri specifici:
Sono disponibili altri parametri generali.
rcstart

Il timestamp da cui iniziare l'elenco.

Tipo: timestamp (formati consentiti)
rcend

Il timestamp al quale interrompere l'elenco.

Tipo: timestamp (formati consentiti)
rcdir

In which direction to enumerate:

newer
List oldest first. Note: rcstart has to be before rcend.
older
List newest first (default). Note: rcstart has to be later than rcend.
Uno dei seguenti valori: newer, older
Predefinito: older
rcnamespace

Filter changes to only these namespaces.

Valori (separati da | o alternativa): -1, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Per specificare tutti i valori, utilizza *.
rcuser

Only list changes by this user.

Tipo: utente, da uno qualsiasi nome utente, IP, Utente temporaneo, interwiki name (e.g. "prefix>ExampleName") e ID utente (ad esempio "#12345")
rcexcludeuser

Don't list changes by this user.

Tipo: utente, da uno qualsiasi nome utente, IP, Utente temporaneo, interwiki name (e.g. "prefix>ExampleName") e ID utente (ad esempio "#12345")
rctag

Only list changes tagged with this tag.

rcprop

Include additional pieces of information:

user
Adds the user responsible for the edit and tags if they are an IP. If the user has been revision deleted, a userhidden property will be returned.
userid
Adds the user ID responsible for the edit. If the user has been revision deleted, a userhidden property will be returned.
comment
Adds the comment for the edit. If the comment has been revision deleted, a commenthidden property will be returned.
parsedcomment
Adds the parsed comment for the edit. If the comment has been revision deleted, a commenthidden property will be returned.
flags
Adds flags for the edit.
timestamp
Adds timestamp of the edit.
title
Adds the page title of the edit.
ids
Adds the page ID, recent changes ID and the new and old revision ID.
sizes
Adds the new and old page length in bytes.
redirect
Tags edit if page is a redirect.
patrolled
Tags patrollable edits as being patrolled or unpatrolled.
loginfo
Adds log information (log ID, log type, etc) to log entries.
tags
Lists tags for the entry.
sha1
Adds the content checksum for entries associated with a revision. If the content has been revision deleted, a sha1hidden property will be returned.
Valori (separati da | o alternativa): comment, flags, ids, loginfo, parsedcomment, patrolled, redirect, sha1, sizes, tags, timestamp, title, user, userid
Predefinito: title|timestamp|ids
rcshow

Show only items that meet these criteria. For example, to see only minor edits done by logged-in users, set rcshow=minor|!anon.

Valori (separati da | o alternativa): !anon, !autopatrolled, !bot, !minor, !patrolled, !redirect, anon, autopatrolled, bot, minor, patrolled, redirect, unpatrolled
rclimit

How many total changes to return.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
rctype

Which types of changes to show.

Valori (separati da | o alternativa): categorize, edit, external, log, new
Predefinito: edit|new|log|categorize
rctoponly

Only list changes which are the latest revision.

Tipo: booleano (dettagli)
rctitle

Filter entries to those related to a page.

rccontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

rcgeneraterevisions

When being used as a generator, generate revision IDs rather than titles. Recent change entries without associated revision IDs (e.g. most log entries) will generate nothing.

Tipo: booleano (dettagli)
rcslot

Only list changes that touch the named slot.

Uno dei seguenti valori: main

list=search (sr)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Eseguire una ricerca di testo completa.

Parametri specifici:
Sono disponibili altri parametri generali.
srsearch

Search for page titles or content matching this value. You can use the search string to invoke special search features, depending on what the wiki's search backend implements.

Questo parametro è obbligatorio.
srnamespace

Search only within these namespaces.

Valori (separati da | o alternativa): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Per specificare tutti i valori, utilizza *.
Predefinito: 0
srlimit

Quante pagine totali restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
sroffset

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

Type: integer
The value must be no less than 0.
Predefinito: 0
srwhat

Quale tipo di ricerca effettuare.

Uno dei seguenti valori: nearmatch, text, title
srinfo

Quali metadati restituire.

Valori (separati da | o alternativa): rewrittenquery, suggestion, totalhits
Predefinito: totalhits|suggestion|rewrittenquery
srprop

Quali proprietà restituire:

size
Aggiungi la dimensione della pagina in byte.
wordcount
Aggiungi il conteggio delle parole nella pagina.
timestamp
Aggiungi il timestamp di quando la pagina è stata modificata l'ultima volta.
snippet
Adds a snippet of the page, with query term highlighting markup.
titlesnippet
Adds the page title, with query term highlighting markup.
redirecttitle
Aggiunge il titolo del redirect corrispondente.
redirectsnippet
Adds the title of the matching redirect, with query term highlighting markup.
sectiontitle
Aggiunge il titolo della sezione corrispondente.
sectionsnippet
Adds the title of the matching section, with query term highlighting markup.
isfilematch
Adds a boolean indicating if the search matched file content.
categorysnippet
Adds the matching category name, with query term highlighting markup.
score
Deprecato. Ignorato.
hasrelated
Deprecato. Ignorato.
extensiondata
Adds extra data generated by extensions.
Valori (separati da | o alternativa): categorysnippet, extensiondata, isfilematch, redirectsnippet, redirecttitle, sectionsnippet, sectiontitle, size, snippet, timestamp, titlesnippet, wordcount, hasrelated, score
Predefinito: size|wordcount|timestamp|snippet
srinterwiki

Include interwiki results in the search, if available.

Tipo: booleano (dettagli)
srenablerewrites

Enable internal query rewriting. Some search backends can rewrite the query into another which is thought to provide better results, for instance by correcting spelling errors.

Tipo: booleano (dettagli)
srsort

Imposta l'ordinamento dei risultati restituiti.

Uno dei seguenti valori: relevance
Predefinito: relevance

list=tags (tg)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

List change tags.

Parametri specifici:
Sono disponibili altri parametri generali.
tgcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

tglimit

The maximum number of tags to list.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
tgprop

Quali proprietà ottenere:

displayname
Adds system message for the tag.
description
Adds description of the tag.
hitcount
Adds the number of revisions and log entries that have this tag.
defined
Indicate whether the tag is defined.
source
Gets the sources of the tag, which may include extension for extension-defined tags and manual for tags that may be applied manually by users.
active
Whether the tag is still being applied.
Valori (separati da | o alternativa): active, defined, description, displayname, hitcount, source
Predefinito: (vuoto)

list=usercontribs (uc)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Get all edits by a user.

Parametri specifici:
Sono disponibili altri parametri generali.
uclimit

The maximum number of contributions to return.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
ucstart

The start timestamp to return from, i.e. revisions before this timestamp.

Tipo: timestamp (formati consentiti)
ucend

The end timestamp to return to, i.e. revisions after this timestamp.

Tipo: timestamp (formati consentiti)
uccontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

ucuser

The users to retrieve contributions for. Cannot be used with ucuserids, ucuserprefix, or uciprange.

Tipo: elenco di utenti, da uno qualsiasi nome utente, IP, Utente temporaneo e interwiki name (e.g. "prefix>ExampleName")
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
ucuserids

The user IDs to retrieve contributions for. Cannot be used with ucuser, ucuserprefix, or uciprange.

Type: list of integers
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
ucuserprefix

Retrieve contributions for all users whose names begin with this value. Cannot be used with ucuser, ucuserids, or uciprange.

uciprange

The CIDR range to retrieve contributions for. Cannot be used with ucuser, ucuserprefix, or ucuserids.

ucdir

In which direction to enumerate:

newer
List oldest first. Note: ucstart has to be before ucend.
older
List newest first (default). Note: ucstart has to be later than ucend.
Uno dei seguenti valori: newer, older
Predefinito: older
ucnamespace

Elenca solo i contributi in questi namespace.

Valori (separati da | o alternativa): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Per specificare tutti i valori, utilizza *.
ucprop

Include additional pieces of information:

ids
Adds the page ID and revision ID.
title
Aggiunge il titolo e l'ID namespace della pagina.
timestamp
Adds the timestamp of the edit.
comment
Adds the comment of the edit. If the comment has been revision deleted, a commenthidden property will be returned.
parsedcomment
Adds the parsed comment of the edit. If the comment has been revision deleted, a commenthidden property will be returned.
size
Adds the new size of the edit.
sizediff
Adds the size delta of the edit against its parent.
flags
Adds flags of the edit.
patrolled
Etichetta modifiche verificate
tags
Lists tags for the edit.
Valori (separati da | o alternativa): comment, flags, ids, parsedcomment, patrolled, size, sizediff, tags, timestamp, title
Predefinito: ids|title|timestamp|comment|size|flags
ucshow

Show only items that meet these criteria, e.g. non minor edits only: ucshow=!minor.

If ucshow=patrolled or ucshow=!patrolled is set, revisions older than $wgRCMaxAge (15552000 seconds) won't be shown.

Valori (separati da | o alternativa): !autopatrolled, !minor, !new, !patrolled, !top, autopatrolled, minor, new, patrolled, top
uctag

Only list revisions tagged with this tag.

uctoponly
Deprecato.

Only list changes which are the latest revision.

Tipo: booleano (dettagli)
Esempi:
Show contributions of user Example.
api.php?action=query&list=usercontribs&ucuser=Example [apri in una sandbox]
Show contributions from all IP addresses with prefix 192.0.2..
api.php?action=query&list=usercontribs&ucuserprefix=192.0.2. [apri in una sandbox]

list=users (us)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Ottieni informazioni su un elenco di utenti.

Parametri specifici:
Sono disponibili altri parametri generali.
usprop

Quali informazioni includere:

blockinfo
Tags if the user is blocked, by whom, and for what reason.
groups
Lists all the groups each user belongs to.
groupmemberships
Lists groups that each user has been explicitly assigned to, including the expiry date of each group membership.
implicitgroups
Lists all the groups a user is automatically a member of.
rights
Lists all the rights each user has.
editcount
Adds the user's edit count.
registration
Adds the user's registration timestamp.
emailable
Tags if the user can and wants to receive email through Special:Emailuser.
gender
Tags the gender of the user. Returns "male", "female", or "unknown".
centralids
Adds the central IDs and attachment status for the user.
cancreate
Indica se può essere creata un'utenza per nomi utente validi ma non registrati. Per verificare se l'utente attuale può eseguire la creazione di un'utenza, usa action=query&meta=userinfo&uiprop=cancreateaccount.
Valori (separati da | o alternativa): blockinfo, cancreate, centralids, editcount, emailable, gender, groupmemberships, groups, implicitgroups, registration, rights
usattachedwiki

With usprop=centralids, indicate whether the user is attached with the wiki identified by this ID.

ususers

Un elenco di utenti di cui ottenere informazioni.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
ususerids

A list of user IDs to obtain information for.

Type: list of integers
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).

list=watchlist (wl)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Ottieni le ultime modifiche alle pagine tra gli osservati speciali dell'utente attuale.

Parametri specifici:
Sono disponibili altri parametri generali.
wlallrev

Include multiple revisions of the same page within given timeframe.

Tipo: booleano (dettagli)
wlstart

Il timestamp da cui iniziare l'elenco.

Tipo: timestamp (formati consentiti)
wlend

Il timestamp al quale interrompere l'elenco.

Tipo: timestamp (formati consentiti)
wlnamespace

Filter changes to only the given namespaces.

Valori (separati da | o alternativa): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Per specificare tutti i valori, utilizza *.
wluser

Only list changes by this user.

Tipo: utente, da uno qualsiasi nome utente, IP, Utente temporaneo, interwiki name (e.g. "prefix>ExampleName") e ID utente (ad esempio "#12345")
wlexcludeuser

Don't list changes by this user.

Tipo: utente, da uno qualsiasi nome utente, IP, Utente temporaneo, interwiki name (e.g. "prefix>ExampleName") e ID utente (ad esempio "#12345")
wldir

In which direction to enumerate:

newer
List oldest first. Note: wlstart has to be before wlend.
older
List newest first (default). Note: wlstart has to be later than wlend.
Uno dei seguenti valori: newer, older
Predefinito: older
wllimit

How many total results to return per request.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
wlprop

Quali proprietà aggiuntive ottenere:

ids
Aggiunge l'ID versione e l'ID pagina.
title
Aggiungi il titolo della pagina.
flags
Adds flags for the edit.
user
Adds the user who made the edit. If the user has been revision deleted, a userhidden property will be returned.
userid
Adds user ID of whoever made the edit. If the user has been revision deleted, a userhidden property will be returned.
comment
Adds comment of the edit. If the comment has been revision deleted, a commenthidden property will be returned.
parsedcomment
Adds parsed comment of the edit. If the comment has been revision deleted, a commenthidden property will be returned.
timestamp
Adds timestamp of the edit.
patrol
Tags edits that are patrolled.
sizes
Adds the old and new lengths of the page.
notificationtimestamp
Adds timestamp of when the user was last notified about the edit.
loginfo
Adds log information where appropriate.
tags
Lists tags for the entry.
expiry
Adds the expiry time.
Valori (separati da | o alternativa): comment, expiry, flags, ids, loginfo, notificationtimestamp, parsedcomment, patrol, sizes, tags, timestamp, title, user, userid
Predefinito: ids|title|flags
wlshow

Show only items that meet these criteria. For example, to see only minor edits done by logged-in users, set wlshow=minor|!anon.

Valori (separati da | o alternativa): !anon, !autopatrolled, !bot, !minor, !patrolled, !unread, anon, autopatrolled, bot, minor, patrolled, unread
wltype

Which types of changes to show:

edit
Regular page edits.
new
Creazioni pagina.
log
Log entries.
external
External changes.
categorize
Category membership changes.
Valori (separati da | o alternativa): categorize, edit, external, log, new
Predefinito: edit|new|log|categorize
wlowner

Used along with wltoken to access a different user's watchlist.

Tipo: utente, da nome utente
wltoken

A security token (available in the user's preferences) to allow access to another user's watchlist.

wlcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

Esempi:
List the top revision for recently changed pages on the current user's watchlist.
api.php?action=query&list=watchlist [apri in una sandbox]
Fetch additional information about the top revision for recently changed pages on the current user's watchlist.
api.php?action=query&list=watchlist&wlprop=ids|title|timestamp|user|comment [apri in una sandbox]
Fetch additional information about the top revision for recently changed pages on the current user's watchlist, including when temporarily watched items will expire.
api.php?action=query&list=watchlist&wlprop=ids|title|timestamp|user|comment|expiry [apri in una sandbox]
Fetch information about all recent changes to pages on the current user's watchlist.
api.php?action=query&list=watchlist&wlallrev=&wlprop=ids|title|timestamp|user|comment [apri in una sandbox]
Fetch page info for recently changed pages on the current user's watchlist.
api.php?action=query&generator=watchlist&prop=info [apri in una sandbox]
Fetch revision info for recent changes to pages on the current user's watchlist.
api.php?action=query&generator=watchlist&gwlallrev=&prop=revisions&rvprop=timestamp|user [apri in una sandbox]
List the top revision for recently changed pages on the watchlist of user Example.
api.php?action=query&list=watchlist&wlowner=Example&wltoken=123ABC [apri in una sandbox]

list=watchlistraw (wr)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Get all pages on the current user's watchlist.

Parametri specifici:
Sono disponibili altri parametri generali.
wrcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

wrnamespace

Elenca solo le pagine nei namespace indicati.

Valori (separati da | o alternativa): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 106, 107, 110, 111, 200, 201, 202, 203, 400, 401, 420, 421, 460, 461, 620, 621, 710, 711, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 828, 829, 860, 861, 862, 863, 866, 867
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Per specificare tutti i valori, utilizza *.
wrlimit

Numero totale di risultati da restituire per ogni richiesta.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
wrprop

Quali proprietà aggiuntive ottenere:

changed
Aggiunge data e ora dell'ultima notifica all'utente riguardo la modifica.
Valori (separati da | o alternativa): changed
wrshow

Only list items that meet these criteria.

Valori (separati da | o alternativa): !changed, changed
wrowner

Used along with wrtoken to access a different user's watchlist.

Tipo: utente, da nome utente
wrtoken

A security token (available in the user's preferences) to allow access to another user's watchlist.

wrdir

La direzione in cui elencare.

Uno dei seguenti valori: ascending, descending
Predefinito: ascending
wrfromtitle

Il titolo (con prefisso namespace) da cui iniziare l'elenco.

wrtotitle

Il titolo (con prefisso namespace) al quale interrompere l'elenco.

Esempi:
Elenca le pagine fra gli osservati speciali dell'utente attuale.
api.php?action=query&list=watchlistraw [apri in una sandbox]
Recupera le informazioni sulle pagine fra gli osservati speciali dell'utente attuale.
api.php?action=query&generator=watchlistraw&gwrshow=changed&prop=info [apri in una sandbox]

list=wblistentityusage (wbleu)

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Restituisce tutte le pagine che utilizzano gli ID entità indicati.

Parametri specifici:
Sono disponibili altri parametri generali.
wbleuprop

Proprietà da aggiungere al risultato.

url
Se abilitato l'url dell' identità sarà aggiunto al risultato.
Valori (separati da | o alternativa): url
wbleuaspect

Restituisci solo ID entità che usano questo aspetto.

S
The entity's sitelinks are used
L
The entity's label is used
D
The entity's description is used
T
The title of the local page corresponding to the entity is used
C
Statements from the entity are used
X
All aspects of an entity are or may be used
O
Something else about the entity is used. This currently implies alias usage and explicit checks for entity existence.
Valori (separati da | o alternativa): C, D, L, O, S, T, X
wbleuentities

Entità che sono state usate.

Questo parametro è obbligatorio.
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
wbleulimit

Quanti utilizzi delle entità restituire.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
wbleucontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

Esempi:
Ottieni pagine che usano l'entità Q2.
api.php?action=query&list=wblistentityusage&wbleuentities=Q2 [apri in una sandbox]
Ottieni pagine che usano l'entità Q2 con URL incluso.
api.php?action=query&list=wblistentityusage&wbleuentities=Q2&wbleuprop=url [apri in una sandbox]
Ottieni pagine che utilizzano l'entità Q2 e l'aspetto era un collegamento al sito o una dichiarazione.
api.php?action=query&list=wblistentityusage&wbleuentities=Q2&wbleuaspect=S|O [apri in una sandbox]

list=wbsearch (wbs)

  • Questo modulo è interno o instabile e non dovresti usarlo. Il suo funzionamento potrebbe variare senza preavviso.
  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Searches for entities using labels and aliases.

This can be used as a generator for other queries. Returns the matched term that should be displayed.

Parametri specifici:
Sono disponibili altri parametri generali.
wbssearch

Ricerca di questo testo.

Questo parametro è obbligatorio.
wbslanguage

Ricerca in questa lingua.

Uno dei seguenti valori: aa, aae, ab, abs, ace, acf, acm, ady, ady-cyrl, aeb, aeb-arab, aeb-latn, af, agq, aln, als, alt, am, ami, an, ang, ann, anp, apc, ar, arc, arn, arq, ary, arz, as, ase, ast, atj, av, avk, awa, ay, az, azb, ba, bag, ban, ban-bali, bar, bas, bat-smg, bax, bbc, bbc-latn, bbj, bcc, bci, bcl, bdr, be, be-tarask, be-x-old, bew, bfd, bg, bgc, bgn, bh, bho, bi, bjn, bkc, bkh, bkm, blk, bm, bn, bo, bpy, bqi, bqz, br, brh, bs, btm, bto, bug, bxr, byv, ca, cak, cal, cbk-zam, ccp, cdo, ce, ceb, ch, chn, cho, chr, chy, ckb, cnh, co, cps, cpx, cpx-hans, cpx-hant, cpx-latn, cr, crh, crh-cyrl, crh-latn, crh-ro, cs, csb, cu, cv, cy, da, dag, de, de-at, de-ch, de-formal, dga, din, diq, dsb, dtp, dty, dua, dv, dz, ee, efi, egl, el, eml, en, en-ca, en-gb, en-us, eo, es, es-419, es-formal, et, eto, etu, eu, ewo, ext, fa, fat, ff, fi, fit, fiu-vro, fj, fkv, fmp, fo, fon, fr, frc, frp, frr, fur, fy, ga, gaa, gag, gan, gan-hans, gan-hant, gcf, gcr, gd, gl, gld, glk, gn, gom, gom-deva, gom-latn, gor, got, gpe, grc, gsw, gu, guc, gur, guw, gv, gya, ha, hak, hak-hans, hak-hant, hak-latn, haw, he, hi, hif, hif-latn, hil, hno, ho, hr, hrx, hsb, hsn, ht, hu, hu-formal, hy, hyw, hz, ia, iba, ibb, id, ie, ig, igl, ii, ik, ike-cans, ike-latn, ilo, inh, io, is, isu, isv-cyrl, isv-latn, it, iu, ja, jam, jbo, jut, jv, ka, kaa, kab, kai, kbd, kbd-cyrl, kbp, kcg, kea, ker, kg, kge, khw, ki, kiu, kj, kjh, kjp, kk, kk-arab, kk-cn, kk-cyrl, kk-kz, kk-latn, kk-tr, kl, km, kn, knc, ko, ko-kp, koi, kr, krc, kri, krj, krl, ks, ks-arab, ks-deva, ksf, ksh, ksw, ku, ku-arab, ku-latn, kum, kus, kv, kw, ky, la, lad, lb, lbe, lem, lez, lfn, lg, li, lij, liv, lki, lld, lmo, ln, lns, lo, loz, lrc, lt, ltg, lua, lus, luz, lv, lzh, lzz, mad, mag, mai, map-bms, mcn, mcp, mdf, mg, mh, mhr, mi, min, mk, ml, mn, mnc, mnc-latn, mnc-mong, mni, mnw, mo, mos, mr, mrh, mrj, ms, ms-arab, mt, mua, mui, mus, mwl, my, myv, mzn, na, nah, nan, nan-hani, nan-hant, nan-latn-pehoeji, nan-latn-tailo, nap, nb, nds, nds-nl, ne, new, ng, nge, nia, nit, niu, nl, nl-informal, nla, nmg, nmz, nn, nnh, nnz, no, nod, nog, nov, nqo, nr, nrm, nso, nup, nv, ny, nyn, nyo, nys, oc, ojb, olo, om, or, os, osa-latn, ota, pa, pag, pam, pap, pap-aw, pcd, pcm, pdc, pdt, pfl, pi, pih, pl, pms, pnb, pnt, prg, ps, pt, pt-br, pwn, qu, quc, qug, rgn, rif, rki, rm, rmc, rmf, rmy, rn, ro, roa-rup, roa-tara, rsk, ru, rue, rup, ruq, ruq-cyrl, ruq-latn, rut, rw, rwr, ryu, sa, sah, sat, sc, scn, sco, sd, sdc, sdh, se, se-fi, se-no, se-se, sei, ses, sg, sgs, sh, sh-cyrl, sh-latn, shi, shi-latn, shi-tfng, shn, shy, shy-latn, si, simple, sjd, sje, sju, sk, skr, skr-arab, sl, sli, sm, sma, smj, smn, sms, sn, so, sq, sr, sr-ec, sr-el, srn, sro, srq, ss, st, stq, sty, su, sv, sw, syl, szl, szy, ta, tay, tcy, tdd, te, tet, tg, tg-cyrl, tg-latn, th, ti, tig, tk, tl, tly, tly-cyrl, tn, to, tok, tpi, tpv, tr, tru, trv, ts, tt, tt-cyrl, tt-latn, ttj, tum, tvu, tw, ty, tyv, tzm, udm, ug, ug-arab, ug-latn, uk, ur, uz, uz-cyrl, uz-latn, ve, vec, vep, vi, vls, vmf, vmw, vo, vot, vro, vut, wa, wal, war, wes, wls, wo, wuu, wuu-hans, wuu-hant, wya, xal, xh, xmf, xsy, yas, yat, yav, ybb, yi, yo, yrl, yue, yue-hans, yue-hant, za, zea, zgh, zgh-latn, zh, zh-classical, zh-cn, zh-hans, zh-hant, zh-hk, zh-min-nan, zh-mo, zh-my, zh-sg, zh-tw, zh-yue, zu
wbsstrictlanguage

Se disabilitare la lingua di riserva

Tipo: booleano (dettagli)
wbstype

Cerca per questo tipo di entità.

Uno dei seguenti valori: item, property
Predefinito: item
wbslimit

Numero massimo di risultati

Tipo: intero o max
The value must be between 0 and 50.
Predefinito: 7
wbsprofile

The search profile to use.

default
The default profile, suitable for most purposes.
Uno dei seguenti valori: default
Predefinito: default
Esempi:
Ricerca di "abc" in lingua inglese, con valori predefiniti per il tipo e limite
api.php?action=query&list=wbsearch&wbssearch=abc&wbslanguage=en [apri in una sandbox]
Ricerca di "abc" in lingua inglese con un limite di 50
api.php?action=query&list=wbsearch&wbssearch=abc&wbslanguage=en&wbslimit=50 [apri in una sandbox]
Search only properties for "alphabet" in English language
api.php?action=query&list=wbsearch&wbssearch=alphabet&wbslanguage=en&wbstype=property [apri in una sandbox]
Search for "alphabet" in English language as a generator
api.php?action=query&generator=wbsearch&gwbssearch=alphabet&gwbslanguage=en [apri in una sandbox]

list=wbsubscribers (wbls)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Get subscriptions to given entities.

Parametri specifici:
Sono disponibili altri parametri generali.
wblsentities

Entities to get subscribers

Questo parametro è obbligatorio.
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
wblsprop

Proprietà da aggiungere al risultato

Valori (separati da | o alternativa): url
Predefinito: (vuoto)
wblslimit

Numero massimo di risultati

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
wblscontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

list=wikiconfig (wcf)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: ManageWiki
  • Licenza: GPL-3.0-or-later

Vedere nome sito, inattivo, inattivo-esentato, chiuso, privato, estensioni, specifiche e permessi per la Wiki specificata.

Parametri specifici:
Sono disponibili altri parametri generali.
wcfprop

Seleziona proprietà per ritornare:

Valori (separati da | o alternativa): closed, extensions, inactive, inactive-exempt, permissions, private, settings, sitename
Predefinito: extensions|settings|sitename
wcfwikis

Quale Wiki da controllare.

Questo parametro è obbligatorio.
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).

list=wikidiscover (wd)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: WikiDiscover
  • Licenza: GPL-3.0-or-later

Ottieni una lista di wiki su una wikifarm CreateWiki.

Parametri specifici:
Sono disponibili altri parametri generali.
wdcategory

Filter by the CreateWiki defined category of a wiki.

Valori (separati da | o alternativa): artarc, automotive, businessfinance, community, education, electronics, entertainment, fandom, fantasy, gaming, geography, history, humour, langling, leisure, literature, media, medical, military, music, podcast, politics, private, religion, science, software, songcontest, sport, uncategorised
wdcustomurl

Filter by if the wiki has a CreateWiki defined custom URL.

Tipo: booleano (dettagli)
wdlanguage

Filter by the CreateWiki defined language code of a wiki.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
wdlimit

Numero massimo di risultati da mostrare.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 500
wdoffset

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

Type: integer
Predefinito: 0
wdprop

Informazione da restituire su una Wiki definita.

Valori (separati da | o alternativa): category, closuredate, creationdate, deletiondate, description, exemptreason, inactivedate, languagecode, sitename, url
Predefinito: category|languagecode|sitename|url
wdstate

Filtra in base ad uno stato definito da CreaWiki di una Wiki.

Valori (separati da | o alternativa): active, all, closed, deleted, exempt, inactive, locked, open, private, public, undeleted, unlocked
Predefinito: all
wdwikis

Get a list of specific wikis.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Esempio:
Mostra tutti gli wiki nel modulo.
api.php?action=query&list=wikidiscover [apri in una sandbox]

list=wikisets (ws)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: CentralAuth
  • Licenza: GPL-2.0-or-later

Enumerate all wiki sets.

Parametri specifici:
Sono disponibili altri parametri generali.
wsfrom

The name of the wiki set to start from.

wsprop

What pieces of information to include:

type
Opt-in based (includes only specified wikis) or opt-out based (includes all wikis except specified).
wikisincluded
The wikis that are included in this wiki set.
wikisnotincluded
The wikis that are not included in this wiki set.
Valori (separati da | o alternativa): type, wikisincluded, wikisnotincluded
wslimit

How many wiki sets to return.

Tipo: intero o max
The value must be between 1 and 500.
Predefinito: 10
wsorderbyname

Ordina i risultati per nome.

Tipo: booleano (dettagli)

meta=allmessages (am)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Restituisce messaggi da questo sito.

Parametri specifici:
Sono disponibili altri parametri generali.
ammessages

Which messages to output. * (default) means all messages.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Predefinito: *
amprop

Quali proprietà ottenere.

Valori (separati da | o alternativa): default
amenableparser

Set to enable parser, will preprocess the wikitext of message (substitute magic words, handle templates, etc.).

Tipo: booleano (dettagli)
amnocontent

If set, do not include the content of the messages in the output.

Tipo: booleano (dettagli)
amincludelocal

Also include local messages, i.e. messages that don't exist in the software but do exist as in the MediaWiki namespace. This lists all MediaWiki-namespace pages, so it will also list those that aren't really messages such as Common.js.

Tipo: booleano (dettagli)
amargs

Arguments to be substituted into message.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
amfilter

Return only messages with names that contain this string.

amcustomised

Return only messages in this customisation state.

Uno dei seguenti valori: all, modified, unmodified
Predefinito: all
amlang

Restituisci messaggi in questa lingua.

amfrom

Return messages starting at this message.

amto

Return messages ending at this message.

amtitle

Page name to use as context when parsing message (for amenableparser option).

amprefix

Restituisci messaggi con questo prefisso.

meta=authmanagerinfo (ami)

Recupera informazioni circa l'attuale stato di autenticazione.

Parametri specifici:
Sono disponibili altri parametri generali.
amisecuritysensitiveoperation

Verifica se lo stato di autenticazione dell'utente attuale è sufficiente per la specifica operazione sensibile alla sicurezza.

amirequestsfor

Recupera informazioni circa le richieste di autenticazione necessarie per la specifica azione di autenticazione.

Uno dei seguenti valori: change, create, create-continue, link, link-continue, login, login-continue, remove, unlink
amimergerequestfields

Merge field information for all authentication requests into one array.

Tipo: booleano (dettagli)
amimessageformat

Formato da utilizzare per per la restituzione dei messaggi.

Uno dei seguenti valori: html, none, raw, wikitext
Predefinito: wikitext
Esempi:
Recupera le richieste che possono essere utilizzate quando si inizia l'accesso.
api.php?action=query&meta=authmanagerinfo&amirequestsfor=login [apri in una sandbox]
Recupera le richieste che possono essere utilizzate quando si inizia l'accesso, con i campi del modulo uniti.
api.php?action=query&meta=authmanagerinfo&amirequestsfor=login&amimergerequestfields=1 [apri in una sandbox]
Verificare se l'autenticazione è sufficiente per l'azione foo.
api.php?action=query&meta=authmanagerinfo&amisecuritysensitiveoperation=foo [apri in una sandbox]

meta=babel (bab)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: Babel
  • Licenza: GPL-2.0-or-later

Ottieni informazioni su quali lingue l'utente conosce

Parametro specifico:
Sono disponibili altri parametri generali.
babuser

Utente sul quale ottenere informazioni

Questo parametro è obbligatorio.
Tipo: utente, da uno qualsiasi nome utente, IP, Utente temporaneo, Intervallo di IP e interwiki name (e.g. "prefix>ExampleName")
Esempio:
Ottieni informazioni Babel per l'utente Example
api.php?action=query&meta=babel&babuser=Example [apri in una sandbox]

meta=filerepoinfo (fri)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Return meta information about image repositories configured on the wiki.

Parametro specifico:
Sono disponibili altri parametri generali.
friprop

Which repository properties to get (properties available may vary on other wikis).

apiurl
URL to the repository API - helpful for getting image info from the host.
articlepath
Repository wiki's $wgArticlePath or equivalent.
canUpload
Whether files can be uploaded to this repository, e.g. via CORS and shared authentication.
descriptionCacheExpiry
The time in seconds after which the description cache will expire. The default is 43200 (12 hours).
displayname
The human-readable name of the repository wiki.
favicon
Repository wiki's favicon URL, from $wgFavicon.
fetchDescription
Whether file description pages are fetched from this repository when viewing local file description pages.
initialCapital
Whether file names implicitly start with a capital letter.
local
Whether that repository is the local one or not.
name
The key of the repository - used in e.g. $wgForeignFileRepos and imageinfo return values.
rootUrl
Root URL path for image paths.
scriptDirUrl
Root URL path for the repository wiki's MediaWiki installation.
server
Repository wiki's $wgServer or equivalent.
thumbUrl
Root URL path for thumbnail paths.
url
Public zone URL path.
Valori (separati da | o alternativa): apiurl, articlepath, canUpload, descriptionCacheExpiry, displayname, favicon, fetchDescription, initialCapital, local, name, rootUrl, scriptDirUrl, server, thumbUrl, url
Predefinito: apiurl|articlepath|canUpload|descriptionCacheExpiry|displayname|favicon|fetchDescription|initialCapital|local|name|rootUrl|scriptDirUrl|server|thumbUrl|url

meta=globalpreferences (gpr)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: GlobalPreferences
  • Licenza: GPL-2.0-or-later

Retrieve global preferences for the current user.

Can retrieve both global preferences and their local overrides.

Parametro specifico:
Sono disponibili altri parametri generali.
gprprop

Which prererences to include:

preferences
Preferenze globali.
localoverrides
Local overrides for global preferences.
Valori (separati da | o alternativa): localoverrides, preferences
Predefinito: preferences|localoverrides

meta=globalrenamestatus (grs)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: CentralAuth
  • Licenza: GPL-2.0-or-later

Mostra le informazioni sulle ridenominazioni globali in corso.

Parametro specifico:
Sono disponibili altri parametri generali.
grsuser

User that is being renamed. Can be either their old name or new name.

Tipo: utente, da uno qualsiasi nome utente, IP, Utente temporaneo, Intervallo di IP e interwiki name (e.g. "prefix>ExampleName")
Esempio:
Ottieni informazioni sull'utente globale attuale
api.php?action=query&meta=globalrenamestatus [apri in una sandbox]

meta=globaluserinfo (gui)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: CentralAuth
  • Licenza: GPL-2.0-or-later

Show information about a global user.

Parametri specifici:
Sono disponibili altri parametri generali.
guiuser

User to get information about. If guiuser and guiid both are omitted, it defaults to the current user.

Tipo: utente, da uno qualsiasi nome utente, Utente temporaneo e interwiki name (e.g. "prefix>ExampleName")
guiid

Global user ID to get information about. If guiuser and guiid both are omitted, it defaults to the current user.

Type: integer
guiprop

Which properties to get:

groups
Get a list of global groups this user belongs to.
rights
Get a list of global rights this user has.
merged
Get a list of merged accounts.
unattached
Get a list of unattached accounts.
editcount
Get the user's global edit count.
Valori (separati da | o alternativa): editcount, groups, merged, rights, unattached

meta=languageinfo (li)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Restituisce informazioni sulle lingue disponibili.

Continuation may be applied if retrieving the information takes too long for one request.

Parametri specifici:
Sono disponibili altri parametri generali.
liprop

Which information to get for each language.

code
The language code. (This code is MediaWiki-specific, though there are overlaps with other standards.)
bcp47
Il codice lingua BCP-47.
dir
The writing direction of the language (either ltr or rtl).
autonym
The autonym of the language, that is, the name in that language.
name
The name of the language in the language specified by the uselang parameter, with language fallbacks applied if necessary.
variantnames
The short names for language variants used for language conversion links.
fallbacks
The language codes of the fallback languages configured for this language. The implicit final fallback to 'en' is not included (but some languages may fall back to 'en' explicitly).
variants
The language codes of the variants supported by this language.
Valori (separati da | o alternativa): autonym, bcp47, code, dir, fallbacks, name, variantnames, variants
Predefinito: code
licode

Language codes of the languages that should be returned, or * for all languages.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Predefinito: *
licontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

Esempi:
Ottieni i codici lingua di tutte le lingue supportate.
api.php?action=query&meta=languageinfo [apri in una sandbox]
Get the autonyms and German names of all supported languages.
api.php?action=query&meta=languageinfo&liprop=autonym|name&uselang=de [apri in una sandbox]
Get the fallback languages and variants of Occitan.
api.php?action=query&meta=languageinfo&liprop=fallbacks|variants&licode=oc [apri in una sandbox]
Get the BCP-47 language code and direction of all supported languages.
api.php?action=query&meta=languageinfo&liprop=bcp47|dir [apri in una sandbox]

meta=linterstats (lntrst)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: Linter
  • Licenza: GPL-2.0-or-later

Ottieni il numero di errori di Lint in ciascuna categoria

Esempio:
Ottieni il numero di errori di Lint in ciascuna categoria
api.php?action=query&meta=linterstats [apri in una sandbox]

meta=notifications (not)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: Echo
  • Licenza: MIT

Ottieni le notifiche in attesa per l'utente attuale.

Parametri specifici:
Sono disponibili altri parametri generali.
notwikis

Elenco di wiki da cui recuperare le notifiche (predefinito solo il wiki attuale).

Valori (separati da | o alternativa): *, 2b2twiki, 25minresearchwiki, acrencountywiki, aditicawiki, adrenaliniwiki, aeronauticawiki, aetasantewiki, afterthewinterwiki, ahewikiwiki, aion2wikiwiki, ajetwiki, algicosathlonwiki, allwikiwiki, ampgwiki, angiowadwiki, animefootballwiki, annexwiki, anothereidoswiki, antimonywiki, antlionguardwiki, arbalestholdingswiki, arkivetwiki, artwiki, asttefwiki, autismwiki, backroomswiki, backroomwiki, ballcommunitywiki, barneybunchwiki, battlefordandysworldwiki, beastchildscartelwiki, bfdiwiki, bibliatecawiki, biketrooperswiki, birdwiki, biteismewiki, bitrealmwiki, blockstrikewiki, bloxrpwiki, bobthebozowiki, brainwiki, brawlboardwiki, btwikiwiki, bubtoradndwiki, caesiawiki, calvoesferawiki, carnelianwiki, cecawiki, cheddapediawiki, chesapeakestudioswiki, chidurianwikiwiki, christianfolklorewiki, cirruswiki, citynamereviewerswiki, clashpediawiki, cloudcrafterwiki, cognwiki, countduckulawiki, countryhumanswiki, csmwwiki, ctwikiwiki, cybersafetywiki, cyberwariwiki, cyyscwiki, daggerheartwiki, danceofdragonswiki, dandysworldwiki, darkbrosswiki, darudeman11wiki, deepdiversrblxwiki, dencroftystaffwiki, devoidofwisdomwiki, dexwikiwiki, dgfrancewiki, dhammawiki, dinopediawiki, dissociationwiki, docsdotkywiki, dominationearthwiki, doomswiki, dovepediawiki, drakosmonswiki, drawingwiki, drcklinnwiki, dreamindigowiki, dsswiki, dubpanapanawiki, dysautonomiawiki, eberrondayswiki, eclipticawiki, electronchatappwiki, encyclospaciawiki, engl3203wiki, enquickpediawiki, eslwiki, esufranchisewiki, evelysiawiki, exonimiawiki, fable1922wiki, fareerwiki, farmoballswiki, fastfoodsimwiki, feudalworldwiki, foodlionwiki, footballfreewritewiki, forbiddencitywiki, formoscelanmathematicswiki, founderswikiwiki, fourfatswiki, foxwiki, fpbcamidemarwiki, fracctalwiki, franciskvardekwiki, freiweltrpgwiki, freshwebsiteswiki, gamerzgamezwiki, gamewaycreatorwiki, garwikiwiki, genesisarchivewiki, germanologiewiki, globalrizewiki, globemcwiki, greenheraldwiki, grpxboxsafrwiki, heeheepediawiki, heritagehomewiki, hkfoodwiki, hourglassachiveswiki, howtoeswiki, howtowiki, humorpediawiki, hypixelwiki, hzowiki, iamspewiki, independenciawiki, inovatestwiki, instipediawiki, isocorewiki, iulianarianwiki, jacobwpwiki, janawiki, jezewikiwiki, jollymetrowiki, jrosasriverawiki, jsmpwiki, justanotherwikiwiki, kabachokwiki, kakuutetudouwikiwiki, karashiwikiwiki, kbwiki, keynotathlonwiki, kgnwiki, khsbdbwiki, kingdomsmcwiki, kingilikesminecraftwiki, klodsabroadwiki, klwiki, krugstonwiki, lakessmilewiki, lambdawarswikiwiki, liberapediawiki, libertymyselfwiki, lifebrightlywiki, literarycartographywiki, loginwiki, lorelibrarywiki, lotwwiki, loveanddeepspacewiki, lsewiki, lucky11wiki, luluwiki, madnessdescentwiki, mafiamysterywiki, magicbuildingwiki, magicdudeswiki, magnificentbaddiewiki, manjuurancherwiki, marfilwiki, massshooterswiki, mdfanprojectswiki, medfordhistoricwiki, medipediawiki, metawiki, mgmuawiki, miassduchywiki, mikesbirthdaywiki, mimfwiki, mldofficialwikiwiki, moderntropeswiki, monaasliwiki, msh2025pbpwiki, myfrictionalwikiwiki, mygeekswiki, myinapediawiki, myrathwwppwiki, mythoswiki, namasteitalywiki, neoetruscanwiki, neowikiwiki, neurobanewiki, newpediawiki, newvaliswiki, nicopediawiki, niramwiki, nowherewiki, nyxextendeduniversewiki, oaklandswikiwiki, objectshowwiki, officialurbanwiki, ofpwiki, okowiki, omegaversewiki, oocjzwiki, opinionistetwiki, ostarlandwiki, palonewikiwiki, panikclassicrobloxgamewiki, parlopediawiki, parulawiki, pcwikiwiki, pdxrpbronzeandironwiki, pesosuwiki, peuthwiki, placeopediawiki, platonchwiki, pmodelwiki, pocoyowiki, policialocaldeandaluciawiki, politicshubwiki, polskimappingwiki, popmusicwiki, powyspediawiki, prideandfallwiki, primwikiwiki, progressivismwiki, progrostarwiki, projectherzlwiki, projectspapowiki, projectwikimiquelmusteraadricabrerawiki, psyctaleswiki, publicdomainlyricswiki, purelyevilwiki, pyrrhiawiki, qasawiki, qytrinewiki, radicalcitywiki, randompediawiki, randowiki, rapiddromedarieswiki, realitylostwiki, realmofthroneswiki, regretevatorwiki, remstiniawiki, researchifaesuwiki, robloxindiewikiswiki, robloxmysterykillerwiki, rogerrabbitwiki, rollspelsfansinwiki, romhavenwiki, ruswikiawiki, s4swiki, sandieshawwiki, sbrprobloxwiki, scienceolympiadwiki, shngameswiki, skyfrostwiki, slwiki, smowiki, solarawiki, solarpunkwiki, soldierwiki, songnguxyzwiki, soulboundsanctuarywiki, spacecomebywiki, spazioautisticowiki, spongebobwiki, ss14finalfontierwiki, sswiki, staffwiki, statskalenderwiki, stratagptwiki, superkeynotewiki, supermariohunterwiki, supermariowiki, susawiki, szubinwiki, talesandtravelswiki, tecnicawiki, test2wiki, test3wiki, test5wiki, test6wiki, testabcwiki, testwiki, thaeciawiki, theapwiki, thebeatlesvideoprojectwiki, thebeatleswiki, thebobuniversewikiwiki, thefabsocietywiki, thekeywiki, thenexxxwiki, thestudioshowwiki, thetowerswiki, theworldofterakkwiki, timoeberronwiki, tinkypediafinkywiki, todwikiwiki, tokyodebunkerwikiwiki, toscanainstradawiki, totoparodywiki, trainsandbuseswiki, trihhictionarywiki, tsdonwiki, tskwiki, tunapediawiki, turkiyewiki, tvburpwiki, twrwiki, uamusicwiki, ubercatoverdrivewiki, ucpacfoundationwiki, uerwiki, ultradecawikiwiki, utgarchivewiki, uticwiki, valhirwiki, varnishwiki, victoriassecretwiki, waki285wiki, wangzijianwiki, warehousewarswiki, weenwiki, whiteywiki, wikathlonwiki, wikiaeveryonewiki, wikiballiawiki, wikiberitawiki, wikicordwiki, wikifactwiki, wikigeniuswiki, wikilaxuswiki, wikimicrowiki, wikipluswiki, wikiswikiswiki, wikitravelwiki, wikizunawiki, wouwiki, wowcomicswiki, wutheringwaveswiki, wyndwiki, yudukiyukariwiki, zhbackroomswiki, zkestrelwiki
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Predefinito: wikicordwiki
notfilter

Filtra le notifiche restituite.

Valori (separati da | o alternativa): !read, read
Predefinito: read|!read
notprop

Dettagli da richiedere.

Valori (separati da | o alternativa): count, list, seenTime
Predefinito: list
notsections

Le sezioni delle notifiche da consultare (per esempio, una combinazione di 'avviso' e 'messaggio').

Valori (separati da | o alternativa): alert, message
Predefinito: alert|message
notgroupbysection

Se raggruppare i risultati per sezione. Ogni sezione viene recuperata separatamente se impostato.

Tipo: booleano (dettagli)
notformat

Se specificato, le notifiche verranno restituite formattate in questo modo.

model
Dati grezzi notifica
special
Formattato per la pagina Special:Notifications (e solo quella!) Non fare affidamento sul HTML dato che può cambiare in qualsiasi momento.
flyout
Deprecato. Usa notformat=model per dati grezzi
html
Deprecato. Usa notformat=model per dati grezzi
Uno dei seguenti valori: flyout, html, model, special
notlimit

Il numero massimo di notifiche da recuperare.

Tipo: intero o max
The value must be between 1 and 50.
Predefinito: 20
notcontinue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

notunreadfirst

Se mostrare le notifiche non lette prima (usato solo se groupbysection è impostato).

Tipo: booleano (dettagli)
nottitles

Restituisce solo le notifiche per queste pagine. Per ottenere le notifiche non associate ad alcuna pagina, usa [] come titolo.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
notbundle

Whether to show bundle compatible unread notifications according to notification types bundling rules.

Tipo: booleano (dettagli)
notnotifiertypes

Notifier types for which to return notifications.

Valori (separati da | o alternativa): email, web
Predefinito: web
notalertcontinue

Quando più risultati 'avviso' sono disponibili, usa questo per continuare.

notalertunreadfirst

Se mostrare le notifiche dei messaggi non letti prima (usato solo se groupbysection è impostato).

Tipo: booleano (dettagli)
notmessagecontinue

Quando più risultati 'messaggio' sono disponibili, usa questo per continuare.

notmessageunreadfirst

Se mostrare le notifiche degli avvisi non letti prima (usato solo se groupbysection è impostato).

Tipo: booleano (dettagli)
notcrosswikisummary

True to opt in to a summary notification of notifications on foreign wikis.

Tipo: booleano (dettagli)

meta=oath (oath)

  • Questo modulo è interno o instabile e non dovresti usarlo. Il suo funzionamento potrebbe variare senza preavviso.
  • Questo modulo richiede i diritti di lettura.
  • Fonte: OATHAuth
  • Licenza: GPL-2.0-or-later AND GPL-3.0-or-later

Check to see if two-factor authentication (OATH) is enabled for a user.

Parametri specifici:
Sono disponibili altri parametri generali.
oathuser

User to get information about. Defaults to the current user.

Tipo: utente, da uno qualsiasi nome utente, IP, Utente temporaneo, Intervallo di IP e interwiki name (e.g. "prefix>ExampleName")
oathreason

Reason for querying the OATH status.

Esempi:
Ottieni informazioni sull'utente attuale
api.php?action=query&meta=oath [apri in una sandbox]
Ottieni informazioni sull'utente Example
api.php?action=query&meta=oath&oathuser=Example [apri in una sandbox]

meta=siteinfo (si)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Return general information about the site.

Parametri specifici:
Sono disponibili altri parametri generali.
siprop

Quali informazioni ottenere:

general
Overall system information.
namespaces
List of registered namespaces and their canonical names.
namespacealiases
List of registered namespace aliases.
specialpagealiases
List of special page aliases.
magicwords
List of magic words and their aliases.
interwikimap
Returns interwiki map (optionally filtered, optionally localised by using siinlanguagecode).
dbrepllag
Returns database server with the highest replication lag.
statistics
Restituisce le statistiche del sito.
usergroups
Returns user groups and the associated permissions.
autocreatetempuser
Returns configuration for the automatic creation of temporary user accounts (also known as IP masking).
clientlibraries
Returns client-side libraries installed on the wiki
libraries
Restituisci librerie installate sul wiki.
extensions
Restituisci estensioni installate sul wiki.
fileextensions
Returns list of file extensions (file types) allowed to be uploaded.
rightsinfo
Returns wiki rights (license) information if available.
restrictions
Restituisce informazioni sui tipi di restrizione (protezione) disponibili.
languages
Returns a list of languages MediaWiki supports (optionally localised by using siinlanguagecode).
languagevariants
Restituisce un'elenco di codici lingua per cui LanguageConverter è attivo, e le varianti supportate per ognuno di essi.
skins
Returns a list of all enabled skins (optionally localised by using siinlanguagecode, otherwise in the content language).
extensiontags
Returns a list of parser extension tags.
functionhooks
Returns a list of parser function hooks.
showhooks
Returns a list of all subscribed hooks (contents of $wgHooks).
variables
Returns a list of variable IDs.
protocols
Returns a list of protocols that are allowed in external links.
defaultoptions
Returns the default values for user preferences.
uploaddialog
Returns the upload dialog configuration.
autopromote
Returns the automatic promotion configuration.
autopromoteonce
Returns the automatic promotion configuration that are only done once.
Valori (separati da | o alternativa): autocreatetempuser, autopromote, autopromoteonce, clientlibraries, dbrepllag, defaultoptions, extensions, extensiontags, fileextensions, functionhooks, general, interwikimap, languages, languagevariants, libraries, magicwords, namespacealiases, namespaces, protocols, restrictions, rightsinfo, showhooks, skins, specialpagealiases, statistics, uploaddialog, usergroups, variables
Predefinito: general
sifilteriw

Return only local or only nonlocal entries of the interwiki map.

Uno dei seguenti valori: !local, local
sishowalldb

List all database servers, not just the one lagging the most.

Tipo: booleano (dettagli)
sinumberingroup

Lists the number of users in user groups.

Tipo: booleano (dettagli)
siinlanguagecode

Language code for localised language names (best effort) and skin names.

meta=tokens

Gets tokens for data-modifying actions.

Parametro specifico:
Sono disponibili altri parametri generali.
type

Tipi di token da richiedere.

Valori (separati da | o alternativa): createaccount, csrf, deleteglobalaccount, login, patrol, rollback, setglobalaccountstatus, userrights, watch
Per specificare tutti i valori, utilizza *.
Predefinito: csrf
Esempi:
Recupera un token csrf (il predefinito).
api.php?action=query&meta=tokens [apri in una sandbox]
Retrieve a watch token and a patrol token.
api.php?action=query&meta=tokens&type=watch|patrol [apri in una sandbox]

meta=unreadnotificationpages (unp)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: Echo
  • Licenza: MIT

Ottieni le pagine per le quali ci sono notifiche non lette per l'utente attuale.

Parametri specifici:
Sono disponibili altri parametri generali.
unpwikis

Elenco di wiki da cui recuperare le pagine con notifiche non lette (predefinito solo il wiki attuale).

Valori (separati da | o alternativa): *, 2b2twiki, 25minresearchwiki, acrencountywiki, aditicawiki, adrenaliniwiki, aeronauticawiki, aetasantewiki, afterthewinterwiki, ahewikiwiki, aion2wikiwiki, ajetwiki, algicosathlonwiki, allwikiwiki, ampgwiki, angiowadwiki, animefootballwiki, annexwiki, anothereidoswiki, antimonywiki, antlionguardwiki, arbalestholdingswiki, arkivetwiki, artwiki, asttefwiki, autismwiki, backroomswiki, backroomwiki, ballcommunitywiki, barneybunchwiki, battlefordandysworldwiki, beastchildscartelwiki, bfdiwiki, bibliatecawiki, biketrooperswiki, birdwiki, biteismewiki, bitrealmwiki, blockstrikewiki, bloxrpwiki, bobthebozowiki, brainwiki, brawlboardwiki, btwikiwiki, bubtoradndwiki, caesiawiki, calvoesferawiki, carnelianwiki, cecawiki, cheddapediawiki, chesapeakestudioswiki, chidurianwikiwiki, christianfolklorewiki, cirruswiki, citynamereviewerswiki, clashpediawiki, cloudcrafterwiki, cognwiki, countduckulawiki, countryhumanswiki, csmwwiki, ctwikiwiki, cybersafetywiki, cyberwariwiki, cyyscwiki, daggerheartwiki, danceofdragonswiki, dandysworldwiki, darkbrosswiki, darudeman11wiki, deepdiversrblxwiki, dencroftystaffwiki, devoidofwisdomwiki, dexwikiwiki, dgfrancewiki, dhammawiki, dinopediawiki, dissociationwiki, docsdotkywiki, dominationearthwiki, doomswiki, dovepediawiki, drakosmonswiki, drawingwiki, drcklinnwiki, dreamindigowiki, dsswiki, dubpanapanawiki, dysautonomiawiki, eberrondayswiki, eclipticawiki, electronchatappwiki, encyclospaciawiki, engl3203wiki, enquickpediawiki, eslwiki, esufranchisewiki, evelysiawiki, exonimiawiki, fable1922wiki, fareerwiki, farmoballswiki, fastfoodsimwiki, feudalworldwiki, foodlionwiki, footballfreewritewiki, forbiddencitywiki, formoscelanmathematicswiki, founderswikiwiki, fourfatswiki, foxwiki, fpbcamidemarwiki, fracctalwiki, franciskvardekwiki, freiweltrpgwiki, freshwebsiteswiki, gamerzgamezwiki, gamewaycreatorwiki, garwikiwiki, genesisarchivewiki, germanologiewiki, globalrizewiki, globemcwiki, greenheraldwiki, grpxboxsafrwiki, heeheepediawiki, heritagehomewiki, hkfoodwiki, hourglassachiveswiki, howtoeswiki, howtowiki, humorpediawiki, hypixelwiki, hzowiki, iamspewiki, independenciawiki, inovatestwiki, instipediawiki, isocorewiki, iulianarianwiki, jacobwpwiki, janawiki, jezewikiwiki, jollymetrowiki, jrosasriverawiki, jsmpwiki, justanotherwikiwiki, kabachokwiki, kakuutetudouwikiwiki, karashiwikiwiki, kbwiki, keynotathlonwiki, kgnwiki, khsbdbwiki, kingdomsmcwiki, kingilikesminecraftwiki, klodsabroadwiki, klwiki, krugstonwiki, lakessmilewiki, lambdawarswikiwiki, liberapediawiki, libertymyselfwiki, lifebrightlywiki, literarycartographywiki, loginwiki, lorelibrarywiki, lotwwiki, loveanddeepspacewiki, lsewiki, lucky11wiki, luluwiki, madnessdescentwiki, mafiamysterywiki, magicbuildingwiki, magicdudeswiki, magnificentbaddiewiki, manjuurancherwiki, marfilwiki, massshooterswiki, mdfanprojectswiki, medfordhistoricwiki, medipediawiki, metawiki, mgmuawiki, miassduchywiki, mikesbirthdaywiki, mimfwiki, mldofficialwikiwiki, moderntropeswiki, monaasliwiki, msh2025pbpwiki, myfrictionalwikiwiki, mygeekswiki, myinapediawiki, myrathwwppwiki, mythoswiki, namasteitalywiki, neoetruscanwiki, neowikiwiki, neurobanewiki, newpediawiki, newvaliswiki, nicopediawiki, niramwiki, nowherewiki, nyxextendeduniversewiki, oaklandswikiwiki, objectshowwiki, officialurbanwiki, ofpwiki, okowiki, omegaversewiki, oocjzwiki, opinionistetwiki, ostarlandwiki, palonewikiwiki, panikclassicrobloxgamewiki, parlopediawiki, parulawiki, pcwikiwiki, pdxrpbronzeandironwiki, pesosuwiki, peuthwiki, placeopediawiki, platonchwiki, pmodelwiki, pocoyowiki, policialocaldeandaluciawiki, politicshubwiki, polskimappingwiki, popmusicwiki, powyspediawiki, prideandfallwiki, primwikiwiki, progressivismwiki, progrostarwiki, projectherzlwiki, projectspapowiki, projectwikimiquelmusteraadricabrerawiki, psyctaleswiki, publicdomainlyricswiki, purelyevilwiki, pyrrhiawiki, qasawiki, qytrinewiki, radicalcitywiki, randompediawiki, randowiki, rapiddromedarieswiki, realitylostwiki, realmofthroneswiki, regretevatorwiki, remstiniawiki, researchifaesuwiki, robloxindiewikiswiki, robloxmysterykillerwiki, rogerrabbitwiki, rollspelsfansinwiki, romhavenwiki, ruswikiawiki, s4swiki, sandieshawwiki, sbrprobloxwiki, scienceolympiadwiki, shngameswiki, skyfrostwiki, slwiki, smowiki, solarawiki, solarpunkwiki, soldierwiki, songnguxyzwiki, soulboundsanctuarywiki, spacecomebywiki, spazioautisticowiki, spongebobwiki, ss14finalfontierwiki, sswiki, staffwiki, statskalenderwiki, stratagptwiki, superkeynotewiki, supermariohunterwiki, supermariowiki, susawiki, szubinwiki, talesandtravelswiki, tecnicawiki, test2wiki, test3wiki, test5wiki, test6wiki, testabcwiki, testwiki, thaeciawiki, theapwiki, thebeatlesvideoprojectwiki, thebeatleswiki, thebobuniversewikiwiki, thefabsocietywiki, thekeywiki, thenexxxwiki, thestudioshowwiki, thetowerswiki, theworldofterakkwiki, timoeberronwiki, tinkypediafinkywiki, todwikiwiki, tokyodebunkerwikiwiki, toscanainstradawiki, totoparodywiki, trainsandbuseswiki, trihhictionarywiki, tsdonwiki, tskwiki, tunapediawiki, turkiyewiki, tvburpwiki, twrwiki, uamusicwiki, ubercatoverdrivewiki, ucpacfoundationwiki, uerwiki, ultradecawikiwiki, utgarchivewiki, uticwiki, valhirwiki, varnishwiki, victoriassecretwiki, waki285wiki, wangzijianwiki, warehousewarswiki, weenwiki, whiteywiki, wikathlonwiki, wikiaeveryonewiki, wikiballiawiki, wikiberitawiki, wikicordwiki, wikifactwiki, wikigeniuswiki, wikilaxuswiki, wikimicrowiki, wikipluswiki, wikiswikiswiki, wikitravelwiki, wikizunawiki, wouwiki, wowcomicswiki, wutheringwaveswiki, wyndwiki, yudukiyukariwiki, zhbackroomswiki, zkestrelwiki
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Predefinito: wikicordwiki
unpgrouppages

Group talk pages together with their subject page, and group notifications not associated with a page together with the current user's user page.

Tipo: booleano (dettagli)
unplimit

Il numero massimo di pagine da restituire.

Tipo: intero o max
The value must be between 1 and 2 000.
Predefinito: 10
Esempio:
Elenca le pagine con (il loro numero di) notifiche non lette
api.php?action=query&meta=unreadnotificationpages [apri in una sandbox]

meta=userinfo (ui)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Ottieni informazioni sull'utente attuale.

Parametri specifici:
Sono disponibili altri parametri generali.
uiprop

Which pieces of information to include:

blockinfo
Etichetta se l'utente attuale è bloccato, da chi e per quale motivo.
hasmsg
Aggiunge un'etichetta messages se l'utente attuale ha messaggi in attesa.
groups
Lists all the groups the current user belongs to.
groupmemberships
Lists groups that the current user has been explicitly assigned to, including the expiry date of each group membership.
implicitgroups
Elenca tutti i gruppi di cui l'utente attuale è automaticamente membro.
rights
Lists all the rights the current user has.
changeablegroups
Elenca tutti i gruppi di cui l'utente attuale può essere aggiunto o rimosso.
options
Lists all preferences the current user has set.
editcount
Adds the current user's edit count.
ratelimits
Lists all rate limits applying to the current user.
theoreticalratelimits
Lists all rate limits that would apply to the current user if they were not exempt from all ratelimits based on user rights or ip
email
Adds the user's email address and email authentication date.
realname
Aggiungi il nome reale dell'utente.
acceptlang
Echoes the Accept-Language header sent by the client in a structured format.
registrationdate
Aggiungi la data di registrazione dell'utente.
unreadcount
Adds the count of unread pages on the user's watchlist (maximum 999; returns 1000+ if more).
centralids
Adds the central IDs and attachment status for the user.
latestcontrib
Adds the date of user's latest contribution.
cancreateaccount
Indicates whether the user is allowed to create accounts. To check whether some specific account can be created, use action=query&list=users&usprop=cancreate.
Valori (separati da | o alternativa): acceptlang, blockinfo, cancreateaccount, centralids, changeablegroups, editcount, email, groupmemberships, groups, hasmsg, implicitgroups, latestcontrib, options, ratelimits, realname, registrationdate, rights, theoreticalratelimits, unreadcount
Per specificare tutti i valori, utilizza *.
uiattachedwiki

With uiprop=centralids, indicate whether the user is attached with the wiki identified by this ID.

Esempi:
Ottieni informazioni sull'utente attuale.
api.php?action=query&meta=userinfo [apri in una sandbox]
Get additional information about the current user.
api.php?action=query&meta=userinfo&uiprop=blockinfo|groups|rights|hasmsg [apri in una sandbox]

meta=wbcontentlanguages (wbcl)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Returns information about the content languages Wikibase accepts in different contexts.

Parametri specifici:
Sono disponibili altri parametri generali.
wbclcontext

Il contesto in cui le lingue dei contenuti dovrebbero essere valide.

term
I termini (etichetta, descrizione, alias) di un'entità.
monolingualtext
Un valore di testo monolingua in una dichiarazione.
Uno dei seguenti valori: monolingualtext, term
Predefinito: term
wbclprop

Le proprietà che dovrebbero essere restituite per ogni lingua.

code
Il codice della lingua.
autonym
The autonym of the language, that is, the name of the language in that language. May not be known for all languages.
name
The name of the language in the current language (specified via the uselang parameter), with language fallbacks applied if necessary. Usually, at least an English name is known for all content languages Wikibase accepts.
Valori (separati da | o alternativa): autonym, code, name
Predefinito: code
Esempi:
Ottieni i codici lingua validi per i termini di un'entità.
api.php?action=query&meta=wbcontentlanguages [apri in una sandbox]
Get the valid languages, with language code and autonym, for monolingual text values.
api.php?action=query&meta=wbcontentlanguages&wbclcontext=monolingualtext&wbclprop=code|autonym [apri in una sandbox]

meta=wikibase (wb)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Get information about the Wikibase client and the associated Wikibase repository.

Parametro specifico:
Sono disponibili altri parametri generali.
wbprop

Quali proprietà ottenere:

url
Base URL, script path and article path of the Wikibase repository.
siteid
The siteid of this site.
Valori (separati da | o alternativa): siteid, url
Predefinito: url|siteid
Esempio:
Ottieni il percorso URL e altre informazioni sul client e repository Wikibase.
api.php?action=query&meta=wikibase [apri in una sandbox]

action=removeauthenticationdata

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Rimuove i dati di autenticazione per l'utente corrente.

Parametri specifici:
Sono disponibili altri parametri generali.
request

Use this authentication request, by the id returned from action=query&meta=authmanagerinfo with amirequestsfor=remove.

Questo parametro è obbligatorio.
token

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

Questo parametro è obbligatorio.
Esempio:
Tentativo di rimuovere gli attuali dati utente per FooAuthenticationRequest.
api.php?action=removeauthenticationdata&request=FooAuthenticationRequest&token=123ABC [apri in una sandbox]

action=removeavatar

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: SocialProfile
  • Licenza: sconosciuta

Remove an avatar, either yours or if you're privileged, also that of another user.

Parametri specifici:
Sono disponibili altri parametri generali.
user

Name of the user whose avatar to remove.

Questo parametro è obbligatorio.
Tipo: utente, da nome utente
reason

Optional reason as to why you're removing someone else's avatar.

token

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

Questo parametro è obbligatorio.
Esempi:
Remove the avatar of the user named "Ashley"
api.php?action=removeavatar&user=Ashley&token=123ABC [apri in una sandbox]
Remove the avatar of the user named "Elektra" with "Blatant copyvio" as the deletion reason
api.php?action=removeavatar&user=Elektra&token=123ABC&reason=Blatant copyvio [apri in una sandbox]

action=resetpassword

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Invia una mail per reimpostare la password di un utente.

Parametri specifici:
Sono disponibili altri parametri generali.
user

Utente in corso di ripristino.

Tipo: utente, da nome utente
email

Indirizzo di posta elettronica dell'utente in corso di ripristino.

token

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

Questo parametro è obbligatorio.
Esempi:
Invia una mail per reimpostare la password all'utente Example.
api.php?action=resetpassword&user=Example&token=123ABC [apri in una sandbox]
Invia una mail per reimpostare la password a tutti gli utenti con indirizzo di posta elettronica [email protected].
api.php?action=resetpassword&[email protected]&token=123ABC [apri in una sandbox]

action=revisiondelete

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Cancella e ripristina le versioni.

Parametri specifici:
Sono disponibili altri parametri generali.
type

Tipo di cancellazione della versione effettuata.

Questo parametro è obbligatorio.
Uno dei seguenti valori: archive, filearchive, logging, oldimage, revision
target

Page title for the revision deletion, if required for the type.

ids

Identifiers for the revisions to be deleted.

Questo parametro è obbligatorio.
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
hide

Cosa nascondere per ogni versione.

Valori (separati da | o alternativa): comment, content, user
show

Cosa mostrare per ogni versione.

Valori (separati da | o alternativa): comment, content, user
suppress

Whether to suppress data from administrators as well as others.

Uno dei seguenti valori: no, nochange, yes
Predefinito: nochange
reason

Motivo per l'eliminazione o il ripristino.

tags

Tags to apply to the entry in the deletion log.

Valori (separati da | o alternativa):
token

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

Questo parametro è obbligatorio.

action=rollback

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Undo the last edit to the page.

If the last user who edited the page made multiple edits in a row, they will all be rolled back.

Parametri specifici:
Sono disponibili altri parametri generali.
title

Title of the page to roll back. Cannot be used together with pageid.

pageid

Page ID of the page to roll back. Cannot be used together with title.

Type: integer
tags

Tags to apply to the rollback.

Valori (separati da | o alternativa):
user

Name of the user whose edits are to be rolled back.

Questo parametro è obbligatorio.
Tipo: utente, da uno qualsiasi nome utente, IP, Utente temporaneo, interwiki name (e.g. "prefix>ExampleName") e ID utente (ad esempio "#12345")
summary

Custom edit summary. If empty, default summary will be used.

Predefinito: (vuoto)
markbot

Mark the reverted edits and the revert as bot edits.

Tipo: booleano (dettagli)
watchlist

Unconditionally add or remove the page from the current user's watchlist, use preferences (ignored for bot users) or do not change watch.

Uno dei seguenti valori: nochange, preferences, unwatch, watch
Predefinito: preferences
token

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

For compatibility, the token used in the web UI is also accepted.

Questo parametro è obbligatorio.
Esempi:
Roll back the last edits to page Home by user Example.
api.php?action=rollback&title=Home&user=Example&token=123ABC [apri in una sandbox]
Roll back the last edits to page Home by IP user 192.0.2.5 with summary Reverting vandalism, and mark those edits and the revert as bot edits.
api.php?action=rollback&title=Home&user=192.0.2.5&token=123ABC&summary=Reverting%20vandalism&markbot=1 [apri in una sandbox]

action=rsd

(main | rsd)

Export an RSD (Really Simple Discovery) schema.

Esempio:
Export the RSD schema.
api.php?action=rsd [apri in una sandbox]

action=scribunto-console

  • Questo modulo è interno o instabile e non dovresti usarlo. Il suo funzionamento potrebbe variare senza preavviso.
  • Questo modulo richiede i diritti di lettura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: Scribunto
  • Licenza: GPL-2.0-or-later AND MIT

Internal module for servicing XHR requests from the Scribunto console.

Parametri specifici:
Sono disponibili altri parametri generali.
title

Titolo del modulo su cui effettuare test.

content

The new content of the module.

session

Session token.

Type: integer
question

The next line to evaluate as a script.

Questo parametro è obbligatorio.
clear

Set to clear the current session state.

Tipo: booleano (dettagli)
token

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

Questo parametro è obbligatorio.

action=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.

Questo parametro è obbligatorio.
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

Questo parametro è obbligatorio.

action=setnotificationtimestamp

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Update the notification timestamp for watched pages.

This affects the highlighting of changed pages in the watchlist and history, and the sending of email when the "Inviami una email quando viene modificata una pagina o un file presente tra gli osservati speciali" preference is enabled.

Parametri specifici:
Sono disponibili altri parametri generali.
entirewatchlist

Work on all watched pages.

Tipo: booleano (dettagli)
timestamp

Timestamp to which to set the notification timestamp.

Tipo: timestamp (formati consentiti)
torevid

Revision to set the notification timestamp to (one page only).

Type: integer
newerthanrevid

Revision to set the notification timestamp newer than (one page only).

Type: integer
continue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

titles

Un elenco di titoli su cui lavorare.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
pageids

Un elenco di ID pagina su cui lavorare.

Type: list of integers
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
revids

Un elenco di ID versioni su cui lavorare. Tieni presente che quasi tutti i moduli per le interrogazioni convertiranno gli ID versione nell'ID pagina corrispondente e lavoreranno quindi sull'ultima versione. Solo prop=revisions usa le versioni esatte per la sua risposta.

Type: list of integers
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
generator

Get the list of pages to work on by executing the specified query module.

Note: Generator parameter names must be prefixed with a "g", see examples.

allcategories
Enumera tutte le categorie.
alldeletedrevisions
Elenca tutte le versioni cancellate da un utente o in un namespace.
allfileusages
List all file usages, including non-existing.
allimages
Enumerate all images sequentially.
alllinks
Elenca tutti i collegamenti che puntano ad un namespace indicato.
allpages
Enumerate all pages sequentially in a given namespace.
allredirects
List all redirects to a namespace.
allrevisions
Elenco di tutte le versioni.
alltransclusions
Elenca tutte le inclusioni (pagine incorporate utilizzando {{x}}), comprese le non esistenti.
backlinks
Trova tutte le pagine che puntano a quella specificata.
categories
Elenca tutte le categorie a cui appartengono le pagine.
categorymembers
Elenca tutte le pagine in una categoria indicata.
deletedrevisions
Get deleted revision information.
duplicatefiles
List all files that are duplicates of the given files based on hash values.
embeddedin
Trova tutte le pagine che incorporano (transclusione) il titolo specificato.
exturlusage
Enumerate pages that contain a given URL.
fileusage
Trova tutte le pagine che utilizzano il file specificato.
geosearch
Returns pages having coordinates that are located in a certain area.
images
Returns all files contained on the given pages.
imageusage
Trova tutte le pagine che utilizzano il titolo dell'immagine specificato.
iwbacklinks
Find all pages that link to the given interwiki link.
langbacklinks
Find all pages that link to the given language link.
links
Returns all links from the given pages.
linkshere
Trova tutte le pagine che puntano a quelle specificate.
pageswithprop
List all pages using a given page property.
prefixsearch
Perform a prefix search for page titles.
protectedtitles
Elenca tutti i titoli protetti dalla creazione.
querypage
Get a list provided by a QueryPage-based special page.
random
Get a set of random pages.
recentchanges
Elenca le modifiche recenti.
redirects
Restituisce tutti i reindirizzamenti alla data indicata.
revisions
Get revision information.
search
Eseguire una ricerca di testo completa.
templates
Returns all pages transcluded on the given pages.
transcludedin
Trova tutte le pagine che incorporano quella specificata.
watchlist
Ottieni le ultime modifiche alle pagine tra gli osservati speciali dell'utente attuale.
watchlistraw
Get all pages on the current user's watchlist.
wblistentityusage
Restituisce tutte le pagine che utilizzano gli ID entità indicati.
wbsearch
Internal. Searches for entities using labels and aliases.
Uno dei seguenti valori: allcategories, alldeletedrevisions, allfileusages, allimages, alllinks, allpages, allredirects, allrevisions, alltransclusions, backlinks, categories, categorymembers, deletedrevisions, duplicatefiles, embeddedin, exturlusage, fileusage, geosearch, images, imageusage, iwbacklinks, langbacklinks, links, linkshere, pageswithprop, prefixsearch, protectedtitles, querypage, random, recentchanges, redirects, revisions, search, templates, transcludedin, watchlist, watchlistraw, wblistentityusage, wbsearch
redirects

Risolvi automaticamente redirect in titles, pageids, e revids, e nelle pagine restituite da generator.

Tipo: booleano (dettagli)
converttitles

Converte i titoli in altre varianti, se necessario. Funziona solo se la lingua del contenuto del wiki supporta la conversione in varianti. Le lingue che supportano la conversione in varianti includono ban, en, crh, gan, iu, ku, mni, sh, shi, sr, tg, tly, uz, wuu, zgh e zh

Tipo: booleano (dettagli)
token

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

Questo parametro è obbligatorio.

action=setpagelanguage

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Cambia la lingua di una pagina.

La modifica della lingua di una pagina non è consentita su questo wiki.

Attiva $wgPageLanguageUseDB per usare questa azione.

Parametri specifici:
Sono disponibili altri parametri generali.
title

Title of the page whose language you wish to change. Cannot be used together with pageid.

pageid

Page ID of the page whose language you wish to change. Cannot be used together with title.

Type: integer
lang

Language code of the language to change the page to. Use default to reset the page to the wiki's default content language.

Questo parametro è obbligatorio.
Uno dei seguenti valori: aae, ab, abs, ace, acf, acm, ady, ady-cyrl, aeb, aeb-arab, aeb-latn, af, aln, alt, am, ami, an, ang, ann, anp, apc, ar, arc, arn, arq, ary, arz, as, ase, ast, atj, av, avk, awa, ay, az, azb, ba, ban, ban-bali, bar, bbc, bbc-latn, bcc, bci, bcl, bdr, be, be-tarask, bew, bg, bgc, bgn, bh, bho, bi, bjn, blk, bm, bn, bo, bpy, bqi, br, brh, bs, btm, bto, bug, bxr, ca, cbk-zam, ccp, cdo, ce, ceb, ch, chn, chr, chy, ckb, co, cps, cpx, cpx-hans, cpx-hant, cr, crh, crh-cyrl, crh-latn, crh-ro, cs, csb, cu, cv, cy, da, dag, de, de-at, de-ch, de-formal, default, dga, din, diq, dsb, dtp, dty, dua, dv, dz, ee, efi, egl, el, eml, en, en-ca, en-gb, eo, es, es-formal, et, eu, ext, fa, fat, ff, fi, fit, fj, fo, fon, fr, frc, frp, frr, fur, fy, ga, gaa, gag, gan, gan-hans, gan-hant, gcf, gcr, gd, gl, gld, glk, gn, gom, gom-deva, gom-latn, gor, got, gpe, grc, gsw, gu, guc, gur, guw, gv, ha, hak, hak-hans, hak-hant, hak-latn, haw, he, hi, hif, hif-latn, hil, hno, hr, hrx, hsb, hsn, ht, hu, hu-formal, hy, hyw, ia, iba, ibb, id, ie, ig, igl, ii, ik, ike-cans, ike-latn, ilo, inh, io, is, isv-cyrl, isv-latn, it, iu, ja, jam, jbo, jut, jv, ka, kaa, kab, kai, kbd, kbd-cyrl, kbp, kcg, kea, kg, kge, khw, ki, kiu, kjh, kjp, kk, kk-arab, kk-cn, kk-cyrl, kk-kz, kk-latn, kk-tr, kl, km, kn, knc, ko, ko-kp, koi, kr, krc, kri, krj, krl, ks, ks-arab, ks-deva, ksh, ksw, ku, ku-arab, ku-latn, kum, kus, kv, kw, ky, la, lad, lb, lbe, lez, lfn, lg, li, lij, liv, lki, lld, lmo, ln, lo, loz, lrc, lt, ltg, lua, lus, luz, lv, lzh, lzz, mad, mag, mai, map-bms, mdf, mg, mhr, mi, min, mk, ml, mn, mnc, mnc-latn, mnc-mong, mni, mnw, mo, mos, mr, mrh, mrj, ms, ms-arab, mt, mui, mwl, my, myv, mzn, na, nah, nan, nan-hant, nan-latn-pehoeji, nan-latn-tailo, nap, nb, nds, nds-nl, ne, new, nia, nit, niu, nl, nl-informal, nmz, nn, nod, nog, nov, nqo, nr, nrm, nso, nup, nv, ny, nyn, nyo, nys, oc, ojb, olo, om, or, os, pa, pag, pam, pap, pcd, pcm, pdc, pdt, pfl, pi, pih, pl, pms, pnb, pnt, prg, ps, pt, pt-br, pwn, qu, qug, rgn, rif, rki, rm, rmc, rmy, rn, ro, roa-tara, rsk, ru, rue, rup, ruq, ruq-cyrl, ruq-latn, rut, rw, ryu, sa, sah, sat, sc, scn, sco, sd, sdc, sdh, se, se-fi, se-no, se-se, sei, ses, sg, sgs, sh, sh-cyrl, sh-latn, shi, shn, shy, shy-latn, si, sjd, sje, sk, skr, skr-arab, sl, sli, sm, sma, smn, sms, sn, so, sq, sr, sr-ec, sr-el, srn, sro, ss, st, stq, sty, su, sv, sw, syl, szl, szy, ta, tay, tcy, tdd, te, tet, tg, tg-cyrl, tg-latn, th, ti, tig, tk, tl, tly, tn, to, tok, tpi, tr, tru, trv, ts, tt, tt-cyrl, tt-latn, ttj, tum, tw, ty, tyv, tzm, udm, ug, ug-arab, ug-latn, uk, ur, uz, ve, vec, vep, vi, vls, vmf, vmw, vo, vot, vro, wa, wal, war, wls, wo, wuu, wuu-hans, wuu-hant, xal, xh, xmf, xsy, yi, yo, yrl, yue, yue-hans, yue-hant, za, zea, zgh, zh, zh-cn, zh-hans, zh-hant, zh-hk, zh-mo, zh-my, zh-sg, zh-tw, zu
reason

Motivo per la modifica.

tags

Change tags to apply to the log entry resulting from this action.

Valori (separati da | o alternativa):
token

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

Questo parametro è obbligatorio.
Esempi:
Change the language of the page Home to Basque.
api.php?action=setpagelanguage&title=Home&lang=eu&token=123ABC [apri in una sandbox]
Change the language of the page with ID 123 to the wiki's default content language.
api.php?action=setpagelanguage&pageid=123&lang=default&token=123ABC [apri in una sandbox]

action=shortenurl

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: UrlShortener
  • Licenza: Apache-2.0

Abbrevia un URL lungo in uno più corto.

Parametro specifico:
Sono disponibili altri parametri generali.
url

URL da abbreviare.

Questo parametro è obbligatorio.

action=smpuserprivacy

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: SocialProfile
  • Licenza: sconosciuta

API module for setting the visibility ("privacy") of a profile field

Parametri specifici:
Sono disponibili altri parametri generali.
method

Azione (che sia "prendi" o "imposta")

field_key

Campo di destinazione chiave, ad esempio up_movies per il campo"Film"

privacy

Nuovo valore di privacy (uno dei seguenti: pubblico, nascosto, amici, amici degli amici)

token

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

Questo parametro è obbligatorio.

action=smpuserprofiletype

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: SocialProfile
  • Licenza: sconosciuta

Get a user's user page type or set your own user page type

Parametri specifici:
Sono disponibili altri parametri generali.
do

Azione da eseguire ("prendi" o "imposta")

Questo parametro è obbligatorio.
Uno dei seguenti valori: get, set
user

User name (only relevant when do is get as this module cannot be used to set other user's user page types, only your own)

Tipo: utente, da uno qualsiasi nome utente, IP, Utente temporaneo, Intervallo di IP e interwiki name (e.g. "prefix>ExampleName")
token

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

Questo parametro è obbligatorio.

action=socialprofile-delete-message

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: UserBoard
  • Licenza: GPL-2.0-or-later

Delete a UserBoard message.

Parametri specifici:
Sono disponibili altri parametri generali.
id

Unique identifier of the board message to delete.

Type: integer
token

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

Questo parametro è obbligatorio.

action=socialprofile-request-response

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: UserRelationship
  • Licenza: GPL-2.0-or-later

Responds to user relationship (friend/foe) requests.

Parametri specifici:
Sono disponibili altri parametri generali.
response

Response to the relationship request; 1 to accept, -1 to reject.

Questo parametro è obbligatorio.
Type: integer
id

Unique identifier of the relationship request

Questo parametro è obbligatorio.
Type: integer
token

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

Questo parametro è obbligatorio.

action=socialprofile-send-message

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: UserBoard
  • Licenza: GPL-2.0-or-later

Send a message to a user's UserBoard.

Parametri specifici:
Sono disponibili altri parametri generali.
username

The recipient's user name.

Questo parametro è obbligatorio.
message

A urlencoded version of the message to send.

Questo parametro è obbligatorio.
type

Message type: 0 for a public message, 1 for a private message.

Type: integer
token

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

Questo parametro è obbligatorio.

action=spamblacklist

  • Questo modulo richiede i diritti di lettura.
  • Fonte: SpamBlacklist
  • Licenza: GPL-2.0-or-later

Validate one or more URLs against the spam block list.

Parametro specifico:
Sono disponibili altri parametri generali.
url

URLs to validate against the block list.

Questo parametro è obbligatorio.
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).

action=stashedit

  • Questo modulo è interno o instabile e non dovresti usarlo. Il suo funzionamento potrebbe variare senza preavviso.
  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Prepare an edit in shared cache.

This is intended to be used via AJAX from the edit form to improve the performance of the page save.

Parametri specifici:
Sono disponibili altri parametri generali.
title

Titolo della pagina che si sta modificando.

Questo parametro è obbligatorio.
section

Section identifier. 0 for the top section, new for a new section.

sectiontitle

Il titolo per una nuova sezione.

text

Contenuto della pagina.

stashedtexthash

Page content hash from a prior stash to use instead.

summary

Oggetto della modifica.

Predefinito: (vuoto)
contentmodel

Modello di contenuto dei nuovi contenuti.

Questo parametro è obbligatorio.
Uno dei seguenti valori: Campaign, GadgetDefinition, GeoJSON, GeoJson, JsonSchema, MassMessageListContent, Scribunto, css, flexdiagrams-bpmn, flexdiagrams-dot, flexdiagrams-drawio, flexdiagrams-gantt, flexdiagrams-mermaid, javascript, json, sanitized-css, text, unknown, wikibase-item, wikibase-property, wikitext
contentformat

Content serialization format used for the input text.

Questo parametro è obbligatorio.
Uno dei seguenti valori: application/json, application/octet-stream, application/unknown, application/vnd.php.serialized, application/x-binary, application/xml, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
baserevid

Revision ID of the base revision.

Questo parametro è obbligatorio.
Type: integer
token

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

Questo parametro è obbligatorio.

action=tag

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

Add or remove change tags from individual revisions or log entries.

Parametri specifici:
Sono disponibili altri parametri generali.
rcid

One or more recent changes IDs from which to add or remove the tag.

Type: list of integers
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
revid

One or more revision IDs from which to add or remove the tag.

Type: list of integers
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
logid

One or more log entry IDs from which to add or remove the tag.

Type: list of integers
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
add

Tags to add. Only manually defined tags can be added.

Valori (separati da | o alternativa):
remove

Tags to remove. Only tags that are either manually defined or completely undefined can be removed.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
reason

Motivo per la modifica.

Predefinito: (vuoto)
tags

Tags to apply to the log entry that will be created as a result of this action.

Valori (separati da | o alternativa):
token

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

Questo parametro è obbligatorio.
Esempi:
Add the vandalism tag to revision ID 123 without specifying a reason
api.php?action=tag&revid=123&add=vandalism&token=123ABC [apri in una sandbox]
Remove the spam tag from log entry ID 123 with the reason Wrongly applied
api.php?action=tag&logid=123&remove=spam&reason=Wrongly+applied&token=123ABC [apri in una sandbox]

action=templatedata

  • Questo modulo richiede i diritti di lettura.
  • Fonte: TemplateData
  • Licenza: GPL-2.0-or-later

Fetch data stored by the TemplateData extension.

Parametri specifici:
Sono disponibili altri parametri generali.
includeMissingTitles

Restituisce i dati riguardanti i titoli anche se perduti o mancano di TemplateData. Di default i titoli vengono restituiti solo se esistono e hanno TemplateData.

Tipo: booleano (dettagli)
doNotIgnoreMissingTitles
Deprecato.

Return data about titles even if they are missing or lack TemplateData. By default (for backwards compatibility) titles are only returned if they exist and have TemplateData.

Tipo: booleano (dettagli)
lang

Mostra valori localizzati in questa lingua. Per impostazione predefinita, sono mostrate tutte le traduzioni disponibili.

titles

Un elenco di titoli su cui lavorare.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
pageids

Un elenco di ID pagina su cui lavorare.

Type: list of integers
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
revids

Un elenco di ID versioni su cui lavorare. Tieni presente che quasi tutti i moduli per le interrogazioni convertiranno gli ID versione nell'ID pagina corrispondente e lavoreranno quindi sull'ultima versione. Solo prop=revisions usa le versioni esatte per la sua risposta.

Type: list of integers
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
generator

Get the list of pages to work on by executing the specified query module.

Note: Generator parameter names must be prefixed with a "g", see examples.

allcategories
Enumera tutte le categorie.
alldeletedrevisions
Elenca tutte le versioni cancellate da un utente o in un namespace.
allfileusages
List all file usages, including non-existing.
allimages
Enumerate all images sequentially.
alllinks
Elenca tutti i collegamenti che puntano ad un namespace indicato.
allpages
Enumerate all pages sequentially in a given namespace.
allredirects
List all redirects to a namespace.
allrevisions
Elenco di tutte le versioni.
alltransclusions
Elenca tutte le inclusioni (pagine incorporate utilizzando {{x}}), comprese le non esistenti.
backlinks
Trova tutte le pagine che puntano a quella specificata.
categories
Elenca tutte le categorie a cui appartengono le pagine.
categorymembers
Elenca tutte le pagine in una categoria indicata.
deletedrevisions
Get deleted revision information.
duplicatefiles
List all files that are duplicates of the given files based on hash values.
embeddedin
Trova tutte le pagine che incorporano (transclusione) il titolo specificato.
exturlusage
Enumerate pages that contain a given URL.
fileusage
Trova tutte le pagine che utilizzano il file specificato.
geosearch
Returns pages having coordinates that are located in a certain area.
images
Returns all files contained on the given pages.
imageusage
Trova tutte le pagine che utilizzano il titolo dell'immagine specificato.
iwbacklinks
Find all pages that link to the given interwiki link.
langbacklinks
Find all pages that link to the given language link.
links
Returns all links from the given pages.
linkshere
Trova tutte le pagine che puntano a quelle specificate.
pageswithprop
List all pages using a given page property.
prefixsearch
Perform a prefix search for page titles.
protectedtitles
Elenca tutti i titoli protetti dalla creazione.
querypage
Get a list provided by a QueryPage-based special page.
random
Get a set of random pages.
recentchanges
Elenca le modifiche recenti.
redirects
Restituisce tutti i reindirizzamenti alla data indicata.
revisions
Get revision information.
search
Eseguire una ricerca di testo completa.
templates
Returns all pages transcluded on the given pages.
transcludedin
Trova tutte le pagine che incorporano quella specificata.
watchlist
Ottieni le ultime modifiche alle pagine tra gli osservati speciali dell'utente attuale.
watchlistraw
Get all pages on the current user's watchlist.
wblistentityusage
Restituisce tutte le pagine che utilizzano gli ID entità indicati.
wbsearch
Internal. Searches for entities using labels and aliases.
Uno dei seguenti valori: allcategories, alldeletedrevisions, allfileusages, allimages, alllinks, allpages, allredirects, allrevisions, alltransclusions, backlinks, categories, categorymembers, deletedrevisions, duplicatefiles, embeddedin, exturlusage, fileusage, geosearch, images, imageusage, iwbacklinks, langbacklinks, links, linkshere, pageswithprop, prefixsearch, protectedtitles, querypage, random, recentchanges, redirects, revisions, search, templates, transcludedin, watchlist, watchlistraw, wblistentityusage, wbsearch
redirects

Risolvi automaticamente redirect in titles, pageids, e revids, e nelle pagine restituite da generator.

Tipo: booleano (dettagli)
converttitles

Converte i titoli in altre varianti, se necessario. Funziona solo se la lingua del contenuto del wiki supporta la conversione in varianti. Le lingue che supportano la conversione in varianti includono ban, en, crh, gan, iu, ku, mni, sh, shi, sr, tg, tly, uz, wuu, zgh e zh

Tipo: booleano (dettagli)
Esempi:
Mostra TemplateData per Template:Foobar, con risultati se il template non esiste o esiste ma non ha TemplateData
api.php?action=templatedata&titles=Template:Foobar&includeMissingTitles=1 [apri in una sandbox]
Return TemplateData for Template:Phabricator, with no results if the template does not exist or exists but has no TemplateData
api.php?action=templatedata&titles=Template:Phabricator [apri in una sandbox]

action=timedtext

  • Questo modulo è interno o instabile e non dovresti usarlo. Il suo funzionamento potrebbe variare senza preavviso.
  • Questo modulo richiede i diritti di lettura.
  • Fonte: TimedMediaHandler
  • Licenza: GPL-2.0-or-later

Provides timed text content for usage by <track> elements

Parametri specifici:
Sono disponibili altri parametri generali.
title

The media file title for which to retrieve timed text

pageid

The pageid of the media file for which to retrieve timed text

Type: integer
trackformat

The file format in which to return timed text

Questo parametro è obbligatorio.
Uno dei seguenti valori: srt, vtt
lang

The language of the timed text to retrieve

Esempio:
Fetch an SRT subtitle file in German for the file Example.ogv
api.php?action=timedtext&title=File:Example.ogv&lang=de&trackformat=vtt [apri in una sandbox]

action=titleblacklist (tb)

  • Questo modulo richiede i diritti di lettura.
  • Fonte: TitleBlacklist
  • Licenza: GPL-2.0-or-later

Validate a page title, filename, or username against the TitleBlacklist.

Parametri specifici:
Sono disponibili altri parametri generali.
tbtitle

The string to validate against the blacklist.

Questo parametro è obbligatorio.
tbaction

The action to be checked.

Uno dei seguenti valori: create, createpage, createtalk, edit, move, new-account, upload
Predefinito: edit
tbnooverride

Don't try to override the titleblacklist.

Tipo: booleano (dettagli)

action=torblock

  • Questo modulo richiede i diritti di lettura.
  • Fonte: TorBlock
  • Licenza: GPL-2.0-or-later

Check if an IP address is blocked as a Tor exit node.

Parametro specifico:
Sono disponibili altri parametri generali.
ip

The IP address to check.

Questo parametro è obbligatorio.
Esempio:
Check if the IP address 192.0.2.18 is blocked as a Tor exit node.
api.php?action=torblock&ip=192.0.2.18 [apri in una sandbox]

action=transcodereset

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: TimedMediaHandler
  • Licenza: GPL-2.0-or-later

Users with the 'transcode-reset' right can reset and re-run a transcode job.

Parametri specifici:
Sono disponibili altri parametri generali.
title

Il titolo del file multimediale.

Questo parametro è obbligatorio.
transcodekey

The transcode key you wish to reset. Fetch from action=query&prop=transcodestatus.

token

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

Questo parametro è obbligatorio.

action=unblock

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Sblocca un utente

Parametri specifici:
Sono disponibili altri parametri generali.
id

ID of the block to unblock (obtained through list=blocks). Cannot be used together with user.

Type: integer
user

Utente da sbloccare. Non può essere usato insieme a id.

Tipo: utente, da uno qualsiasi nome utente, IP, Utente temporaneo, Intervallo di IP e ID utente (ad esempio "#12345")
userid
Deprecato.

Specifica user=#ID invece.

Type: integer
reason

Motivo dello sblocco.

Predefinito: (vuoto)
tags

I tag di modifica da applicare all'elemento del registro dei blocchi.

Valori (separati da | o alternativa):
watchuser

Watch the user's or IP address's user and talk pages.

Tipo: booleano (dettagli)
token

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

Questo parametro è obbligatorio.

action=undelete

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Ripristina versioni di una pagina cancellata.

A list of deleted revisions (including timestamps) can be retrieved through prop=deletedrevisions, and a list of deleted file IDs can be retrieved through list=filearchive.

Parametri specifici:
Sono disponibili altri parametri generali.
title

Titolo della pagina da ripristinare.

Questo parametro è obbligatorio.
reason

Motivo per il ripristino.

Predefinito: (vuoto)
tags

Modifica etichette da applicare all'elemento del registro delle cancellazioni.

Valori (separati da | o alternativa):
timestamps

Timestamps of the revisions to undelete. If both timestamps and fileids are empty, all will be undeleted.

Tipo: elenco di timestamp (formati consentiti)
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
fileids

IDs of the file revisions to restore. If both timestamps and fileids are empty, all will be restored.

Type: list of integers
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
undeletetalk

Undelete all revisions of the associated talk page, if any.

Tipo: booleano (dettagli)
watchlist

Unconditionally add or remove the page from the current user's watchlist, use preferences (ignored for bot users) or do not change watch.

Uno dei seguenti valori: nochange, preferences, unwatch, watch
Predefinito: preferences
token

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

Questo parametro è obbligatorio.

action=unlinkaccount

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Rimuove un'utenza di terze parti collegata all'utente corrente.

Parametri specifici:
Sono disponibili altri parametri generali.
request

Use this authentication request, by the id returned from action=query&meta=authmanagerinfo with amirequestsfor=unlink.

Questo parametro è obbligatorio.
token

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

Questo parametro è obbligatorio.
Esempio:
Tentativo di rimuovere il collegamento dell'utente corrente per il provider associato con FooAuthenticationRequest.
api.php?action=unlinkaccount&request=FooAuthenticationRequest&token=123ABC [apri in una sandbox]

action=upload

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Upload a file, or get the status of pending uploads.

Several methods are available:

  • Upload file contents directly, using the file parameter.
  • Upload the file in pieces, using the filesize, chunk, and offset parameters.
  • Have the MediaWiki server fetch a file from a URL, using the url parameter.
  • Complete an earlier upload that failed due to warnings, using the filekey parameter.

Note that the HTTP POST must be done as a file upload (i.e. using multipart/form-data) when sending the file.

Parametri specifici:
Sono disponibili altri parametri generali.
filename

Target filename.

comment

Upload comment. Also used as the initial page text for new files if text is not specified.

Predefinito: (vuoto)
tags

Change tags to apply to the upload log entry and file page revision.

Valori (separati da | o alternativa):
text

Initial page text for new files.

watch
Deprecato.

Aggiungi agli osservati speciali.

Tipo: booleano (dettagli)
watchlist

Unconditionally add or remove the page from the current user's watchlist, use preferences (ignored for bot users) or do not change watch.

Uno dei seguenti valori: nochange, preferences, watch
Predefinito: preferences
ignorewarnings

Ignore any warnings.

Tipo: booleano (dettagli)
file

Contenuto del file.

Must be posted as a file upload using multipart/form-data.
url

URL to fetch the file from.

filekey

Key that identifies a previous upload that was stashed temporarily.

sessionkey
Deprecato.

Same as filekey, maintained for backward compatibility.

stash

If set, the server will stash the file temporarily instead of adding it to the repository.

Tipo: booleano (dettagli)
filesize

Filesize of entire upload.

Type: integer
The value must be between 0 and 134 217 728.
offset

Offset of chunk in bytes.

Type: integer
The value must be no less than 0.
chunk

Chunk contents.

Must be posted as a file upload using multipart/form-data.
async

Make potentially large file operations asynchronous when possible.

Tipo: booleano (dettagli)
checkstatus

Only fetch the upload status for the given file key.

Tipo: booleano (dettagli)
token

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

Questo parametro è obbligatorio.

action=uploadavatar

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: SocialProfile
  • Licenza: sconosciuta

Upload an avatar.

Parametri specifici:
Sono disponibili altri parametri generali.
file

New avatar image file contents.

Must be posted as a file upload using multipart/form-data.
url

URL to fetch the file from.

token

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

Questo parametro è obbligatorio.

action=userrights

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Change a user's group membership.

Parametri specifici:
Sono disponibili altri parametri generali.
user

Utente.

Tipo: utente, da uno qualsiasi nome utente e ID utente (ad esempio "#12345")
userid
Deprecato.

Specifica user=#ID invece.

Type: integer
add

Aggiungere l'utente a questi gruppi, o se sono già membri, aggiornare la scadenza della loro appartenenza a quel gruppo.

Valori (separati da | o alternativa): automoderated, autopatrolled, autoreview, blockedfromchat, bot, bureaucrat, chatmod, checkuser, checkuser-temporary-account-viewer, commentadmin, confirmed, copyviobot, editor, interface-admin, member, moderator, push-subscription-manager, reviewer, rollbacker, staff, steward, suppress, sysop, upwizcampeditors
expiry

Expiry timestamps. May be relative (e.g. 5 months or 2 weeks) or absolute (e.g. 2014-09-18T12:34:56Z). If only one timestamp is set, it will be used for all groups passed to the add parameter. Use infinite, indefinite, infinity, or never for a never-expiring user group.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Predefinito: infinite
remove

Rimuovi l'utente da questi gruppi.

Valori (separati da | o alternativa): automoderated, autopatrolled, autoreview, blockedfromchat, bot, bureaucrat, chatmod, checkuser, checkuser-temporary-account-viewer, commentadmin, confirmed, copyviobot, editor, interface-admin, member, moderator, push-subscription-manager, reviewer, rollbacker, staff, steward, suppress, sysop, upwizcampeditors
reason

Motivo per la modifica.

Predefinito: (vuoto)
token

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

For compatibility, the token used in the web UI is also accepted.

Questo parametro è obbligatorio.
tags

Change tags to apply to the entry in the user rights log.

Valori (separati da | o alternativa):
watchuser

Watch the user's user and talk pages.

Tipo: booleano (dettagli)
Esempi:
Add user FooBot to group bot, and remove from groups sysop and bureaucrat.
api.php?action=userrights&user=FooBot&add=bot&remove=sysop|bureaucrat&token=123ABC [apri in una sandbox]
Add the user with ID 123 to group bot, and remove from groups sysop and bureaucrat.
api.php?action=userrights&userid=123&add=bot&remove=sysop|bureaucrat&token=123ABC [apri in una sandbox]
Add user SometimeSysop to group sysop for 1 month.
api.php?action=userrights&user=SometimeSysop&add=sysop&expiry=1%20month&token=123ABC [apri in una sandbox]

action=validatepassword

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Convalida una password seguendo le politiche del wiki sulle password.

La validità è riportata come Good se la password è accettabile, Change se la password può essere utilizzata per l'accesso ma deve essere modificata, o Invalid se la password non è utilizzabile.

Parametri specifici:
Sono disponibili altri parametri generali.
password

Password da convalidare.

Questo parametro è obbligatorio.
user

Username, for use when testing account creation. The named user must not exist.

Tipo: utente, da uno qualsiasi nome utente e ID utente (ad esempio "#12345")
email

Email address, for use when testing account creation.

realname

Real name, for use when testing account creation.

Esempi:
Convalidare la password foobar per l'attuale utente.
api.php?action=validatepassword&password=foobar [apri in una sandbox]
Convalida la password qwerty per la creazione dell'utente Example.
api.php?action=validatepassword&password=querty&user=Example [apri in una sandbox]

action=viewdumps

  • Questo modulo richiede i diritti di lettura.
  • Fonte: DataDump
  • Licenza: GPL-3.0-or-later

Vedere dumps per tipo specificato, per nome del file o etichetta temporale.

Parametri specifici:
Sono disponibili altri parametri generali.
type

Trova dump con questo tipo specificato.

filename

Trova dump con questo nome file specificato.

timestamp

Trova dump con questa etichetta temporale specificata.

Type: integer
Esempi:
Questo è un esempio di come recuperare tutti i dump.
api.php?action=viewdumps [apri in una sandbox]
Questo è un esempio di come recuperare i dumps con il tipo di ‘xml’ specificato.
api.php?action=viewdumps&type=xml [apri in una sandbox]

action=visualeditor

  • Questo modulo è interno o instabile e non dovresti usarlo. Il suo funzionamento potrebbe variare senza preavviso.
  • Questo modulo richiede i diritti di lettura.
  • Fonte: VisualEditor
  • Licenza: MIT

Returns HTML5 for a page from the Parsoid service.

Parametri specifici:
Sono disponibili altri parametri generali.
page

La pagina su cui eseguire l'azione.

Questo parametro è obbligatorio.
badetag

If RESTBase query returned a seemingly invalid ETag, pass it here for logging purposes.

format

The format of the output.

Uno dei seguenti valori: json, jsonfm
Predefinito: jsonfm
paction

Azione da eseguire.

Questo parametro è obbligatorio.
Uno dei seguenti valori: metadata, parse, parsefragment, templatesused, wikitext
wikitext

Wikitesto da inviare al Parsoid per essere convertito in HTML (paction=parsefragment).

section

La sezione su cui agire.

stash

When saving, set this true if you want to use the stashing API.

Tipo: booleano (dettagli)
oldid

Il numero della versione da utilizzare (predefinita l'ultima versione).

Type: integer
editintro

Edit intro to add to notices.

pst

Salva il testo da trasformare in wikitesto prima di inviarlo al Parsoid (paction=parsefragment).

Tipo: booleano (dettagli)
preload

The page to use content from if the fetched page has no content yet.

preloadparams

Parameters to substitute into the preload page, if present.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).

action=visualeditoredit

  • Questo modulo è interno o instabile e non dovresti usarlo. Il suo funzionamento potrebbe variare senza preavviso.
  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: VisualEditor
  • Licenza: MIT

Save an HTML5 page to MediaWiki (converted to wikitext via the Parsoid service).

Parametri specifici:
Sono disponibili altri parametri generali.
paction

Azione da eseguire.

Questo parametro è obbligatorio.
Uno dei seguenti valori: diff, save, serialize, serializeforcache
page

La pagina su cui eseguire l'azione.

Questo parametro è obbligatorio.
token

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

Questo parametro è obbligatorio.
wikitext

The wikitext to act with.

section

La sezione su cui agire.

sectiontitle

Titolo per la nuova sezione.

basetimestamp

Quando salvi, imposta questo parametro al timestamp della revisione che è stata modificata. È utilizzato per rilevare i conflitti di edizione.

Tipo: timestamp (formati consentiti)
starttimestamp

Quando salvi, imposta questo parametro al timestamp di quando la pagina è stata caricata. È utilizzato per rilevare i conflitti di modifica.

Tipo: timestamp (formati consentiti)
oldid

Il numero di versione da utilizzare. Il valore di default corrisponde all'ultima versione.

Type: integer
minor

Identificazione come modifica minore.

watchlist

Unconditionally add or remove the page from the current user's watchlist, use preferences (ignored for bot users) or do not change watch.

html

HTML da inviare al Parsoid per essere convertito in wikitesto.

etag

ETag da inviare.

summary

Oggetto della modifica.

captchaid

Captcha ID (quando stai salvando con una risposta captcha).

captchaword

Rispondi al captcha (quando salvi con una risposta captcha).

cachekey

Utilizza il risultato di una richiesta serializeforcache precedente con questa chiave. Sovrascrive html.

nocontent

Omit the HTML content of the new revision in the response.

Tipo: booleano (dettagli)
returnto

Titolo della pagina. Quando si effettua una modifica con un account temporaneo, durante il salvataggio, l'API potrebbe rispondere con un URL che invita chi modifica a completare l'accesso. Se questo parametro viene fornito, l'URL reindirizzerà alla pagina specificata, invece che a quella modificata.

Tipo: titolo della pagina
Accetta pagine non esistenti.
returntoquery

URL query parameters (with leading ?). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given query parameters.

Predefinito: (vuoto)
returntoanchor

URL fragment (with leading #). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given fragment.

Predefinito: (vuoto)
useskin

Apply the selected skin to the parser output. May affect the following properties: text, langlinks, headitems, modules, jsconfigvars, indicators.

Uno dei seguenti valori: apioutput, authentication-popup, citizen, cologneblue, fallback, json, minerva, modern, monobook, timeless, vector, vector-2022
tags

Change tags to apply to the edit.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
plugins

Plugins associated with the API request.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
data-{plugin}

Arbitrary data sent by a plugin with the API request.

This is a templated parameter. When making the request, {plugin} in the parameter's name should be replaced with values of plugins.
mobileformat

Return parse output in a format suitable for mobile devices.

Tipo: booleano (dettagli)

action=watch

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Aggiunge o rimuove pagine dagli osservati speciali dell'utente attuale.

Parametri specifici:
Sono disponibili altri parametri generali.
title
Deprecato.

The page to (un)watch. Use titles instead.

unwatch

If set the page will be unwatched rather than watched.

Tipo: booleano (dettagli)
continue

Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.

titles

Un elenco di titoli su cui lavorare.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
pageids

Un elenco di ID pagina su cui lavorare.

Type: list of integers
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
revids

Un elenco di ID versioni su cui lavorare. Tieni presente che quasi tutti i moduli per le interrogazioni convertiranno gli ID versione nell'ID pagina corrispondente e lavoreranno quindi sull'ultima versione. Solo prop=revisions usa le versioni esatte per la sua risposta.

Type: list of integers
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
generator

Get the list of pages to work on by executing the specified query module.

Note: Generator parameter names must be prefixed with a "g", see examples.

allcategories
Enumera tutte le categorie.
alldeletedrevisions
Elenca tutte le versioni cancellate da un utente o in un namespace.
allfileusages
List all file usages, including non-existing.
allimages
Enumerate all images sequentially.
alllinks
Elenca tutti i collegamenti che puntano ad un namespace indicato.
allpages
Enumerate all pages sequentially in a given namespace.
allredirects
List all redirects to a namespace.
allrevisions
Elenco di tutte le versioni.
alltransclusions
Elenca tutte le inclusioni (pagine incorporate utilizzando {{x}}), comprese le non esistenti.
backlinks
Trova tutte le pagine che puntano a quella specificata.
categories
Elenca tutte le categorie a cui appartengono le pagine.
categorymembers
Elenca tutte le pagine in una categoria indicata.
deletedrevisions
Get deleted revision information.
duplicatefiles
List all files that are duplicates of the given files based on hash values.
embeddedin
Trova tutte le pagine che incorporano (transclusione) il titolo specificato.
exturlusage
Enumerate pages that contain a given URL.
fileusage
Trova tutte le pagine che utilizzano il file specificato.
geosearch
Returns pages having coordinates that are located in a certain area.
images
Returns all files contained on the given pages.
imageusage
Trova tutte le pagine che utilizzano il titolo dell'immagine specificato.
iwbacklinks
Find all pages that link to the given interwiki link.
langbacklinks
Find all pages that link to the given language link.
links
Returns all links from the given pages.
linkshere
Trova tutte le pagine che puntano a quelle specificate.
pageswithprop
List all pages using a given page property.
prefixsearch
Perform a prefix search for page titles.
protectedtitles
Elenca tutti i titoli protetti dalla creazione.
querypage
Get a list provided by a QueryPage-based special page.
random
Get a set of random pages.
recentchanges
Elenca le modifiche recenti.
redirects
Restituisce tutti i reindirizzamenti alla data indicata.
revisions
Get revision information.
search
Eseguire una ricerca di testo completa.
templates
Returns all pages transcluded on the given pages.
transcludedin
Trova tutte le pagine che incorporano quella specificata.
watchlist
Ottieni le ultime modifiche alle pagine tra gli osservati speciali dell'utente attuale.
watchlistraw
Get all pages on the current user's watchlist.
wblistentityusage
Restituisce tutte le pagine che utilizzano gli ID entità indicati.
wbsearch
Internal. Searches for entities using labels and aliases.
Uno dei seguenti valori: allcategories, alldeletedrevisions, allfileusages, allimages, alllinks, allpages, allredirects, allrevisions, alltransclusions, backlinks, categories, categorymembers, deletedrevisions, duplicatefiles, embeddedin, exturlusage, fileusage, geosearch, images, imageusage, iwbacklinks, langbacklinks, links, linkshere, pageswithprop, prefixsearch, protectedtitles, querypage, random, recentchanges, redirects, revisions, search, templates, transcludedin, watchlist, watchlistraw, wblistentityusage, wbsearch
redirects

Risolvi automaticamente redirect in titles, pageids, e revids, e nelle pagine restituite da generator.

Tipo: booleano (dettagli)
converttitles

Converte i titoli in altre varianti, se necessario. Funziona solo se la lingua del contenuto del wiki supporta la conversione in varianti. Le lingue che supportano la conversione in varianti includono ban, en, crh, gan, iu, ku, mni, sh, shi, sr, tg, tly, uz, wuu, zgh e zh

Tipo: booleano (dettagli)
token

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

Questo parametro è obbligatorio.

action=wbavailablebadges

  • Questo modulo richiede i diritti di lettura.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Interroga gli elementi distintivi disponibili.

Esempio:
Interroga tutti gli elementi distintivi disponibili
api.php?action=wbavailablebadges [apri in una sandbox]

action=wbcreateclaim

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Crea asserzioni Wikibase.

Parametri specifici:
Sono disponibili altri parametri generali.
entity

ID dell'entità a cui è stata aggiunta l'asserzione

Questo parametro è obbligatorio.
snaktype

Il tipo di snak

Questo parametro è obbligatorio.
Uno dei seguenti valori: novalue, somevalue, value
property

ID dello snak proprietà

Questo parametro è obbligatorio.
value

Valore dello snak durante la creazione di un'asserzione con uno snak che ha un valore

summary

Summary for the edit. Will be prepended by an automatically generated comment. The length limit of the autocomment together with the summary is 260 characters. Be aware that everything above that limit will be cut off.

tags

Change tags to apply to the revision.

Valori (separati da | o alternativa):
token

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

Questo parametro è obbligatorio.
baserevid

The numeric identifier for the revision to base the modification on. This is used for detecting conflicts during save.

Type: integer
bot

Mark this edit as bot. This URL flag will only be respected if the user belongs to the group "Bot".

Tipo: booleano (dettagli)
returnto

Titolo della pagina. Quando si effettua una modifica con un account temporaneo, durante il salvataggio, l'API potrebbe rispondere con un URL che invita chi modifica a completare l'accesso. Se questo parametro viene fornito, l'URL reindirizzerà alla pagina specificata, invece che a quella modificata.

Tipo: titolo della pagina
Accetta pagine non esistenti.
returntoquery

URL query parameters (with leading ?). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given query parameters.

Predefinito: (vuoto)
returntoanchor

URL fragment (with leading #). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given fragment.

Predefinito: (vuoto)
Esempi:
Crea un'asserzione per l'elemento Q999999998 di proprietà P9001 con uno snak "nessun valore".
api.php?action=wbcreateclaim&entity=Q999999998&property=P9001&snaktype=novalue [apri in una sandbox]
Crea un'asserzione per l'elemento Q999999998 di proprietà P9002 con un valore stringa "itsastring"
api.php?action=wbcreateclaim&entity=Q999999998&property=P9002&snaktype=value&value="itsastring" [apri in una sandbox]
Crea un'asserzione per l'elemento Q999999998 di proprietà P9003 con un valore elemento Q1
api.php?action=wbcreateclaim&entity=Q999999998&property=P9003&snaktype=value&value={"entity-type":"item","numeric-id":1} [apri in una sandbox]
Crea un'asserzione per l'elemento Q999999998 di proprietà P9004 con un valore coordinata
api.php?action=wbcreateclaim&entity=Q999999998&property=P9004&snaktype=value&value={"latitude":40.748433,"longitude":-73.985656,"globe":"http://www.wikidata.org/entity/Q2","precision":0.000001} [apri in una sandbox]

action=wbcreateredirect

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Crea reindirizzamenti entità.

Parametri specifici:
Sono disponibili altri parametri generali.
from

ID entità per fare un redirect

Questo parametro è obbligatorio.
to

ID entità a cui puntare il redirect

Questo parametro è obbligatorio.
token

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

Questo parametro è obbligatorio.
bot

Contrassegna questa modifica come bot. Questo flag di URL sarà rispettato solo se l'utente appartiene al gruppo "Bot".

Tipo: booleano (dettagli)
returnto

Titolo della pagina. Quando si effettua una modifica con un account temporaneo, durante il salvataggio, l'API potrebbe rispondere con un URL che invita chi modifica a completare l'accesso. Se questo parametro viene fornito, l'URL reindirizzerà alla pagina specificata, invece che a quella modificata.

Tipo: titolo della pagina
Accetta pagine non esistenti.
returntoquery

URL query parameters (with leading ?). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given query parameters.

Predefinito: (vuoto)
returntoanchor

URL fragment (with leading #). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given fragment.

Predefinito: (vuoto)
Esempio:
Trasforma Q999999998 in un redirect a Q999999999
api.php?action=wbcreateredirect&from=Q999999998&to=Q999999999 [apri in una sandbox]

action=wbeditentity

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Creates a single new Wikibase entity and modifies it with serialised information.

Parametri specifici:
Sono disponibili altri parametri generali.
id

L'identificatore dell'entità, incluso il prefisso. Utilizza id oppure site e title insieme.

new

Se impostato, verrà creata una nuova entità. Impostalo al tipo di entità da creare. Non è consentito impostarlo quando anche id è valorizzato.

Uno dei seguenti valori: item, property
site

Un identificatore per il sito in cui risiede la pagina. Utilizza insieme a title per creare un sitelink completo.

Uno dei seguenti valori:
title

Titolo della pagina da associare. Utilizza insieme a site per creare un sitelink completo.

baserevid

The numeric identifier for the revision to base the modification on. This is used for detecting conflicts during save.

Type: integer
summary

Summary for the edit. Will be prepended by an automatically generated comment. The length limit of the autocomment together with the summary is 260 characters. Be aware that everything above that limit will be cut off.

tags

Change tags to apply to the revision.

Valori (separati da | o alternativa):
token

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

Questo parametro è obbligatorio.
bot

Mark this edit as bot. This URL flag will only be respected if the user belongs to the group "Bot".

Tipo: booleano (dettagli)
returnto

Titolo della pagina. Quando si effettua una modifica con un account temporaneo, durante il salvataggio, l'API potrebbe rispondere con un URL che invita chi modifica a completare l'accesso. Se questo parametro viene fornito, l'URL reindirizzerà alla pagina specificata, invece che a quella modificata.

Tipo: titolo della pagina
Accetta pagine non esistenti.
returntoquery

URL query parameters (with leading ?). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given query parameters.

Predefinito: (vuoto)
returntoanchor

URL fragment (with leading #). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given fragment.

Predefinito: (vuoto)
data

The serialized object that is used as the data source. A newly created entity will be assigned an 'id'.

Questo parametro è obbligatorio.
clear

If set, the complete entity is emptied before proceeding. The entity will not be saved before it is filled with the "data", possibly with parts excluded.

Tipo: booleano (dettagli)
Esempi:
Create a new empty item, return full entity structure
api.php?action=wbeditentity&new=item&data={} [apri in una sandbox]
Create a new item and set labels for de and en
api.php?action=wbeditentity&new=item&data={"labels":{"de":{"language":"de","value":"de-value"},"en":{"language":"en","value":"en-value"}}} [apri in una sandbox]
Create a new property containing the json data, return full entity structure
api.php?action=wbeditentity&new=property&data={"labels":{"en-gb":{"language":"en-gb","value":"Propertylabel"}},"descriptions":{"en-gb":{"language":"en-gb","value":"Propertydescription"}},"datatype":"string"} [apri in una sandbox]
Clear all data from entity with ID Q999999998
api.php?action=wbeditentity&clear=true&id=Q999999998&data={} [apri in una sandbox]
Clear all data from entity with ID Q999999998 and set a label for en
api.php?action=wbeditentity&clear=true&id=Q999999998&data={"labels":{"en":{"language":"en","value":"en-value"}}} [apri in una sandbox]
Aggiunge un'etichetta senza sovrascrivere se già presente
api.php?action=wbeditentity&id=Q999999998&data={"labels":[{"language":"no","value":"Bar","add":""}]} [apri in una sandbox]
Rimuovi un'etichetta
api.php?action=wbeditentity&id=Q999999998&data={"labels":[{"language":"en","value":"Foo","remove":""}]} [apri in una sandbox]
Sets sitelink for nowiki, overwriting it if it already exists
api.php?action=wbeditentity&id=Q999999998&data={"sitelinks":{"nowiki":{"site":"nowiki","title":"København"}}} [apri in una sandbox]
Sets description for nb, overwriting it if it already exists
api.php?action=wbeditentity&id=Q999999998&data={"descriptions":{"nb":{"language":"nb","value":"nb-Description-Here"}}} [apri in una sandbox]
Creates a new claim on the item for the property P56 and a value of "ExampleString"
api.php?action=wbeditentity&id=Q999999998&data={"claims":[{"mainsnak":{"snaktype":"value","property":"P56","datavalue":{"value":"ExampleString","type":"string"}},"type":"statement","rank":"normal"}]} [apri in una sandbox]
Removes the claims from the item with the provided GUIDs
api.php?action=wbeditentity&id=Q999999998&data={"claims":[{"id":"Q999999998$D8404CDA-25E4-4334-AF13-A3290BCD9C0F","remove":""},{"id":"Q999999998$GH678DSA-01PQ-28XC-HJ90-DDFD9990126X","remove":""}]} [apri in una sandbox]
Sets the claim with the GUID to the value of the claim
api.php?action=wbeditentity&id=Q999999998&data={"claims":[{"id":"Q999999998$GH678DSA-01PQ-28XC-HJ90-DDFD9990126X","mainsnak":{"snaktype":"value","property":"P56","datavalue":{"value":"ChangedString","type":"string"}},"type":"statement","rank":"normal"}]} [apri in una sandbox]

action=wbformatentities

  • Questo modulo richiede i diritti di lettura.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Formats entity IDs to HTML.

La lingua può essere specificata con il parametro globale uselang.

Parametro specifico:
Sono disponibili altri parametri generali.
ids

The entity IDs to format.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).

action=wbformatvalue

  • Questo modulo richiede i diritti di lettura.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Formati DataValues.

Parametri specifici:
Sono disponibili altri parametri generali.
generate

The desired output format to generate.

Uno dei seguenti valori: text/html, text/html; disposition=verbose, text/html; disposition=verbose-preview, text/plain, text/x-wiki
Predefinito: text/x-wiki
datavalue

The data to format. This has to be the JSON serialization of a DataValue object.

Questo parametro è obbligatorio.
datatype

The value's data type. This is distinct from the value's type

Uno dei seguenti valori: commonsMedia, external-id, geo-shape, globe-coordinate, math, monolingualtext, quantity, string, tabular-data, time, url, wikibase-item, wikibase-property
property

ID proprietà a cui appartiene il valore dei dati, dovrebbe essere usato al posto del parametro datatype.

options

The options the formatter should use. Provided as a JSON object.

action=wbgetclaims

  • Questo modulo richiede i diritti di lettura.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Ottiene asserzioni Wikibase.

Parametri specifici:
Sono disponibili altri parametri generali.
entity

ID of the entity from which to obtain claims. Required unless claim GUID is provided.

property

Optional filter to only return claims with a main snak that has the specified property.

claim

A GUID identifying the claim. Required unless entity is provided. The GUID is the globally unique identifier for a claim, e.g. "q42$D8404CDA-25E4-4334-AF13-A3290BCD9C0F".

rank

Optional filter to return only the claims that have the specified rank

Uno dei seguenti valori: deprecated, normal, preferred
props

Some parts of the claim are returned optionally. This parameter controls which ones are returned.

Valori (separati da | o alternativa): references
Predefinito: references
Esempi:
Ottieni asserzioni per l'elemento con ID Q42
api.php?action=wbgetclaims&entity=Q42 [apri in una sandbox]
Ottieni asserzioni per l'elemento con ID Q42 e proprietà con ID P31
api.php?action=wbgetclaims&entity=Q42&property=P31 [apri in una sandbox]
Ottieni asserzioni per l'elemento con ID Q42 che sono classificate come normali
api.php?action=wbgetclaims&entity=Q42&rank=normal [apri in una sandbox]
Ottieni asserzione con GUID di Q42$D8404CDA-25E4-4334-AF13-A3290BCD9C0F
api.php?action=wbgetclaims&claim=Q42$D8404CDA-25E4-4334-AF13-A3290BCD9C0F [apri in una sandbox]

action=wbgetentities

  • Questo modulo richiede i diritti di lettura.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Ottiene i dati per più entità Wikibase.

Parametri specifici:
Sono disponibili altri parametri generali.
ids

Gli ID delle entità da cui ottenere i dati

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
sites

Identifier for the site on which the corresponding page resides. Use together with title, but only give one site for several titles or several sites for one title.

Valori (separati da | o alternativa):
Maximum number of values is 50 (500 for clients that are allowed higher limits).
titles

The title of the corresponding page. Use together with sites, but only give one site for several titles or several sites for one title.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
redirects

Whether redirects shall be resolved. If set to "no", redirects will be treated like deleted entities.

Uno dei seguenti valori: no, yes
Predefinito: yes
props

The names of the properties to get back from each entity. Will be further filtered by any languages given.

Valori (separati da | o alternativa): aliases, claims, datatype, descriptions, info, labels, sitelinks, sitelinks/urls
Predefinito: info|sitelinks|aliases|labels|descriptions|claims|datatype
languages

By default the internationalized values are returned in all available languages. This parameter allows filtering these down to one or more languages by providing one or more language codes.

Valori (separati da | o alternativa): aa, aae, ab, abs, ace, acf, acm, ady, ady-cyrl, aeb, aeb-arab, aeb-latn, af, agq, aln, als, alt, am, ami, an, ang, ann, anp, apc, ar, arc, arn, arq, ary, arz, as, ase, ast, atj, av, avk, awa, ay, az, azb, ba, bag, ban, ban-bali, bar, bas, bat-smg, bax, bbc, bbc-latn, bbj, bcc, bci, bcl, bdr, be, be-tarask, be-x-old, bew, bfd, bg, bgc, bgn, bh, bho, bi, bjn, bkc, bkh, bkm, blk, bm, bn, bo, bpy, bqi, bqz, br, brh, bs, btm, bto, bug, bxr, byv, ca, cak, cal, cbk-zam, ccp, cdo, ce, ceb, ch, chn, cho, chr, chy, ckb, cnh, co, cps, cpx, cpx-hans, cpx-hant, cpx-latn, cr, crh, crh-cyrl, crh-latn, crh-ro, cs, csb, cu, cv, cy, da, dag, de, de-at, de-ch, de-formal, dga, din, diq, dsb, dtp, dty, dua, dv, dz, ee, efi, egl, el, eml, en, en-ca, en-gb, en-us, eo, es, es-419, es-formal, et, eto, etu, eu, ewo, ext, fa, fat, ff, fi, fit, fiu-vro, fj, fkv, fmp, fo, fon, fr, frc, frp, frr, fur, fy, ga, gaa, gag, gan, gan-hans, gan-hant, gcf, gcr, gd, gl, gld, glk, gn, gom, gom-deva, gom-latn, gor, got, gpe, grc, gsw, gu, guc, gur, guw, gv, gya, ha, hak, hak-hans, hak-hant, hak-latn, haw, he, hi, hif, hif-latn, hil, hno, ho, hr, hrx, hsb, hsn, ht, hu, hu-formal, hy, hyw, hz, ia, iba, ibb, id, ie, ig, igl, ii, ik, ike-cans, ike-latn, ilo, inh, io, is, isu, isv-cyrl, isv-latn, it, iu, ja, jam, jbo, jut, jv, ka, kaa, kab, kai, kbd, kbd-cyrl, kbp, kcg, kea, ker, kg, kge, khw, ki, kiu, kj, kjh, kjp, kk, kk-arab, kk-cn, kk-cyrl, kk-kz, kk-latn, kk-tr, kl, km, kn, knc, ko, ko-kp, koi, kr, krc, kri, krj, krl, ks, ks-arab, ks-deva, ksf, ksh, ksw, ku, ku-arab, ku-latn, kum, kus, kv, kw, ky, la, lad, lb, lbe, lem, lez, lfn, lg, li, lij, liv, lki, lld, lmo, ln, lns, lo, loz, lrc, lt, ltg, lua, lus, luz, lv, lzh, lzz, mad, mag, mai, map-bms, mcn, mcp, mdf, mg, mh, mhr, mi, min, mk, ml, mn, mnc, mnc-latn, mnc-mong, mni, mnw, mo, mos, mr, mrh, mrj, ms, ms-arab, mt, mua, mui, mus, mwl, my, myv, mzn, na, nah, nan, nan-hani, nan-hant, nan-latn-pehoeji, nan-latn-tailo, nap, nb, nds, nds-nl, ne, new, ng, nge, nia, nit, niu, nl, nl-informal, nla, nmg, nmz, nn, nnh, nnz, no, nod, nog, nov, nqo, nr, nrm, nso, nup, nv, ny, nyn, nyo, nys, oc, ojb, olo, om, or, os, osa-latn, ota, pa, pag, pam, pap, pap-aw, pcd, pcm, pdc, pdt, pfl, pi, pih, pl, pms, pnb, pnt, prg, ps, pt, pt-br, pwn, qu, quc, qug, rgn, rif, rki, rm, rmc, rmf, rmy, rn, ro, roa-rup, roa-tara, rsk, ru, rue, rup, ruq, ruq-cyrl, ruq-latn, rut, rw, rwr, ryu, sa, sah, sat, sc, scn, sco, sd, sdc, sdh, se, se-fi, se-no, se-se, sei, ses, sg, sgs, sh, sh-cyrl, sh-latn, shi, shi-latn, shi-tfng, shn, shy, shy-latn, si, simple, sjd, sje, sju, sk, skr, skr-arab, sl, sli, sm, sma, smj, smn, sms, sn, so, sq, sr, sr-ec, sr-el, srn, sro, srq, ss, st, stq, sty, su, sv, sw, syl, szl, szy, ta, tay, tcy, tdd, te, tet, tg, tg-cyrl, tg-latn, th, ti, tig, tk, tl, tly, tly-cyrl, tn, to, tok, tpi, tpv, tr, tru, trv, ts, tt, tt-cyrl, tt-latn, ttj, tum, tvu, tw, ty, tyv, tzm, udm, ug, ug-arab, ug-latn, uk, ur, uz, uz-cyrl, uz-latn, ve, vec, vep, vi, vls, vmf, vmw, vo, vot, vro, vut, wa, wal, war, wes, wls, wo, wuu, wuu-hans, wuu-hant, wya, xal, xh, xmf, xsy, yas, yat, yav, ybb, yi, yo, yrl, yue, yue-hans, yue-hant, za, zea, zgh, zgh-latn, zh, zh-classical, zh-cn, zh-hans, zh-hant, zh-hk, zh-min-nan, zh-mo, zh-my, zh-sg, zh-tw, zh-yue, zu
Maximum number of values is 50 (500 for clients that are allowed higher limits).
languagefallback

Apply language fallback for languages defined in the languages parameter, with the current context of API call.

Tipo: booleano (dettagli)
normalize

Try to normalize the page title against the client site. This only works if exactly one site and one page have been given.

Tipo: booleano (dettagli)
sitefilter

Filter sitelinks in entities to those with these site IDs.

Valori (separati da | o alternativa):
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Esempi:
Ottieni entità con ID Q42 con tutti gli attributi disponibili in tutte le lingue disponibili
api.php?action=wbgetentities&ids=Q42 [apri in una sandbox]
Ottieni entità con ID P17 con tutti gli attributi disponibili in tutte le lingue disponibili
api.php?action=wbgetentities&ids=P17 [apri in una sandbox]
Ottieni entità con ID Q42 e P17 con tutti gli attributi disponibili in tutte le lingue disponibili
api.php?action=wbgetentities&ids=Q42|P17 [apri in una sandbox]
Ottieni entità con ID Q42 con tutti gli attributi disponibili in lingua inglese
api.php?action=wbgetentities&ids=Q42&languages=en [apri in una sandbox]
Ottieni entità con ID Q42 con tutti gli attributi disponibili in tutte le lingue di riserva disponibili per la lingua ii
api.php?action=wbgetentities&ids=Q42&languages=ii&languagefallback= [apri in una sandbox]
Ottieni entità con ID Q42 mostrando tutte le etichette in tutte le lingue disponibili
api.php?action=wbgetentities&ids=Q42&props=labels [apri in una sandbox]
Get entities with IDs P17 and P3 showing only datatypes
api.php?action=wbgetentities&ids=P17|P3&props=datatype [apri in una sandbox]
Get entities with ID Q42 showing all aliases in English language
api.php?action=wbgetentities&ids=Q42&props=aliases&languages=en [apri in una sandbox]
Get entities with IDs Q1 and Q42 showing descriptions in English, German and French languages
api.php?action=wbgetentities&ids=Q1|Q42&props=descriptions&languages=en|de|fr [apri in una sandbox]
Get the item for page "Berlin" on the site "enwiki", with language attributes in English language
api.php?action=wbgetentities&sites=enwiki&titles=Berlin&languages=en [apri in una sandbox]
Get the item for page "Berlin" on the site "enwiki" after normalizing the title from "berlin"
api.php?action=wbgetentities&sites=enwiki&titles=berlin&normalize= [apri in una sandbox]
Get the sitelinks for item Q42
api.php?action=wbgetentities&ids=Q42&props=sitelinks [apri in una sandbox]
Get entities with ID Q42 showing only sitelinks from "enwiki"
api.php?action=wbgetentities&ids=Q42&sitefilter=enwiki [apri in una sandbox]

action=wblinktitles

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Associa due pagine su due wiki diversi con un elemento Wikibase.

Parametri specifici:
Sono disponibili altri parametri generali.
returnto

Titolo della pagina. Quando si effettua una modifica con un account temporaneo, durante il salvataggio, l'API potrebbe rispondere con un URL che invita chi modifica a completare l'accesso. Se questo parametro viene fornito, l'URL reindirizzerà alla pagina specificata, invece che a quella modificata.

Tipo: titolo della pagina
Accetta pagine non esistenti.
returntoquery

URL query parameters (with leading ?). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given query parameters.

Predefinito: (vuoto)
returntoanchor

URL fragment (with leading #). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given fragment.

Predefinito: (vuoto)
tosite

Un identificatore per il sito in cui risiede la pagina. Utilizza insieme a totitle per creare un sitelink completo.

Questo parametro è obbligatorio.
Uno dei seguenti valori:
totitle

Titolo della pagina da associare. Utilizza insieme a tosite per creare un sitelink completo.

Questo parametro è obbligatorio.
fromsite

Un identificatore per il sito in cui risiede la pagina. Utilizza insieme a fromtitle per creare un sitelink completo.

Questo parametro è obbligatorio.
Uno dei seguenti valori:
fromtitle

Titolo della pagina da associare. Utilizza insieme a fromsite per creare un sitelink completo.

Questo parametro è obbligatorio.
token

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

Questo parametro è obbligatorio.
bot

Mark this edit as bot. This URL flag will only be respected if the user belongs to the group "bot".

Tipo: booleano (dettagli)
Esempio:
Add a link "Hydrogen" from the English page to "Wasserstoff" at the German page
api.php?action=wblinktitles&fromsite=enwiki&fromtitle=Hydrogen&tosite=dewiki&totitle=Wasserstoff [apri in una sandbox]

action=wbmergeitems

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Unisce più elementi.

Parametri specifici:
Sono disponibili altri parametri generali.
fromid

L'ID da cui unire

Questo parametro è obbligatorio.
toid

L'ID dove unire

Questo parametro è obbligatorio.
ignoreconflicts

Array of elements of the item to ignore conflicts for. Can only contain values of "description", "sitelink" and "statement"

Valori (separati da | o alternativa): description, sitelink, statement
summary

Summary for the edit. Will be prepended by an automatically generated comment. The length limit of the autocomment together with the summary is 260 characters. Be aware that everything above that limit will be cut off.

tags

Change tags to apply to the revisions.

Valori (separati da | o alternativa):
bot

Mark this edit as bot. This URL flag will only be respected if the user belongs to the group "bot".

Tipo: booleano (dettagli)
token

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

Questo parametro è obbligatorio.
returnto

Titolo della pagina. Quando si effettua una modifica con un account temporaneo, durante il salvataggio, l'API potrebbe rispondere con un URL che invita chi modifica a completare l'accesso. Se questo parametro viene fornito, l'URL reindirizzerà alla pagina specificata, invece che a quella modificata.

Tipo: titolo della pagina
Accetta pagine non esistenti.
returntoquery

URL query parameters (with leading ?). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given query parameters.

Predefinito: (vuoto)
returntoanchor

URL fragment (with leading #). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given fragment.

Predefinito: (vuoto)
Esempi:
Unisce dati da Q999999998 in Q999999999
api.php?action=wbmergeitems&fromid=Q999999998&toid=Q999999999 [apri in una sandbox]
Merges data from Q999999998 into Q999999999 ignoring any conflicting sitelinks
api.php?action=wbmergeitems&fromid=Q999999998&toid=Q999999999&ignoreconflicts=sitelink [apri in una sandbox]
Merges data from Q999999998 into Q999999999 ignoring any conflicting sitelinks and descriptions
api.php?action=wbmergeitems&fromid=Q999999998&toid=Q999999999&ignoreconflicts=sitelink|description [apri in una sandbox]

action=wbparsevalue

  • Questo modulo richiede i diritti di lettura.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Parses values using a ValueParser.

Parametri specifici:
Sono disponibili altri parametri generali.
datatype

Datatype of the value to parse. Determines the parser to use.

Uno dei seguenti valori: commonsMedia, external-id, geo-shape, globe-coordinate, math, monolingualtext, quantity, string, tabular-data, time, url, wikibase-item, wikibase-property
property

Property ID the value to parse belongs to. Determines the parser to use.

parser
Deprecato.

ID del ValueParser da utilizzare. Deprecato. Usa invece il parametro datatype.

Uno dei seguenti valori: commonsMedia, external-id, geo-shape, globe-coordinate, globecoordinate, math, monolingualtext, null, quantity, string, tabular-data, time, url, wikibase-entityid, wikibase-item, wikibase-property
values

I valori da analizzare

Questo parametro è obbligatorio.
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
options

The options the parser should use. Provided as a JSON object.

validate

Whether to additionally verify the data passed in.

Tipo: booleano (dettagli)
Esempi:
Parse a plain string into a StringValue object.
api.php?action=wbparsevalue&datatype=string&values=foo|bar [apri in una sandbox]
Parse 1994-02-08 to a TimeValue object with a precision of 9 (year).
api.php?action=wbparsevalue&datatype=time&values=1994-02-08&options={"precision":9} [apri in una sandbox]
Parse 1994-02-08 to a TimeValue object with a precision of 14 (second) with validation enabled, resulting in a validation failure.
api.php?action=wbparsevalue&datatype=time&validate&values=1994-02-08&options={"precision":14} [apri in una sandbox]
Parse foo into an object of whatever datatype P123 is, with validation enabled, potentially resulting in a validation failure depending on P123's datatype's expected input.
api.php?action=wbparsevalue&property=P123&validate&values=foo [apri in una sandbox]

action=wbremoveclaims

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Rimuove asserzioni Wikibase.

Parametri specifici:
Sono disponibili altri parametri generali.
claim

One GUID or several (pipe-separated) GUIDs identifying the claims to be removed. All claims must belong to the same entity.

Questo parametro è obbligatorio.
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
summary

Summary for the edit. Will be prepended by an automatically generated comment. The length limit of the autocomment together with the summary is 260 characters. Be aware that everything above that limit will be cut off.

tags

Change tags to apply to the revision.

Valori (separati da | o alternativa):
token

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

Questo parametro è obbligatorio.
baserevid

The numeric identifier for the revision to base the modification on. This is used for detecting conflicts during save.

Type: integer
bot

Mark this edit as bot. This URL flag will only be respected if the user belongs to the group "bot".

Tipo: booleano (dettagli)
returnto

Titolo della pagina. Quando si effettua una modifica con un account temporaneo, durante il salvataggio, l'API potrebbe rispondere con un URL che invita chi modifica a completare l'accesso. Se questo parametro viene fornito, l'URL reindirizzerà alla pagina specificata, invece che a quella modificata.

Tipo: titolo della pagina
Accetta pagine non esistenti.
returntoquery

URL query parameters (with leading ?). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given query parameters.

Predefinito: (vuoto)
returntoanchor

URL fragment (with leading #). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given fragment.

Predefinito: (vuoto)

action=wbremovequalifiers

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Rimuove un qualificatore da un'asserzione.

Parametri specifici:
Sono disponibili altri parametri generali.
claim

A GUID identifying the claim from which to remove qualifiers

Questo parametro è obbligatorio.
qualifiers

Snak hashes of the qualifiers to remove

Questo parametro è obbligatorio.
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
summary

Summary for the edit. Will be prepended by an automatically generated comment. The length limit of the autocomment together with the summary is 260 characters. Be aware that everything above that limit will be cut off.

tags

Change tags to apply to the revision.

Valori (separati da | o alternativa):
token

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

Questo parametro è obbligatorio.
baserevid

The numeric identifier for the revision to base the modification on. This is used for detecting conflicts during save.

Type: integer
bot

Mark this edit as bot. This URL flag will only be respected if the user belongs to the group "Bot".

Tipo: booleano (dettagli)
returnto

Titolo della pagina. Quando si effettua una modifica con un account temporaneo, durante il salvataggio, l'API potrebbe rispondere con un URL che invita chi modifica a completare l'accesso. Se questo parametro viene fornito, l'URL reindirizzerà alla pagina specificata, invece che a quella modificata.

Tipo: titolo della pagina
Accetta pagine non esistenti.
returntoquery

URL query parameters (with leading ?). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given query parameters.

Predefinito: (vuoto)
returntoanchor

URL fragment (with leading #). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given fragment.

Predefinito: (vuoto)
Esempio:
Remove qualifier with hash "1eb8793c002b1d9820c833d234a1b54c8e94187e" from claim with GUID of "Q999999998$D8404CDA-25E4-4334-AF13-A3290BCD9C0F"
api.php?action=wbremovequalifiers&claim=Q999999998$D8404CDA-25E4-4334-AF13-A3290BCD9C0F&qualifiers=1eb8793c002b1d9820c833d234a1b54c8e94187e&token=foobar&baserevid=7201010 [apri in una sandbox]

action=wbremovereferences

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Rimuove uno o più riferimenti della stessa dichiarazione.

Parametri specifici:
Sono disponibili altri parametri generali.
statement

Un GUID che identifica la dichiarazione per cui si sta impostando un riferimento

Questo parametro è obbligatorio.
references

The hashes of the references that should be removed

Questo parametro è obbligatorio.
Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
summary

Summary for the edit. Will be prepended by an automatically generated comment. The length limit of the autocomment together with the summary is 260 characters. Be aware that everything above that limit will be cut off.

tags

Change tags to apply to the revision.

Valori (separati da | o alternativa):
token

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

Questo parametro è obbligatorio.
baserevid

The numeric identifier for the revision to base the modification on. This is used for detecting conflicts during save.

Type: integer
bot

Mark this edit as bot. This URL flag will only be respected if the user belongs to the group "Bot".

Tipo: booleano (dettagli)
returnto

Titolo della pagina. Quando si effettua una modifica con un account temporaneo, durante il salvataggio, l'API potrebbe rispondere con un URL che invita chi modifica a completare l'accesso. Se questo parametro viene fornito, l'URL reindirizzerà alla pagina specificata, invece che a quella modificata.

Tipo: titolo della pagina
Accetta pagine non esistenti.
returntoquery

URL query parameters (with leading ?). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given query parameters.

Predefinito: (vuoto)
returntoanchor

URL fragment (with leading #). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given fragment.

Predefinito: (vuoto)
Esempio:
Remove reference with hash "455481eeac76e6a8af71a6b493c073d54788e7e9" from the statement with GUID of "Q999999998$D8404CDA-25E4-4334-AF13-A3290BCD9C0F"
api.php?action=wbremovereferences&statement=Q999999998$D8404CDA-25E4-4334-AF13-A3290BCD9C0F&references=455481eeac76e6a8af71a6b493c073d54788e7e9&token=foobar&baserevid=7201010 [apri in una sandbox]

action=wbsearchentities

  • Questo modulo richiede i diritti di lettura.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Searches for entities using labels and aliases.

Returns a label and description for the entity in the user language if possible. Returns details of the matched term. The matched term text is also present in the aliases key if different from the display label.

Parametri specifici:
Sono disponibili altri parametri generali.
search

Ricerca di questo testo.

Questo parametro è obbligatorio.
language

Ricerca in questa lingua. Questo influisce solo su come vengono selezionate le entità, non sulla lingua in cui vengono restituiti i risultati: questo è controllato dal parametro "uselang".

Questo parametro è obbligatorio.
Uno dei seguenti valori: aa, aae, ab, abs, ace, acf, acm, ady, ady-cyrl, aeb, aeb-arab, aeb-latn, af, agq, aln, als, alt, am, ami, an, ang, ann, anp, apc, ar, arc, arn, arq, ary, arz, as, ase, ast, atj, av, avk, awa, ay, az, azb, ba, bag, ban, ban-bali, bar, bas, bat-smg, bax, bbc, bbc-latn, bbj, bcc, bci, bcl, bdr, be, be-tarask, be-x-old, bew, bfd, bg, bgc, bgn, bh, bho, bi, bjn, bkc, bkh, bkm, blk, bm, bn, bo, bpy, bqi, bqz, br, brh, bs, btm, bto, bug, bxr, byv, ca, cak, cal, cbk-zam, ccp, cdo, ce, ceb, ch, chn, cho, chr, chy, ckb, cnh, co, cps, cpx, cpx-hans, cpx-hant, cpx-latn, cr, crh, crh-cyrl, crh-latn, crh-ro, cs, csb, cu, cv, cy, da, dag, de, de-at, de-ch, de-formal, dga, din, diq, dsb, dtp, dty, dua, dv, dz, ee, efi, egl, el, eml, en, en-ca, en-gb, en-us, eo, es, es-419, es-formal, et, eto, etu, eu, ewo, ext, fa, fat, ff, fi, fit, fiu-vro, fj, fkv, fmp, fo, fon, fr, frc, frp, frr, fur, fy, ga, gaa, gag, gan, gan-hans, gan-hant, gcf, gcr, gd, gl, gld, glk, gn, gom, gom-deva, gom-latn, gor, got, gpe, grc, gsw, gu, guc, gur, guw, gv, gya, ha, hak, hak-hans, hak-hant, hak-latn, haw, he, hi, hif, hif-latn, hil, hno, ho, hr, hrx, hsb, hsn, ht, hu, hu-formal, hy, hyw, hz, ia, iba, ibb, id, ie, ig, igl, ii, ik, ike-cans, ike-latn, ilo, inh, io, is, isu, isv-cyrl, isv-latn, it, iu, ja, jam, jbo, jut, jv, ka, kaa, kab, kai, kbd, kbd-cyrl, kbp, kcg, kea, ker, kg, kge, khw, ki, kiu, kj, kjh, kjp, kk, kk-arab, kk-cn, kk-cyrl, kk-kz, kk-latn, kk-tr, kl, km, kn, knc, ko, ko-kp, koi, kr, krc, kri, krj, krl, ks, ks-arab, ks-deva, ksf, ksh, ksw, ku, ku-arab, ku-latn, kum, kus, kv, kw, ky, la, lad, lb, lbe, lem, lez, lfn, lg, li, lij, liv, lki, lld, lmo, ln, lns, lo, loz, lrc, lt, ltg, lua, lus, luz, lv, lzh, lzz, mad, mag, mai, map-bms, mcn, mcp, mdf, mg, mh, mhr, mi, min, mk, ml, mn, mnc, mnc-latn, mnc-mong, mni, mnw, mo, mos, mr, mrh, mrj, ms, ms-arab, mt, mua, mui, mus, mwl, my, myv, mzn, na, nah, nan, nan-hani, nan-hant, nan-latn-pehoeji, nan-latn-tailo, nap, nb, nds, nds-nl, ne, new, ng, nge, nia, nit, niu, nl, nl-informal, nla, nmg, nmz, nn, nnh, nnz, no, nod, nog, nov, nqo, nr, nrm, nso, nup, nv, ny, nyn, nyo, nys, oc, ojb, olo, om, or, os, osa-latn, ota, pa, pag, pam, pap, pap-aw, pcd, pcm, pdc, pdt, pfl, pi, pih, pl, pms, pnb, pnt, prg, ps, pt, pt-br, pwn, qu, quc, qug, rgn, rif, rki, rm, rmc, rmf, rmy, rn, ro, roa-rup, roa-tara, rsk, ru, rue, rup, ruq, ruq-cyrl, ruq-latn, rut, rw, rwr, ryu, sa, sah, sat, sc, scn, sco, sd, sdc, sdh, se, se-fi, se-no, se-se, sei, ses, sg, sgs, sh, sh-cyrl, sh-latn, shi, shi-latn, shi-tfng, shn, shy, shy-latn, si, simple, sjd, sje, sju, sk, skr, skr-arab, sl, sli, sm, sma, smj, smn, sms, sn, so, sq, sr, sr-ec, sr-el, srn, sro, srq, ss, st, stq, sty, su, sv, sw, syl, szl, szy, ta, tay, tcy, tdd, te, tet, tg, tg-cyrl, tg-latn, th, ti, tig, tk, tl, tly, tly-cyrl, tn, to, tok, tpi, tpv, tr, tru, trv, ts, tt, tt-cyrl, tt-latn, ttj, tum, tvu, tw, ty, tyv, tzm, udm, ug, ug-arab, ug-latn, uk, ur, uz, uz-cyrl, uz-latn, ve, vec, vep, vi, vls, vmf, vmw, vo, vot, vro, vut, wa, wal, war, wes, wls, wo, wuu, wuu-hans, wuu-hant, wya, xal, xh, xmf, xsy, yas, yat, yav, ybb, yi, yo, yrl, yue, yue-hans, yue-hant, za, zea, zgh, zgh-latn, zh, zh-classical, zh-cn, zh-hans, zh-hant, zh-hk, zh-min-nan, zh-mo, zh-my, zh-sg, zh-tw, zh-yue, zu
strictlanguage

Se disabilitare la lingua di riserva

Tipo: booleano (dettagli)
type

Cerca per questo tipo di entità.

Uno dei seguenti valori: item, property
Predefinito: item
limit

Numero massimo di risultati

Tipo: intero o max
The value must be between 0 and 50.
Predefinito: 7
continue

Offset where to continue a search

Type: integer
The value must be between 0 and 10 000.
Predefinito: 0
props

Return these properties for each entity.

Valori (separati da | o alternativa): url
Predefinito: url
profile

The search profile to use.

default
The default profile, suitable for most purposes.
Uno dei seguenti valori: default
Predefinito: default
Esempi:
Search for "abc" in English language, with defaults for type and limit
api.php?action=wbsearchentities&search=abc&language=en [apri in una sandbox]
Search for "abc" in English language with a limit of 50
api.php?action=wbsearchentities&search=abc&language=en&limit=50 [apri in una sandbox]
Search for "abc" in English language with a limit of 2 and an offset of 2
api.php?action=wbsearchentities&search=abc&language=en&limit=2&continue=2 [apri in una sandbox]
Search only properties for "alphabet" in English language
api.php?action=wbsearchentities&search=alphabet&language=en&type=property [apri in una sandbox]
Search for "alphabet" in English language omitting url parameter
api.php?action=wbsearchentities&search=alphabet&language=en&props= [apri in una sandbox]
Cerca"Q1234" in lingua inglese, per corrispondere all'ID entità.
api.php?action=wbsearchentities&search=Q1234&language=en [apri in una sandbox]

action=wbsetaliases

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Imposta gli alias per un'entità Wikibase.

Parametri specifici:
Sono disponibili altri parametri generali.
id

L'identificatore dell'entità, incluso il prefisso. Utilizza id oppure site e title insieme.

new

Se impostato, verrà creata una nuova entità. Impostalo al tipo di entità che vuoi creare.

Uno dei seguenti valori: item, property
site

Un identificatore per il sito in cui risiede la pagina. Utilizza insieme a title per creare un sitelink completo.

Uno dei seguenti valori:
title

Titolo della pagina da associare. Utilizza insieme a site per creare un sitelink completo.

baserevid

The numeric identifier for the revision to base the modification on. This is used for detecting conflicts during save.

Type: integer
summary

Summary for the edit. Will be prepended by an automatically generated comment. The length limit of the autocomment together with the summary is 260 characters. Be aware that everything above that limit will be cut off.

tags

Change tags to apply to the revision.

Valori (separati da | o alternativa):
token

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

Questo parametro è obbligatorio.
bot

Contrassegna questa modifica come bot. Questo flag di URL sarà rispettato solo se l'utente appartiene al gruppo "Bot".

Tipo: booleano (dettagli)
returnto

Titolo della pagina. Quando si effettua una modifica con un account temporaneo, durante il salvataggio, l'API potrebbe rispondere con un URL che invita chi modifica a completare l'accesso. Se questo parametro viene fornito, l'URL reindirizzerà alla pagina specificata, invece che a quella modificata.

Tipo: titolo della pagina
Accetta pagine non esistenti.
returntoquery

URL query parameters (with leading ?). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given query parameters.

Predefinito: (vuoto)
returntoanchor

URL fragment (with leading #). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given fragment.

Predefinito: (vuoto)
add

Elenco degli alias da aggiungere (può essere combinato con remove)

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
remove

Elenco degli alias da rimuovere (può essere combinato con add)

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
set

Un elenco di alias che sostituirà l'elenco attuale (non può essere combinato né con add né con remove)

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
language

La lingua per la quale impostare gli alias

Questo parametro è obbligatorio.
Uno dei seguenti valori: aa, aae, ab, abs, ace, acf, acm, ady, ady-cyrl, aeb, aeb-arab, aeb-latn, af, agq, aln, als, alt, am, ami, an, ang, ann, anp, apc, ar, arc, arn, arq, ary, arz, as, ase, ast, atj, av, avk, awa, ay, az, azb, ba, bag, ban, ban-bali, bar, bas, bat-smg, bax, bbc, bbc-latn, bbj, bcc, bci, bcl, bdr, be, be-tarask, be-x-old, bew, bfd, bg, bgc, bgn, bh, bho, bi, bjn, bkc, bkh, bkm, blk, bm, bn, bo, bpy, bqi, bqz, br, brh, bs, btm, bto, bug, bxr, byv, ca, cak, cal, cbk-zam, ccp, cdo, ce, ceb, ch, chn, cho, chr, chy, ckb, cnh, co, cps, cpx, cpx-hans, cpx-hant, cpx-latn, cr, crh, crh-cyrl, crh-latn, crh-ro, cs, csb, cu, cv, cy, da, dag, de, de-at, de-ch, de-formal, dga, din, diq, dsb, dtp, dty, dua, dv, dz, ee, efi, egl, el, eml, en, en-ca, en-gb, en-us, eo, es, es-419, es-formal, et, eto, etu, eu, ewo, ext, fa, fat, ff, fi, fit, fiu-vro, fj, fkv, fmp, fo, fon, fr, frc, frp, frr, fur, fy, ga, gaa, gag, gan, gan-hans, gan-hant, gcf, gcr, gd, gl, gld, glk, gn, gom, gom-deva, gom-latn, gor, got, gpe, grc, gsw, gu, guc, gur, guw, gv, gya, ha, hak, hak-hans, hak-hant, hak-latn, haw, he, hi, hif, hif-latn, hil, hno, ho, hr, hrx, hsb, hsn, ht, hu, hu-formal, hy, hyw, hz, ia, iba, ibb, id, ie, ig, igl, ii, ik, ike-cans, ike-latn, ilo, inh, io, is, isu, isv-cyrl, isv-latn, it, iu, ja, jam, jbo, jut, jv, ka, kaa, kab, kai, kbd, kbd-cyrl, kbp, kcg, kea, ker, kg, kge, khw, ki, kiu, kj, kjh, kjp, kk, kk-arab, kk-cn, kk-cyrl, kk-kz, kk-latn, kk-tr, kl, km, kn, knc, ko, ko-kp, koi, kr, krc, kri, krj, krl, ks, ks-arab, ks-deva, ksf, ksh, ksw, ku, ku-arab, ku-latn, kum, kus, kv, kw, ky, la, lad, lb, lbe, lem, lez, lfn, lg, li, lij, liv, lki, lld, lmo, ln, lns, lo, loz, lrc, lt, ltg, lua, lus, luz, lv, lzh, lzz, mad, mag, mai, map-bms, mcn, mcp, mdf, mg, mh, mhr, mi, min, mk, ml, mn, mnc, mnc-latn, mnc-mong, mni, mnw, mo, mos, mr, mrh, mrj, ms, ms-arab, mt, mua, mui, mus, mwl, my, myv, mzn, na, nah, nan, nan-hani, nan-hant, nan-latn-pehoeji, nan-latn-tailo, nap, nb, nds, nds-nl, ne, new, ng, nge, nia, nit, niu, nl, nl-informal, nla, nmg, nmz, nn, nnh, nnz, no, nod, nog, nov, nqo, nr, nrm, nso, nup, nv, ny, nyn, nyo, nys, oc, ojb, olo, om, or, os, osa-latn, ota, pa, pag, pam, pap, pap-aw, pcd, pcm, pdc, pdt, pfl, pi, pih, pl, pms, pnb, pnt, prg, ps, pt, pt-br, pwn, qu, quc, qug, rgn, rif, rki, rm, rmc, rmf, rmy, rn, ro, roa-rup, roa-tara, rsk, ru, rue, rup, ruq, ruq-cyrl, ruq-latn, rut, rw, rwr, ryu, sa, sah, sat, sc, scn, sco, sd, sdc, sdh, se, se-fi, se-no, se-se, sei, ses, sg, sgs, sh, sh-cyrl, sh-latn, shi, shi-latn, shi-tfng, shn, shy, shy-latn, si, simple, sjd, sje, sju, sk, skr, skr-arab, sl, sli, sm, sma, smj, smn, sms, sn, so, sq, sr, sr-ec, sr-el, srn, sro, srq, ss, st, stq, sty, su, sv, sw, syl, szl, szy, ta, tay, tcy, tdd, te, tet, tg, tg-cyrl, tg-latn, th, ti, tig, tk, tl, tly, tly-cyrl, tn, to, tok, tpi, tpv, tr, tru, trv, ts, tt, tt-cyrl, tt-latn, ttj, tum, tvu, tw, ty, tyv, tzm, udm, ug, ug-arab, ug-latn, uk, ur, uz, uz-cyrl, uz-latn, ve, vec, vep, vi, vls, vmf, vmw, vo, vot, vro, vut, wa, wal, war, wes, wls, wo, wuu, wuu-hans, wuu-hant, wya, xal, xh, xmf, xsy, yas, yat, yav, ybb, yi, yo, yrl, yue, yue-hans, yue-hant, za, zea, zgh, zgh-latn, zh, zh-classical, zh-cn, zh-hans, zh-hant, zh-hk, zh-min-nan, zh-mo, zh-my, zh-sg, zh-tw, zh-yue, zu
Esempi:
Set the English aliases for the entity with ID Q999999998 to Foo and Bar
api.php?action=wbsetaliases&language=en&id=Q999999998&set=Foo|Bar [apri in una sandbox]
Add Foo and Bar to the list of English aliases for the entity with ID Q999999998
api.php?action=wbsetaliases&language=en&id=Q999999998&add=Foo|Bar [apri in una sandbox]
Remove Foo and Bar from the list of English aliases for the entity with ID Q999999998
api.php?action=wbsetaliases&language=en&id=Q999999998&remove=Foo|Bar [apri in una sandbox]
Remove Foo from the list of English aliases for the entity with ID Q999999998 while adding Bar to it
api.php?action=wbsetaliases&language=en&id=Q999999998&remove=Foo&add=Bar [apri in una sandbox]

action=wbsetclaim

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Creates or updates an entire Statement or Claim.

Parametri specifici:
Sono disponibili altri parametri generali.
claim

Serializzazione di dichiarazione o asserzione

Questo parametro è obbligatorio.
index

The index within the entity's list of statements to move the statement to. Optional. Be aware that when setting an index that specifies a position not next to a statement whose main snak does not feature the same property, the whole group of statements whose main snaks feature the same property is moved. When not provided, an existing statement will stay in place while a new statement will be appended to the last one whose main snak features the same property.

Type: integer
summary

Summary for the edit. Will be prepended by an automatically generated comment. The length limit of the autocomment together with the summary is 260 characters. Be aware that everything above that limit will be cut off.

tags

Change tags to apply to the revision.

Valori (separati da | o alternativa):
token

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

Questo parametro è obbligatorio.
baserevid

The numeric identifier for the revision to base the modification on. This is used for detecting conflicts during save.

Type: integer
bot

Mark this edit as bot. This URL flag will only be respected if the user belongs to the group "Bot".

Tipo: booleano (dettagli)
ignoreduplicatemainsnak

If this is true, and the entity already has a claim with the same main snak as the claim being sent in the request, then the request is ignored

Tipo: booleano (dettagli)
returnto

Titolo della pagina. Quando si effettua una modifica con un account temporaneo, durante il salvataggio, l'API potrebbe rispondere con un URL che invita chi modifica a completare l'accesso. Se questo parametro viene fornito, l'URL reindirizzerà alla pagina specificata, invece che a quella modificata.

Tipo: titolo della pagina
Accetta pagine non esistenti.
returntoquery

URL query parameters (with leading ?). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given query parameters.

Predefinito: (vuoto)
returntoanchor

URL fragment (with leading #). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given fragment.

Predefinito: (vuoto)
Esempi:
Set the claim with the given ID to property P1 with a string value of "City"
api.php?action=wbsetclaim&claim={"id":"Q999999998$5627445f-43cb-ed6d-3adb-760e85bd17ee","type":"claim","mainsnak":{"snaktype":"value","property":"P1","datavalue":{"value":"City","type":"string"}}} [apri in una sandbox]
Set the claim with the given ID to property P1 with a string value of "City" and move the claim to the topmost position within the entity's subgroup of claims that feature the main snak property P1. In addition, move the whole subgroup to the top of all subgroups aggregated by property.
api.php?action=wbsetclaim&claim={"id":"Q999999998$5627445f-43cb-ed6d-3adb-760e85bd17ee","type":"claim","mainsnak":{"snaktype":"value","property":"P1","datavalue":{"value":"City","type":"string"}}}&index=0 [apri in una sandbox]
Set the Statement with the given ID to Property P1 with a string value of "City" and set the Statement's References to a single Reference featuring the string value "The Economy of Cities" assigned to the Property P2.
api.php?action=wbsetclaim&claim={"id":"Q999999998$5627445f-43cb-ed6d-3adb-760e85bd17ee","type":"statement","mainsnak":{"snaktype":"value","property":"P1","datavalue":{"value":"City","type":"string"}},"references":[{"snaks":{"P2":[{"snaktype":"value","property":"P2","datavalue":{"value":"The Economy of Cities","type":"string"}}]},"snaks-order":["P2"]}],"rank":"normal"} [apri in una sandbox]

action=wbsetclaimvalue

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Imposta il valore di un'asserzione Wikibase.

Parametri specifici:
Sono disponibili altri parametri generali.
claim

Un GUID che identifica l'asserzione

Questo parametro è obbligatorio.
value

The value to set the DataValue of the main snak of the claim to

snaktype

Il tipo di snak

Questo parametro è obbligatorio.
Uno dei seguenti valori: novalue, somevalue, value
summary

Summary for the edit. Will be prepended by an automatically generated comment. The length limit of the autocomment together with the summary is 260 characters. Be aware that everything above that limit will be cut off.

tags

Change tags to apply to the revision.

Valori (separati da | o alternativa):
token

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

Questo parametro è obbligatorio.
baserevid

The numeric identifier for the revision to base the modification on. This is used for detecting conflicts during save.

Type: integer
bot

Mark this edit as bot. This URL flag will only be respected if the user belongs to the group "Bot".

Tipo: booleano (dettagli)
returnto

Titolo della pagina. Quando si effettua una modifica con un account temporaneo, durante il salvataggio, l'API potrebbe rispondere con un URL che invita chi modifica a completare l'accesso. Se questo parametro viene fornito, l'URL reindirizzerà alla pagina specificata, invece che a quella modificata.

Tipo: titolo della pagina
Accetta pagine non esistenti.
returntoquery

URL query parameters (with leading ?). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given query parameters.

Predefinito: (vuoto)
returntoanchor

URL fragment (with leading #). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given fragment.

Predefinito: (vuoto)

action=wbsetdescription

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Sets a description for a single Wikibase entity.

Parametri specifici:
Sono disponibili altri parametri generali.
id

L'identificatore dell'entità, incluso il prefisso. Utilizza id oppure site e title insieme.

new

Se impostato, verrà creata una nuova entità. Impostalo al tipo di entità che vuoi creare.

Uno dei seguenti valori: item, property
site

Un identificatore per il sito in cui risiede la pagina. Utilizza insieme a title per creare un sitelink completo.

Uno dei seguenti valori:
title

Titolo della pagina da associare. Utilizza insieme a site per creare un sitelink completo.

baserevid

The numeric identifier for the revision to base the modification on. This is used for detecting conflicts during save.

Type: integer
summary

Summary for the edit. Will be prepended by an automatically generated comment. The length limit of the autocomment together with the summary is 260 characters. Be aware that everything above that limit will be cut off.

tags

Change tags to apply to the revision.

Valori (separati da | o alternativa):
token

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

Questo parametro è obbligatorio.
bot

Mark this edit as bot. This URL flag will only be respected if the user belongs to the group "Bot".

Tipo: booleano (dettagli)
returnto

Titolo della pagina. Quando si effettua una modifica con un account temporaneo, durante il salvataggio, l'API potrebbe rispondere con un URL che invita chi modifica a completare l'accesso. Se questo parametro viene fornito, l'URL reindirizzerà alla pagina specificata, invece che a quella modificata.

Tipo: titolo della pagina
Accetta pagine non esistenti.
returntoquery

URL query parameters (with leading ?). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given query parameters.

Predefinito: (vuoto)
returntoanchor

URL fragment (with leading #). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given fragment.

Predefinito: (vuoto)
language

Lingua della descrizione

Questo parametro è obbligatorio.
Uno dei seguenti valori: aa, aae, ab, abs, ace, acf, acm, ady, ady-cyrl, aeb, aeb-arab, aeb-latn, af, agq, aln, als, alt, am, ami, an, ang, ann, anp, apc, ar, arc, arn, arq, ary, arz, as, ase, ast, atj, av, avk, awa, ay, az, azb, ba, bag, ban, ban-bali, bar, bas, bat-smg, bax, bbc, bbc-latn, bbj, bcc, bci, bcl, bdr, be, be-tarask, be-x-old, bew, bfd, bg, bgc, bgn, bh, bho, bi, bjn, bkc, bkh, bkm, blk, bm, bn, bo, bpy, bqi, bqz, br, brh, bs, btm, bto, bug, bxr, byv, ca, cak, cal, cbk-zam, ccp, cdo, ce, ceb, ch, chn, cho, chr, chy, ckb, cnh, co, cps, cpx, cpx-hans, cpx-hant, cpx-latn, cr, crh, crh-cyrl, crh-latn, crh-ro, cs, csb, cu, cv, cy, da, dag, de, de-at, de-ch, de-formal, dga, din, diq, dsb, dtp, dty, dua, dv, dz, ee, efi, egl, el, eml, en, en-ca, en-gb, en-us, eo, es, es-419, es-formal, et, eto, etu, eu, ewo, ext, fa, fat, ff, fi, fit, fiu-vro, fj, fkv, fmp, fo, fon, fr, frc, frp, frr, fur, fy, ga, gaa, gag, gan, gan-hans, gan-hant, gcf, gcr, gd, gl, gld, glk, gn, gom, gom-deva, gom-latn, gor, got, gpe, grc, gsw, gu, guc, gur, guw, gv, gya, ha, hak, hak-hans, hak-hant, hak-latn, haw, he, hi, hif, hif-latn, hil, hno, ho, hr, hrx, hsb, hsn, ht, hu, hu-formal, hy, hyw, hz, ia, iba, ibb, id, ie, ig, igl, ii, ik, ike-cans, ike-latn, ilo, inh, io, is, isu, isv-cyrl, isv-latn, it, iu, ja, jam, jbo, jut, jv, ka, kaa, kab, kai, kbd, kbd-cyrl, kbp, kcg, kea, ker, kg, kge, khw, ki, kiu, kj, kjh, kjp, kk, kk-arab, kk-cn, kk-cyrl, kk-kz, kk-latn, kk-tr, kl, km, kn, knc, ko, ko-kp, koi, kr, krc, kri, krj, krl, ks, ks-arab, ks-deva, ksf, ksh, ksw, ku, ku-arab, ku-latn, kum, kus, kv, kw, ky, la, lad, lb, lbe, lem, lez, lfn, lg, li, lij, liv, lki, lld, lmo, ln, lns, lo, loz, lrc, lt, ltg, lua, lus, luz, lv, lzh, lzz, mad, mag, mai, map-bms, mcn, mcp, mdf, mg, mh, mhr, mi, min, mk, ml, mn, mnc, mnc-latn, mnc-mong, mni, mnw, mo, mos, mr, mrh, mrj, ms, ms-arab, mt, mua, mui, mus, mwl, my, myv, mzn, na, nah, nan, nan-hani, nan-hant, nan-latn-pehoeji, nan-latn-tailo, nap, nb, nds, nds-nl, ne, new, ng, nge, nia, nit, niu, nl, nl-informal, nla, nmg, nmz, nn, nnh, nnz, no, nod, nog, nov, nqo, nr, nrm, nso, nup, nv, ny, nyn, nyo, nys, oc, ojb, olo, om, or, os, osa-latn, ota, pa, pag, pam, pap, pap-aw, pcd, pcm, pdc, pdt, pfl, pi, pih, pl, pms, pnb, pnt, prg, ps, pt, pt-br, pwn, qu, quc, qug, rgn, rif, rki, rm, rmc, rmf, rmy, rn, ro, roa-rup, roa-tara, rsk, ru, rue, rup, ruq, ruq-cyrl, ruq-latn, rut, rw, rwr, ryu, sa, sah, sat, sc, scn, sco, sd, sdc, sdh, se, se-fi, se-no, se-se, sei, ses, sg, sgs, sh, sh-cyrl, sh-latn, shi, shi-latn, shi-tfng, shn, shy, shy-latn, si, simple, sjd, sje, sju, sk, skr, skr-arab, sl, sli, sm, sma, smj, smn, sms, sn, so, sq, sr, sr-ec, sr-el, srn, sro, srq, ss, st, stq, sty, su, sv, sw, syl, szl, szy, ta, tay, tcy, tdd, te, tet, tg, tg-cyrl, tg-latn, th, ti, tig, tk, tl, tly, tly-cyrl, tn, to, tok, tpi, tpv, tr, tru, trv, ts, tt, tt-cyrl, tt-latn, ttj, tum, tvu, tw, ty, tyv, tzm, udm, ug, ug-arab, ug-latn, uk, ur, uz, uz-cyrl, uz-latn, ve, vec, vep, vi, vls, vmf, vmw, vo, vot, vro, vut, wa, wal, war, wes, wls, wo, wuu, wuu-hans, wuu-hant, wya, xal, xh, xmf, xsy, yas, yat, yav, ybb, yi, yo, yrl, yue, yue-hans, yue-hant, za, zea, zgh, zgh-latn, zh, zh-classical, zh-cn, zh-hans, zh-hant, zh-hk, zh-min-nan, zh-mo, zh-my, zh-sg, zh-tw, zh-yue, zu
value

Il valore da impostare per la descrizione

Esempi:
Set the string "An encyclopedia that everyone can edit" for page with ID "Q999999998" as a description in English language
api.php?action=wbsetdescription&id=Q999999998&language=en&value=An%20encyclopedia%20that%20everyone%20can%20edit [apri in una sandbox]
Set the string "An encyclopedia that everyone can edit" as a description in English language for page with a sitelink to enwiki:Wikipedia
api.php?action=wbsetdescription&site=enwiki&title=Wikipedia&language=en&value=An%20encyclopedia%20that%20everyone%20can%20edit [apri in una sandbox]

action=wbsetlabel

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Imposta un'etichetta per una singola entità Wikibase.

Parametri specifici:
Sono disponibili altri parametri generali.
id

L'identificatore dell'entità, incluso il prefisso. Utilizza id oppure site e title insieme.

new

Se impostato, verrà creata una nuova entità. Impostalo al tipo di entità che vuoi creare.

Uno dei seguenti valori: item, property
site

Un identificatore per il sito in cui risiede la pagina. Utilizza insieme a title per creare un sitelink completo.

Uno dei seguenti valori:
title

Titolo della pagina da associare. Utilizza insieme a site per creare un sitelink completo.

baserevid

The numeric identifier for the revision to base the modification on. This is used for detecting conflicts during save.

Type: integer
summary

Summary for the edit. Will be prepended by an automatically generated comment. The length limit of the autocomment together with the summary is 260 characters. Be aware that everything above that limit will be cut off.

tags

Change tags to apply to the revision.

Valori (separati da | o alternativa):
token

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

Questo parametro è obbligatorio.
bot

Mark this edit as bot. This URL flag will only be respected if the user belongs to the group "Bot".

Tipo: booleano (dettagli)
returnto

Titolo della pagina. Quando si effettua una modifica con un account temporaneo, durante il salvataggio, l'API potrebbe rispondere con un URL che invita chi modifica a completare l'accesso. Se questo parametro viene fornito, l'URL reindirizzerà alla pagina specificata, invece che a quella modificata.

Tipo: titolo della pagina
Accetta pagine non esistenti.
returntoquery

URL query parameters (with leading ?). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given query parameters.

Predefinito: (vuoto)
returntoanchor

URL fragment (with leading #). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given fragment.

Predefinito: (vuoto)
language

Lingua dell'etichetta

Questo parametro è obbligatorio.
Uno dei seguenti valori: aa, aae, ab, abs, ace, acf, acm, ady, ady-cyrl, aeb, aeb-arab, aeb-latn, af, agq, aln, als, alt, am, ami, an, ang, ann, anp, apc, ar, arc, arn, arq, ary, arz, as, ase, ast, atj, av, avk, awa, ay, az, azb, ba, bag, ban, ban-bali, bar, bas, bat-smg, bax, bbc, bbc-latn, bbj, bcc, bci, bcl, bdr, be, be-tarask, be-x-old, bew, bfd, bg, bgc, bgn, bh, bho, bi, bjn, bkc, bkh, bkm, blk, bm, bn, bo, bpy, bqi, bqz, br, brh, bs, btm, bto, bug, bxr, byv, ca, cak, cal, cbk-zam, ccp, cdo, ce, ceb, ch, chn, cho, chr, chy, ckb, cnh, co, cps, cpx, cpx-hans, cpx-hant, cpx-latn, cr, crh, crh-cyrl, crh-latn, crh-ro, cs, csb, cu, cv, cy, da, dag, de, de-at, de-ch, de-formal, dga, din, diq, dsb, dtp, dty, dua, dv, dz, ee, efi, egl, el, eml, en, en-ca, en-gb, en-us, eo, es, es-419, es-formal, et, eto, etu, eu, ewo, ext, fa, fat, ff, fi, fit, fiu-vro, fj, fkv, fmp, fo, fon, fr, frc, frp, frr, fur, fy, ga, gaa, gag, gan, gan-hans, gan-hant, gcf, gcr, gd, gl, gld, glk, gn, gom, gom-deva, gom-latn, gor, got, gpe, grc, gsw, gu, guc, gur, guw, gv, gya, ha, hak, hak-hans, hak-hant, hak-latn, haw, he, hi, hif, hif-latn, hil, hno, ho, hr, hrx, hsb, hsn, ht, hu, hu-formal, hy, hyw, hz, ia, iba, ibb, id, ie, ig, igl, ii, ik, ike-cans, ike-latn, ilo, inh, io, is, isu, isv-cyrl, isv-latn, it, iu, ja, jam, jbo, jut, jv, ka, kaa, kab, kai, kbd, kbd-cyrl, kbp, kcg, kea, ker, kg, kge, khw, ki, kiu, kj, kjh, kjp, kk, kk-arab, kk-cn, kk-cyrl, kk-kz, kk-latn, kk-tr, kl, km, kn, knc, ko, ko-kp, koi, kr, krc, kri, krj, krl, ks, ks-arab, ks-deva, ksf, ksh, ksw, ku, ku-arab, ku-latn, kum, kus, kv, kw, ky, la, lad, lb, lbe, lem, lez, lfn, lg, li, lij, liv, lki, lld, lmo, ln, lns, lo, loz, lrc, lt, ltg, lua, lus, luz, lv, lzh, lzz, mad, mag, mai, map-bms, mcn, mcp, mdf, mg, mh, mhr, mi, min, mk, ml, mn, mnc, mnc-latn, mnc-mong, mni, mnw, mo, mos, mr, mrh, mrj, ms, ms-arab, mt, mua, mui, mus, mwl, my, myv, mzn, na, nah, nan, nan-hani, nan-hant, nan-latn-pehoeji, nan-latn-tailo, nap, nb, nds, nds-nl, ne, new, ng, nge, nia, nit, niu, nl, nl-informal, nla, nmg, nmz, nn, nnh, nnz, no, nod, nog, nov, nqo, nr, nrm, nso, nup, nv, ny, nyn, nyo, nys, oc, ojb, olo, om, or, os, osa-latn, ota, pa, pag, pam, pap, pap-aw, pcd, pcm, pdc, pdt, pfl, pi, pih, pl, pms, pnb, pnt, prg, ps, pt, pt-br, pwn, qu, quc, qug, rgn, rif, rki, rm, rmc, rmf, rmy, rn, ro, roa-rup, roa-tara, rsk, ru, rue, rup, ruq, ruq-cyrl, ruq-latn, rut, rw, rwr, ryu, sa, sah, sat, sc, scn, sco, sd, sdc, sdh, se, se-fi, se-no, se-se, sei, ses, sg, sgs, sh, sh-cyrl, sh-latn, shi, shi-latn, shi-tfng, shn, shy, shy-latn, si, simple, sjd, sje, sju, sk, skr, skr-arab, sl, sli, sm, sma, smj, smn, sms, sn, so, sq, sr, sr-ec, sr-el, srn, sro, srq, ss, st, stq, sty, su, sv, sw, syl, szl, szy, ta, tay, tcy, tdd, te, tet, tg, tg-cyrl, tg-latn, th, ti, tig, tk, tl, tly, tly-cyrl, tn, to, tok, tpi, tpv, tr, tru, trv, ts, tt, tt-cyrl, tt-latn, ttj, tum, tvu, tw, ty, tyv, tzm, udm, ug, ug-arab, ug-latn, uk, ur, uz, uz-cyrl, uz-latn, ve, vec, vep, vi, vls, vmf, vmw, vo, vot, vro, vut, wa, wal, war, wes, wls, wo, wuu, wuu-hans, wuu-hant, wya, xal, xh, xmf, xsy, yas, yat, yav, ybb, yi, yo, yrl, yue, yue-hans, yue-hant, za, zea, zgh, zgh-latn, zh, zh-classical, zh-cn, zh-hans, zh-hant, zh-hk, zh-min-nan, zh-mo, zh-my, zh-sg, zh-tw, zh-yue, zu
value

Il valore dell'etichetta

Esempi:
Set the string "Wikimedia" for page with ID "Q999999998" as a label in English language and report it as pretty printed JSON.
api.php?action=wbsetlabel&id=Q999999998&language=en&value=Wikimedia&format=jsonfm [apri in una sandbox]
Set the English language label to "Earth" for the item with sitelink enwiki => "Earth".
api.php?action=wbsetlabel&site=enwiki&title=Earth&language=en&value=Earth [apri in una sandbox]

action=wbsetqualifier

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Crea un qualificatore o imposta il valore di uno esistente.

Parametri specifici:
Sono disponibili altri parametri generali.
claim

Un GUID che identifica l'asserzione per cui si sta impostando un qualificatore

Questo parametro è obbligatorio.
property

ID of the snaks property. Should only be provided when creating a new qualifier or changing the property of an existing one

value

The new value of the qualifier. Should only be provided for PropertyValueSnak qualifiers

snaktype

The type of the snak. Should only be provided when creating a new qualifier or changing the type of an existing one

Uno dei seguenti valori: novalue, somevalue, value
snakhash

The hash of the snak to modify. Should only be provided for existing qualifiers

summary

Summary for the edit. Will be prepended by an automatically generated comment. The length limit of the autocomment together with the summary is 260 characters. Be aware that everything above that limit will be cut off.

tags

Change tags to apply to the revision.

Valori (separati da | o alternativa):
token

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

Questo parametro è obbligatorio.
baserevid

The numeric identifier for the revision to base the modification on. This is used for detecting conflicts during save.

Type: integer
bot

Mark this edit as bot. This URL flag will only be respected if the user belongs to the group "Bot".

Tipo: booleano (dettagli)
returnto

Titolo della pagina. Quando si effettua una modifica con un account temporaneo, durante il salvataggio, l'API potrebbe rispondere con un URL che invita chi modifica a completare l'accesso. Se questo parametro viene fornito, l'URL reindirizzerà alla pagina specificata, invece che a quella modificata.

Tipo: titolo della pagina
Accetta pagine non esistenti.
returntoquery

URL query parameters (with leading ?). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given query parameters.

Predefinito: (vuoto)
returntoanchor

URL fragment (with leading #). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given fragment.

Predefinito: (vuoto)

action=wbsetreference

  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Creates a reference or sets the value of an existing one.

Parametri specifici:
Sono disponibili altri parametri generali.
statement

Un GUID che identifica la dichiarazione per cui si sta impostando un riferimento

Questo parametro è obbligatorio.
snaks

The snaks to set the reference to. JSON object with property IDs pointing to arrays containing the snaks for that property

Questo parametro è obbligatorio.
snaks-order

The order of the snaks. JSON array of property ID strings

reference

A hash of the reference that should be updated. Optional. When not provided, a new reference is created

index

The index within the statement's list of references where to move the reference to. Optional. When not provided, an existing reference will stay in place while a new reference will be appended.

Type: integer
summary

Summary for the edit. Will be prepended by an automatically generated comment. The length limit of the autocomment together with the summary is 260 characters. Be aware that everything above that limit will be cut off.

tags

Change tags to apply to the revision.

Valori (separati da | o alternativa):
token

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

Questo parametro è obbligatorio.
baserevid

The numeric identifier for the revision to base the modification on. This is used for detecting conflicts during save.

Type: integer
bot

Mark this edit as bot. This URL flag will only be respected if the user belongs to the group "bot".

Tipo: booleano (dettagli)
returnto

Titolo della pagina. Quando si effettua una modifica con un account temporaneo, durante il salvataggio, l'API potrebbe rispondere con un URL che invita chi modifica a completare l'accesso. Se questo parametro viene fornito, l'URL reindirizzerà alla pagina specificata, invece che a quella modificata.

Tipo: titolo della pagina
Accetta pagine non esistenti.
returntoquery

URL query parameters (with leading ?). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given query parameters.

Predefinito: (vuoto)
returntoanchor

URL fragment (with leading #). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given fragment.

Predefinito: (vuoto)
  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Associates a page on a wiki with a Wikibase item or removes an already made such association.

Parametri specifici:
Sono disponibili altri parametri generali.
id

L'identificatore dell'entità, incluso il prefisso. Utilizza id oppure site e title insieme.

new

Se impostato, verrà creata una nuova entità. Impostalo al tipo di entità che vuoi creare.

Uno dei seguenti valori: item, property
site

Un identificatore per il sito in cui risiede la pagina. Utilizza insieme a title per creare un sitelink completo.

Uno dei seguenti valori:
title

Titolo della pagina da associare. Utilizza insieme a site per creare un sitelink completo.

baserevid

The numeric identifier for the revision to base the modification on. This is used for detecting conflicts during save.

Type: integer
summary

Riepilogo per la modifica. Sarà preceduto da un commento generato automaticamente. Il limite di lunghezza del commento automatico, insieme con il riassunto, è di 260 caratteri. Siate consapevoli del fatto che tutto ciò che supera tale limite verrà tagliato.

tags

Change tags to apply to the revision.

Valori (separati da | o alternativa):
token

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

Questo parametro è obbligatorio.
bot

Mark this edit as bot. This URL flag will only be respected if the user belongs to the group "bot".

Tipo: booleano (dettagli)
returnto

Titolo della pagina. Quando si effettua una modifica con un account temporaneo, durante il salvataggio, l'API potrebbe rispondere con un URL che invita chi modifica a completare l'accesso. Se questo parametro viene fornito, l'URL reindirizzerà alla pagina specificata, invece che a quella modificata.

Tipo: titolo della pagina
Accetta pagine non esistenti.
returntoquery

URL query parameters (with leading ?). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given query parameters.

Predefinito: (vuoto)
returntoanchor

URL fragment (with leading #). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given fragment.

Predefinito: (vuoto)
linksite

The identifier of the site on which the page to link resides

Questo parametro è obbligatorio.
Uno dei seguenti valori:
linktitle

The title of the page to link. If this parameter is an empty string or both linktitle and badges are not set, the link will be removed.

badges

The IDs of items to be set as badges. They will replace the current ones. If this parameter is not set, the badges will not be changed

Valori (separati da | o alternativa):
Esempi:
Aggiunge un sitelink alla pagina in inglese "Hydrogen" all'elemento con ID Q999999998, se il sitelink non esiste
api.php?action=wbsetsitelink&id=Q999999998&linksite=enwiki&linktitle=Hydrogen [apri in una sandbox]
Aggiunge un sitelink alla pagina in inglese "Hydrogen" all'elemento con ID Q999999998, se il sitelink non esiste. Inoltre aggiunge "Loves Oxygen" all'oggetto della modifica.
api.php?action=wbsetsitelink&id=Q999999998&linksite=enwiki&linktitle=Hydrogen&summary=Loves%20Oxygen [apri in una sandbox]
Aggiunge un sitelink alla pagina in tedesco "Wasserstoff", all'elemento che è collegato alla pagina in inglese "Hydrogen", se il sitelink non esiste
api.php?action=wbsetsitelink&site=enwiki&title=Hydrogen&linksite=dewiki&linktitle=Wasserstoff [apri in una sandbox]
Rimuove il sitelink tedesco dall'elemento
api.php?action=wbsetsitelink&site=enwiki&title=Hydrogen&linksite=dewiki [apri in una sandbox]
Aggiunge un sitelink alla pagina in polacco "Wodór", all'elemento che è collegato alla pagina in inglese "Hydrogen", con un distintivo che punta all'elemento con ID "Q149"
api.php?action=wbsetsitelink&site=enwiki&title=Hydrogen&linksite=plwiki&linktitle=Wodór&badges=Q149 [apri in una sandbox]
Change badges for the link to the Polish page from the item with ID Q999999998 to two badges pointing to the items with IDs "Q2" and "Q149" without providing the link title
api.php?action=wbsetsitelink&id=Q999999998&linksite=plwiki&badges=Q2|Q149 [apri in una sandbox]
Change the link to the Polish page from the item with ID Q999999998 without changing badges
api.php?action=wbsetsitelink&id=Q999999998&linksite=plwiki&linktitle=Warszawa [apri in una sandbox]
Change the link to the Polish page from the item with ID Q999999998 and remove all of its badges
api.php?action=wbsetsitelink&id=Q999999998&linksite=plwiki&linktitle=Wodór&badges= [apri in una sandbox]

action=webapp-manifest

  • Questo modulo richiede i diritti di lettura.
  • Fonte: Citizen
  • Licenza: GPL-3.0-or-later

Returns a webapp manifest.

format=json

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Output data in JSON format.

Parametri specifici:
Sono disponibili altri parametri generali.
callback

If specified, wraps the output into a given function call. For safety, all user-specific data will be restricted.

utf8

If specified, encodes most (but not all) non-ASCII characters as UTF-8 instead of replacing them with hexadecimal escape sequences. Default when formatversion is not 1.

Tipo: booleano (dettagli)
ascii

If specified, encodes all non-ASCII using hexadecimal escape sequences. Default when formatversion is 1.

Tipo: booleano (dettagli)
formatversion

Output formatting

1
Backwards-compatible format (XML-style booleans, * keys for content nodes, etc.).
2
Modern format.
latest
Use the latest format (currently 2), may change without warning.
Uno dei seguenti valori: 1, 2, latest
Predefinito: 1

format=jsonfm

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Output data in JSON format (pretty-print in HTML).

Parametri specifici:
Sono disponibili altri parametri generali.
wrappedhtml

Restituisce l'HTML ben formattato e i moduli ResourceLoader associati come un oggetto JSON.

Tipo: booleano (dettagli)
callback

If specified, wraps the output into a given function call. For safety, all user-specific data will be restricted.

utf8

If specified, encodes most (but not all) non-ASCII characters as UTF-8 instead of replacing them with hexadecimal escape sequences. Default when formatversion is not 1.

Tipo: booleano (dettagli)
ascii

If specified, encodes all non-ASCII using hexadecimal escape sequences. Default when formatversion is 1.

Tipo: booleano (dettagli)
formatversion

Output formatting

1
Backwards-compatible format (XML-style booleans, * keys for content nodes, etc.).
2
Modern format.
latest
Use the latest format (currently 2), may change without warning.
Uno dei seguenti valori: 1, 2, latest
Predefinito: 1

format=none

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Output nothing.

format=php

(main | php)
  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Output data in serialized PHP format.

Parametro specifico:
Sono disponibili altri parametri generali.
formatversion

Output formatting

1
Backwards-compatible format (XML-style booleans, * keys for content nodes, etc.).
2
Modern format.
latest
Use the latest format (currently 2), may change without warning.
Uno dei seguenti valori: 1, 2, latest
Predefinito: 1

format=phpfm

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Output data in serialized PHP format (pretty-print in HTML).

Parametri specifici:
Sono disponibili altri parametri generali.
wrappedhtml

Restituisce l'HTML ben formattato e i moduli ResourceLoader associati come un oggetto JSON.

Tipo: booleano (dettagli)
formatversion

Output formatting

1
Backwards-compatible format (XML-style booleans, * keys for content nodes, etc.).
2
Modern format.
latest
Use the latest format (currently 2), may change without warning.
Uno dei seguenti valori: 1, 2, latest
Predefinito: 1

format=rawfm

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Output data, including debugging elements, in JSON format (pretty-print in HTML).

Parametro specifico:
Sono disponibili altri parametri generali.
wrappedhtml

Restituisce l'HTML ben formattato e i moduli ResourceLoader associati come un oggetto JSON.

Tipo: booleano (dettagli)

format=xml

(main | xml)
  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Output data in XML format.

Parametri specifici:
Sono disponibili altri parametri generali.
xslt

If specified, adds the named page as an XSL stylesheet. The value must be a title in the MediaWiki namespace ending in .xsl.

includexmlnamespace

If specified, adds an XML namespace.

Tipo: booleano (dettagli)

format=xmlfm

  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Output data in XML format (pretty-print in HTML).

Parametri specifici:
Sono disponibili altri parametri generali.
wrappedhtml

Restituisce l'HTML ben formattato e i moduli ResourceLoader associati come un oggetto JSON.

Tipo: booleano (dettagli)
xslt

If specified, adds the named page as an XSL stylesheet. The value must be a title in the MediaWiki namespace ending in .xsl.

includexmlnamespace

If specified, adds an XML namespace.

Tipo: booleano (dettagli)

Tipi di dato

Input to MediaWiki should be NFC-normalized UTF-8. MediaWiki may attempt to convert other input, but this may cause some operations (such as edits with MD5 checks) to fail.

Parameters that take multiple values are normally submitted with the values separated using the pipe character, e.g. param=value1|value2 or param=value1%7Cvalue2. If a value must contain the pipe character, use U+001F (Unit Separator) as the separator and prefix the value with U+001F, e.g. param=%1Fvalue1%1Fvalue2.

Some parameter types in API requests need further explanation:

boolean

Boolean parameters work like HTML checkboxes: if the parameter is specified, regardless of value, it is considered true. For a false value, omit the parameter entirely.

expiry

Expiry values may be relative (e.g. 5 months or 2 weeks) or absolute (e.g. 2014-09-18T12:34:56Z). For no expiry, use infinite, indefinite, infinity or never.

timestamp

Timestamps may be specified in several formats, see the Timestamp library input formats documented on mediawiki.org for details. ISO 8601 date and time is recommended: 2001-01-15T14:56:00Z. Additionally, the string now may be used to specify the current timestamp.

Parametri template

Templated parameters support cases where an API module needs a value for each value of some other parameter. For example, if there were an API module to request fruit, it might have a parameter fruits to specify which fruits are being requested and a templated parameter {fruit}-quantity to specify how many of each fruit to request. An API client that wants 1 apple, 5 bananas, and 20 strawberries could then make a request like fruits=apples|bananas|strawberries&apples-quantity=1&bananas-quantity=5&strawberries-quantity=20.

Crediti

API developers:

  • Yuri Astrakhan (creator, lead developer Sep 2006–Sep 2007)
  • Roan Kattouw (lead developer Sep 2007–2009)
  • Victor Vasiliev
  • Bryan Tong Minh
  • Sam Reed
  • Brad Jorsch (lead developer 2013–2020)

Please send your comments, suggestions and questions to [email protected] or file a bug report at https://phabricator.wikimedia.org/.