MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

list=allimages (ai)

(main | query | allimages)
  • 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
Default: name
aidir

La direzione in cui elencare.

Uno dei seguenti valori: ascending, descending, newer, older
Default: 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
Default: 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
Default: all
aimime

What MIME types to search for, e.g. image/jpeg.

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.
Default: 10