Справка 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+
Бер-бер артлы бөтә образдарҙы һанап сығырға.
- aisort
Сортировкалау үҙенсәлектәре.
- Одно из следующих значений: name, timestamp
- По умолчанию: name
- aidir
Һанау йүнәлеше.
- Одно из следующих значений: 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.
- Значения (разделённые |): 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
Һүрәттәр лимиты (байттарҙа).
- Тип: integer
- aimaxsize
Бар һүрәттәр лимиты (байттарҙа).
- Тип: 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.
- Одно из следующих значений: all, bots, nobots
- По умолчанию: all
- aimime
What MIME types to search for, e.g. image/jpeg.
- Разделяйте значения с помощью |. Максимальное количество значений должно быть 50 (500 для ботов).
- ailimit
Кире ҡайтыу өсөн образдар һаны.
- Разрешено не более чем 500 (5000 для ботов).
- Тип: целое число или max
- По умолчанию: 10
- Б хәрефенән башланған файлдар исемлеген күрһәтергә.
- api.php?action=query&list=allimages&aifrom=B [open in sandbox]
- Күптән түгел тейәлгән һәм специальные:NewFiles оҡшаш файлдар исемлеген күрһәтергә.
- api.php?action=query&list=allimages&aiprop=user|timestamp|url&aisort=timestamp&aidir=older [open in sandbox]
- Show a list of files with MIME type image/png or image/gif
- api.php?action=query&list=allimages&aimime=image/png|image/gif [open in sandbox]
- Т хәрефенән башланған 4 файл хаҡында мәғлүмәтте күрһәтергә.
- api.php?action=query&generator=allimages&gailimit=4&gaifrom=T&prop=imageinfo [open in sandbox]