| Status: | effective |
| Progress: | 100% |
| Version: | 3.0.0+ |
Help:Media files and metadata



Adding metadata to media files will help to make them queryable and extend the content horizon in which those files are uploaded.
A user is always able to provide specific information about a file in form of annotations but certain data can be retrieved automatically and autonomously to build a better information platform about files and their content.
Type data
While not enabled by default, the following properties are suggested to be added to configuration parameter $smwgPageSpecialPropertiesSets the page related special properties to be used so that rudimentary information about a file can be stored and made available out-of-the box:
- special property "Media type"Holds the Media type of an uploaded file
- special property "MIME type"Holds the MIME type of an uploaded file
Attachment links
Recognizing (or track) where each file (or image) is attached to, special property "Attachment link"Holds the links to files embedded on a page can provide the means for it.
Exif data
Extension "Semantic Extra Special Properties"Adds some extra special properties to all pages provides additional capabilities to fetch and annotated Exif (Exchangeable image file format) information from a file.
Content information
The Elasticseach store (SMWElasticStore) provides a functionality to parse the entire content of a file outside of the wiki and is able to transfer back some metadata to the wiki. If enabled, it adds a file attachment container which holds data from the "Apache Tika" plugin1 and provides information (if provided by the file) about:
- Content author
- Content date
- Content language
- Content length
- Content title
- Content type
- Content keyword
See also
- Help page on file ingestion when using the Elasticsearch store