MediaWiki-API-Hilfe
Dies ist eine automatisch generierte MediaWiki-API-Dokumentationsseite.
Dokumentation und Beispiele: https://www.mediawiki.org/wiki/API/de
prop=videoinfo (vi)
- Dieses Modul erfordert Leserechte.
- Quelle: TimedMediaHandler
- Lizenz: GPL-2.0+
Extends imageinfo to include video source (derivatives) information
- viprop
What video information to get:
- timestamp
- Adds timestamp for the uploaded version.
- user
- Adds the user who uploaded the video version.
- userid
- Add the user ID that uploaded the video version.
- comment
- Comment on the version.
- parsedcomment
- Parse the comment on the version.
- canonicaltitle
- Adds the canonical title of the video file.
- url
- Gives URL to the video and the description page.
- size
- Adds the size of the video in bytes, its height and its width. Page count and duration are added if applicable.
- dimensions
- Alias for size.
- sha1
- Adds SHA-1 hash for the video.
- mime
- Adds MIME type of the video.
- thumbmime
- Adds MIME type of the video thumbnail (requires url and param viurlwidth).
- mediatype
- Adds the media type of the video.
- metadata
- Lists Exif metadata for the version of the video.
- commonmetadata
- Lists file format generic metadata for the version of the video.
- extmetadata
- Lists formatted metadata combined from multiple sources. Results are HTML formatted.
- archivename
- Adds the filename of the archive version for non-latest versions.
- bitdepth
- Adds the bit depth of the version.
- uploadwarning
- Used by the Special:Upload page to get information about an existing file. Not intended for use outside MediaWiki core.
- derivatives
- Adds an array of the different format and quality versions of an audio or video file that are available.
- Werte (mit | trennen): timestamp, user, userid, comment, parsedcomment, canonicaltitle, url, size, dimensions, sha1, mime, thumbmime, mediatype, metadata, commonmetadata, extmetadata, archivename, bitdepth, uploadwarning, derivatives
- Standard: timestamp|user
- vilimit
Wie viele Dateiversionen pro Datei zurückgegeben werden sollen.
- Nicht mehr als 500 (5.000 für Bots) erlaubt.
- Type: integer or max
- Standard: 1
- vistart
Zeitstempel, von dem die Liste beginnen soll.
- Type: timestamp (allowed formats)
- viend
Zeitstempel, an dem die Liste enden soll.
- Type: timestamp (allowed formats)
- viurlwidth
If viprop=url is set, a URL to an image scaled to this width will be returned. For performance reasons if this option is used, no more than 50 scaled images will be returned.
- Type: integer
- Standard: -1
- viurlheight
Ähnlich wie viurlwidth.
- Type: integer
- Standard: -1
- viurlparam
A handler specific parameter string. For example, PDFs might use page15-100px. viurlwidth must be used and be consistent with viurlparam.
- Standard: (leer)
- vicontinue
When more results are available, use this to continue.
- Fetch information about File:Folgers.ogv
- api.php?action=query&titles=File:Folgers.ogv&prop=videoinfo