MediaWiki API ヘルプ
ãã®ãã¼ã¸ã¯èªåçæããã MediaWiki API ã®èª¬æææ¸ãã¼ã¸ã§ãã
èª¬æææ¸ã¨ä¾: https://www.mediawiki.org/wiki/API
list=allimages (ai)
- ãã®ã¢ã¸ã¥ã¼ã«ã¯èªã¿åãã®æ¨©éãå¿ è¦ã¨ãã¾ãã
- ãã®ã¢ã¸ã¥ã¼ã«ã¯ã¸ã§ãã¬ã¼ã¿ã¼ã¨ãã¦ä½¿ç¨ã§ãã¾ãã
- Source: MediaWiki
- License: GPL-2.0-or-later
é æ¬¡ãã¹ã¦ã®ç»åãåæãã¾ãã
- aisort
ä¸¦ã¹æ¿ãã«ä½¿ç¨ããããããã£ã
- å¤ (次ã®å¤ã®ãããã1ã¤): nameãtimestamp
- æ¢å®å¤: name
- aidir
ä¸è¦§è¡¨ç¤ºããæ¹åã
- å¤ (次ã®å¤ã®ãããã1ã¤): ascendingãdescendingãnewerãolder
- æ¢å®å¤: ascending
- aifrom
åæã®å§ç¹ã¨ãªãç»åã¿ã¤ãã«ãaisort=name ãæå®ããå ´åã®ã¿ä½¿ç¨ã§ãã¾ãã
- aito
åæã®çµç¹ã¨ãªãç»åã®ãã¼ã¸åãaisort=name ãæå®ããå ´åã®ã¿ä½¿ç¨ã§ãã¾ãã
- aicontinue
When more results are available, use this to continue.
- aistart
åæã®å§ç¹ã¨ãªãã¿ã¤ã ã¹ã¿ã³ããaisort=timestamp ãæå®ããå ´åã®ã¿ä½¿ç¨ã§ãã¾ãã
- Type: timestamp (allowed formats)
- aiend
åæã®çµç¹ã¨ãªãã¿ã¤ã ã¹ã¿ã³ããaisort=timestamp ãæå®ããå ´åã®ã¿ä½¿ç¨ã§ãã¾ãã
- Type: timestamp (allowed formats)
- aiprop
åå¾ãããã¡ã¤ã«æ å ±:
- 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
- ãã¡ã¤ã«ã¨èª¬æãã¼ã¸ã¸ã®URLãæä¾ãã¾ãã
- size
- ãã¤ãåä½ã§ãã¡ã¤ã«ãé«ããå¹ ããã¼ã¸æ°ã®ãµã¤ãºã追å ãã¾ãï¼è©²å½ããå ´åï¼ã
- dimensions
- Alias for size.
- sha1
- Adds SHA-1 hash for the file.
- mime
- ãã¡ã¤ã«ã®MIMEã¿ã¤ãã追å ãã¾ãã
- mediatype
- ãã¡ã¤ã«ã®ã¡ãã£ã¢ã¿ã¤ãã追å ãã¾ãã
- metadata
- ãã¡ã¤ã«ã®ãã¼ã¸ã§ã³ã® Exif ã¡ã¿ãã¼ã¿ãä¸è¦§è¡¨ç¤ºãã¾ãã
- 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
- ãã¼ã¸ã§ã³ã®ãããæ·±åº¦ã追å ãã¾ãã
- badfile
- Adds whether the file is on the MediaWiki:Bad image list
- å¤ (|ãããã¯å¥ã®æååã§åºåã): timestampãuserãuseridãcommentãparsedcommentãcanonicaltitleãurlãsizeãdimensionsãsha1ãmimeãmediatypeãmetadataãcommonmetadataãextmetadataãbitdepthãbadfile
- æ¢å®å¤: timestamp|url
- aiprefix
ãã®å¤ã§å§ã¾ããã¹ã¦ã®ç»åã¿ã¤ãã«ãæ¤ç´¢ãããaisort=name ãæå®ããå ´åã®ã¿ä½¿ç¨ã§ãã¾ãã
- aiminsize
ç»åã®æå°ãã¤ãæ°ãå¶éããã
- Type: integer
- aimaxsize
ç»åã®æå¤§ãã¤ãæ°ãå¶éããã
- Type: integer
- aisha1
ç»åã® SHA1 ããã·ã¥å¤ãaisha1base36 ããªã¼ãã¼ã©ã¤ããã¾ãã
- aisha1base36
SHA1 hash of image in base 36 (used in MediaWiki).
- aiuser
ãã®å©ç¨è ã«ããã¢ãããã¼ãããããã¡ã¤ã«ã®ã¿ãè¿ããaisort=timestamp ãæå®ããå ´åã®ã¿ä½¿ç¨ã§ãã¾ãã aifilterbots ã¨ã¯åæã«ä½¿ç¨ã§ãã¾ããã
- Type: user name
- aifilterbots
ãããã«ããã¢ãããã¼ãããããã¡ã¤ã«ãçµãè¾¼ãæ¹æ³ãaisort=timestamp ãæå®ããå ´åã®ã¿ä½¿ç¨ã§ãã¾ããaiuser ã¨ã¯åæã«ä½¿ç¨ã§ãã¾ããã
- å¤ (次ã®å¤ã®ãããã1ã¤): allãbotsãnobots
- æ¢å®å¤: all
- aimime
æ¤ç´¢å¯¾è±¡ã®MIMEã¿ã¤ãããã¨ãã° image/jpegã
- è¤æ°ã®å¤ã¯ | ãããã¯ä»£ããã®æåã§åºåã£ã¦ãã ããã å¤ã®æå¤§å¤ã¯ 50 (ãããã®å ´å㯠500) ã§ãã
- ailimit
è¿ãç»åã®ç·æ°ã
- No more than 500 (5,000 for bots) allowed.
- Type: integer or max
- æ¢å®å¤: 10
- B ã§å§ã¾ããã¡ã¤ã«ã®ä¸è¦§ã表示ããã
- api.php?action=query&list=allimages&aifrom=B [ãµã³ãããã¯ã¹ã§éã]
- Special:NewFiles ã®ããã«ãæè¿ã¢ãããã¼ãããããã¡ã¤ã«ã®ä¸è¦§ã表示ããã
- api.php?action=query&list=allimages&aiprop=user|timestamp|url&aisort=timestamp&aidir=older [ãµã³ãããã¯ã¹ã§éã]
- MIMEã¿ã¤ãã image/png ã¾ã㯠image/gif ã§ãããã¡ã¤ã«ã®ä¸è¦§ã表示ãã
- api.php?action=query&list=allimages&aimime=image/png|image/gif [ãµã³ãããã¯ã¹ã§éã]
- T ã§å§ã¾ã4ã¤ã®ãã¡ã¤ã«ã«é¢ããæ å ±ã表示ããã
- api.php?action=query&generator=allimages&gailimit=4&gaifrom=T&prop=imageinfo [ãµã³ãããã¯ã¹ã§éã]