mw wiki file info
Releasev0.35.0 · cfeceb67
mw wiki file info FILE [flags]Return the selected wiki’s native imageinfo data for the current file version, including dimensions/size, MIME type, hash and URLs. Shared-repository files are supported even if the local description page is missing. Asset URLs are printed, not fetched. –extended also requests raw/common/extended metadata; fields vary by file type and site.
Options
Section titled “Options”Global options
Section titled “Global options”Examples
Section titled “Examples”mw wiki file info 'Example.jpg'mw wiki file info 'File:Example.jpg' --extended --output jq --format '.imageinfo[0].mime'See also
Section titled “See also”Page views: —Sessions: —