미디어위키 API 도움말

이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.

설명 문서 및 예시: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

prop=videoinfo (vi)

(main | query | videoinfo)
  • 이 모듈은 read 권한을 요구합니다.
  • 출처: TimedMediaHandler
  • 라이선스: GPL-2.0-or-later

Extends imageinfo to include video source (derivatives) information

특정 변수:
다른 일반 변수를 사용할 수 있습니다.
viprop

가져올 파일 정보:

timestamp
업로드된 판에 대한 타임스탬프를 추가합니다.
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
판의 설명을 변환합니다.
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
파일에 대한 SHA-1 해시를 추가합니다.
mime
Adds MIME type of the file. If the file has been revision deleted, a filehidden property will be returned.
thumbmime
Adds MIME type of the image thumbnail (requires url and param viurlwidth). If the file has been revision deleted, a filehidden property will be returned.
mediatype
파일의 미디어 유형을 추가합니다.
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.
archivename
Adds the filename of the archive version for non-latest versions. 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.
uploadwarning
Used by the Special:Upload page to get information about an existing file. Not intended for use outside MediaWiki core.
badfile
Adds whether the file is on the MediaWiki:Bad image list
derivatives
Adds an array of the different format and quality versions of an audio or video file that are available.
timedtext
Adds an array of the subtitles, captions and descriptions of an audio or video file that are available.
값 (|로 구분): archivename, badfile, bitdepth, canonicaltitle, comment, commonmetadata, derivatives, dimensions, extmetadata, mediatype, metadata, mime, parsedcomment, sha1, size, thumbmime, timedtext, timestamp, uploadwarning, url, user, userid 또는 다른 문자열: archivename, badfile, bitdepth, canonicaltitle, comment, commonmetadata, derivatives, dimensions, extmetadata, mediatype, metadata, mime, parsedcomment, sha1, size, thumbmime, timedtext, timestamp, uploadwarning, url, user, userid
기본값: timestamp|user
vilimit

How many file revisions to return per file.

유형: 정수 또는 max
값은 1와 500 사이여야 합니다.
기본값: 1
vistart

Timestamp to start listing from.

유형: 타임스탬프 (허용되는 포맷)
viend

Timestamp to stop listing at.

유형: 타임스탬프 (허용되는 포맷)
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.

유형: 정수
기본값: -1
viurlheight

viurlwidth와 유사합니다.

유형: 정수
기본값: -1
vimetadataversion

Version of metadata to use. If latest is specified, use latest version. Defaults to 1 for backwards compatibility.

기본값: 1
viextmetadatalanguage

What language to fetch extmetadata in. This affects both which translation to fetch, if multiple are available, as well as how things like numbers and various values are formatted.

기본값: ko
viextmetadatamultilang

If translations for extmetadata property are available, fetch all of them.

유형: 불리언 (자세한 정보)
viextmetadatafilter

If specified and non-empty, only these keys will be returned for viprop=extmetadata.

| 또는 대안으로 값을 구분합니다.
값의 최대 수는 50(더 높은 제한이 허용된 클라이언트의 경우 500)입니다.
viurlparam

A handler specific parameter string. For example, PDFs might use page15-100px. viurlwidth must be used and be consistent with viurlparam.

기본값: (비어 있음)
vibadfilecontexttitle

If badfilecontexttitleprop=badfile is set, this is the page title used when evaluating the MediaWiki:Bad image list

vicontinue

더 많은 결과를 이용할 수 있을 때, 계속하려면 이것을 사용하십시오.

vilocalonly

Look only for files in the local repository.

유형: 불리언 (자세한 정보)