|Found errors or typos? Just edit the page or leave a message on the talk page.|
The English language documentation is canonical and most up to date.
Special property "Media type"
Holds the Media type of an uploaded file
|Provided by:||extension "Semantic MediaWiki "Semantic MediaWiki (SMW) is a free, open-source extension to MediaWiki that lets you store and query data within the wiki's pages. Semantic MediaWiki is also a full-fledged framework, in conjunction with many spinoff extensions, that can turn a wiki into a powerful and flexible knowledge management system. All data created within SMW can easily be published via the Semantic Web, allowing other systems to use this data seamlessly.|
|Removed:||still in use|
|Alias:||has no alias|
|In this wiki:||Property:Media type|
The Media type property is a special property in Semantic MediaWiki with a built-in meaning: it holds the media type of an uploaded file. Thus it only works in namespace "File". This special property is available since Semantic MediaWiki 1.9.1Released on 9 February 2014 and compatible with MW 1.19.0 - 1.22.x..
Is possible to control if this special property is used or not.1. By default it is disabled. See the help page on configuration parameter
$smwgPageSpecialPropertiesSets the page related special properties to be used for details on configuring Semantic MediaWiki for page related special properties including "Media type".
It can be used like any other property of datatype "Text"Holds text of arbitrary length. This special property should never be set manually, since Semantic MediaWiki will take care of setting its value. Starting with Semantic MediaWiki 2.2.0Released on 9 May 2015 and compatible with MW 1.19.0 - 1.24.x. it is no longer possible to manually add values for this special property.2