MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

list=allimages (ai)

(main | query | allimages)
  • This module requires read rights.
  • This module can be used as a generator.
  • منبع: MediaWiki
  • License: GPL-2.0-or-later

متوالی شمردن همهٔ تصاویر.

Parameters:
aisort

خصوصیت برای مرتب‌سازی بر پایه آن

One of the following values: name، timestamp
پیش‌فرض: name
aidir

جهتی که باید فهرست شود.

One of the following values: 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

When more results are available, use this to continue.

aistart

The timestamp to start enumerating from. Can only be used with aisort=timestamp.

Type: timestamp (allowed formats)
aiend

The timestamp to end enumerating. Can only be used with aisort=timestamp.

Type: 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
نام مستعار برای size
sha1
افزودن SHA-1 hash برای پرونده
mime
افزودن نوع MIME برای پرونده
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.
badfile
Adds whether the file is on the MediaWiki:Bad image list
Values (separate with | or alternative): timestamp، user، userid، comment، parsedcomment، canonicaltitle، url، size، dimensions، sha1، mime، mediatype، metadata، commonmetadata، extmetadata، bitdepth، badfile
پیش‌فرض: timestamp|url
aiprefix

Search for all image titles that begin with this value. Can only be used with aisort=name.

aiminsize

محدودکردن به صفحه‌هایی که دست کم این تعداد بایت دارند.

Type: integer
aimaxsize

محدودکردن به صفحه‌هایی که حداکثر این تعداد بایت دارند.

Type: 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.

Type: user name
aifilterbots

How to filter files uploaded by bots. Can only be used with aisort=timestamp. Cannot be used together with aiuser.

One of the following values: all، bots، nobots
پیش‌فرض: all
aimime

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

Separate values with | or alternative. Maximum number of values is ۵۰ (۵۰۰ for bots).
ailimit

How many images in total to return.

بيش از ۵۰۰ (برای ربات‌ها ۵٬۰۰۰) مجاز نيست
Type: integer or max
پیش‌فرض: 10