Помош со Извршникот на МедијаВики
Ова е самосоздадена документациска страница за извршникот на МедијаВики.
Документација и примери: https://www.mediawiki.org/wiki/API
list=allimages (ai)
- За овој модул се потребни права на читање.
- Овој модул може да се користи како создавач.
- Извор: MediaWiki
- Лиценца: GPL-2.0-or-later
Enumerate all images sequentially.
- aisort
Property to sort by.
- Една од следниве вредности: 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.
- Тип: време и датум (допуштени формати)
- aiend
The timestamp to end enumerating. Can only be used with aisort=timestamp.
- Тип: време и датум (допуштени формати)
- aiprop
Кои информации за податотеки да се дадат:
- 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
- Adds MIME type of the file. If the file has been revision deleted, a filehidden property will be returned.
- 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
- Вредности (одделете ги со | или алтернатива): badfile, bitdepth, canonicaltitle, comment, commonmetadata, dimensions, extmetadata, mediatype, metadata, mime, parsedcomment, sha1, size, timestamp, url, user, userid
- По основно: timestamp|url
- aiprefix
Search for all image titles that begin with this value. Can only be used with aisort=name.
- aiminsize
Ограничи на слики со барем олку бајти.
- Вид: цел број
- aimaxsize
Ограничи на слики со највеќе олку бајти.
- Вид: цел број
- 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.
- Вид: корисник, од некое од корисничко име, IP-адреса, меѓувики-назив (на пр. „prefix>ПримеренНазив“) и корисничка назнака (на пр. „#12345“)
- 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
How many images in total to return.
- Тип: цел број или max
- Вредноста мора да изнесува помеѓу 1 и 500.
- По основно: 10
- Прикажи список на податотеки што почнуваат со буквата B.
- api.php?action=query&list=allimages&aifrom=B [open in sandbox]
- Прикажи список на неодамна подигнати податотеки сличен на Special: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 податотеки што почнуваат со буквата T.
- api.php?action=query&generator=allimages&gailimit=4&gaifrom=T&prop=imageinfo [open in sandbox]