Справка MediaWiki API
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
list=allimages (ai)
- ÐÑÐ¾Ñ Ð¼Ð¾Ð´ÑÐ»Ñ ÑÑебÑÐµÑ Ð¿Ñав на ÑÑение.
- ÐÑÐ¾Ñ Ð¼Ð¾Ð´ÑÐ»Ñ Ð¼Ð¾Ð¶ÐµÑ Ð±ÑÑÑ Ð¸ÑполÑзован в каÑеÑÑве генеÑаÑоÑа.
- ÐÑÑоÑник: MediaWiki
- ÐиÑензиÑ: GPL-2.0+
Enumerate all images sequentially.
- aisort
Property to sort by.
- One value: name, timestamp
- Ðо ÑмолÑаниÑ: name
- aidir
The direction in which to list.
- One value: ascending, descending, newer, older
- Ðо ÑмолÑаниÑ: ascending
- aifrom
The image title to start enumerating from. Can only be used with aisort=name.
- aito
The image title to stop enumerating at. Can only be used with aisort=name.
- aicontinue
Ðогда доÑÑÑпно болÑÑе ÑезÑлÑÑаÑов, иÑполÑзоваÑÑ ÑÑÐ¾Ñ ÑÑÐ¾Ð±Ñ Ð¿ÑодолжиÑÑ.
- aistart
The timestamp to start enumerating from. Can only be used with aisort=timestamp.
- Тип: timestamp (allowed formats)
- aiend
The timestamp to end enumerating. Can only be used with aisort=timestamp.
- Тип: timestamp (allowed formats)
- aiprop
Which file information to get:
- timestamp
- Adds timestamp for the uploaded version.
- user
- Adds the user who uploaded each file version.
- userid
- Add the ID of the user that uploaded each file version.
- comment
- Comment on the version.
- parsedcomment
- Parse the comment on the version.
- canonicaltitle
- Adds the canonical title of the file.
- url
- Gives URL to the file and the description page.
- 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.
- mime
- Adds MIME type of the file.
- mediatype
- Adds the media type of the file.
- metadata
- Lists Exif metadata for the version of the file.
- commonmetadata
- Lists file format generic metadata for the version of the file.
- extmetadata
- Lists formatted metadata combined from multiple sources. Results are HTML formatted.
- bitdepth
- Adds the bit depth of the version.
- Values (separate with |): timestamp, user, userid, comment, parsedcomment, canonicaltitle, url, size, dimensions, sha1, mime, mediatype, metadata, commonmetadata, extmetadata, bitdepth
- Ðо ÑмолÑаниÑ: 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.
- Тип: integer
- aimaxsize
Limit to images with at most this many bytes.
- Тип: integer
- aisha1
SHA1 hash of image. Overrides aisha1base36.
- aisha1base36
SHA1 hash of image in base 36 (used in MediaWiki).
- aiuser
Only return files uploaded by this user. Can only be used with aisort=timestamp. Cannot be used together with aifilterbots.
- Тип: user name
- aifilterbots
How to filter files uploaded by bots. Can only be used with aisort=timestamp. Cannot be used together with aiuser.
- One value: all, bots, nobots
- Ðо ÑмолÑаниÑ: all
- aimime
What MIME types to search for, e.g. image/jpeg.
- РазделÑйÑе знаÑÐµÐ½Ð¸Ñ Ñ Ð¿Ð¾Ð¼Ð¾ÑÑÑ |. ÐакÑималÑное колиÑеÑÑво знаÑений должно бÑÑÑ 50 (500 Ð´Ð»Ñ Ð±Ð¾Ñов).
- ailimit
How many images in total to return.
- РазÑеÑено не более Ñем 500 (5000 Ð´Ð»Ñ Ð±Ð¾Ñов).
- Тип: Ñелое ÑиÑло или max
- Ðо ÑмолÑаниÑ: 10
- Show a list of files starting at the letter B.
- api.php?action=query&list=allimages&aifrom=B
- Show a list of recently uploaded files, similar to Special:NewFiles.
- api.php?action=query&list=allimages&aiprop=user|timestamp|url&aisort=timestamp&aidir=older
- Show a list of files with MIME type image/png or image/gif
- api.php?action=query&list=allimages&aimime=image/png|image/gif
- Show info about 4 files starting at the letter T.
- api.php?action=query&generator=allimages&gailimit=4&gaifrom=T&prop=imageinfo