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.
  • Source: MediaWiki
  • License: GPL-2.0+

تعداد كافة الصور بشكل متتالي.

Parameters:
aisort

خاصية للفرز وفقًا لها.

One of the following values: name، timestamp
Default: name
aidir

The direction in which to list.

One of the following values: ascending، descending، newer، older
Default: ascending
aifrom

عنوان الصورة لبدء التعداد منه. يمكن استخدامها مع aisort=name فقط.

aito

عنوان الصورة لوقف التعداد منه. يمكن استخدامها مع aisort=name فقط.

aicontinue

When more results are available, use this to continue.

aistart

طابع زمني لبدء التعداد منه. يمكن استخدامه مع aisort فقط.

Type: timestamp (allowed formats)
aiend

طابع زمني لإنهاء التعداد منه. يمكن استخدامه مع aisort فقط.

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
إضافة هوية المستخدم الذي قام بتحميل كل إصدار ملف.
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.
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
Default: timestamp|url
aiprefix

البحث عن كل عناوين الصور التي تبدأ بهذه القيمة. يمكن استخدامها مع aisort فقط.

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 تجزئة الصورة. تجاوز aisha1base36.

aisha1base36

SHA1 تجزئة الصورة في قاعدة 36 (تُستخدَم في ميدياويكي).

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

كيفية تصفية الملفات التي تم تحميلها بواسطة بوتات. يمكن استخدامها مع aisort=timestamp فقط. لا يمكن أن تُستخدَم بجانب aiuser.

One of the following values: all، bots، nobots
Default: all
aimime

عن أي أنواع MIME تبحث، على سبيل المثال image/jpeg.

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

How many images in total to return.

No more than ٥٠٠ (٥٬٠٠٠ for bots) allowed.
Type: integer or max
Default: 10
Examples:
أظهر قائمة الملفات التي تبدأ بB.
api.php?action=query&list=allimages&aifrom=B [open in sandbox]
أظهر قائمة الملفات التي تم تحميلها مؤخرا، على غرار خاص:ملفات جديدة.
api.php?action=query&list=allimages&aiprop=user|timestamp|url&aisort=timestamp&aidir=older [open in sandbox]
أظهر قائمة الملفات من نوع MIME image/png أو image/gif
api.php?action=query&list=allimages&aimime=image/png|image/gif [open in sandbox]
عرض معلومات حول 4 ملفات تبدأ بالحرف T.
api.php?action=query&generator=allimages&gailimit=4&gaifrom=T&prop=imageinfo [open in sandbox]