Special property "MIME type"

From semantic-mediawiki.org
MIME type
Holds the MIME type of an uploaded file
Further Information
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.
Added: 1.9.1
Removed: still in use
Alias: has no alias
Optional: yes
Visible: yes
Annotable: no
Declarative: no
Setting: not specified
Focus: page information
In this wiki: Property:MIME type

The MIME type property is a special property in Semantic MediaWiki with a built-in meaning: it holds the MIME type of an uploaded file. Thus it only works in namespace "File". This special property is available since Semantic MediaWiki 1.9.1 and it is possible to control if this special property is used or not.1 It is disabled by default. See the help page on the configuration setting $smwgPageSpecialProperties for details on configuring SMW for special page related properties including "MIME type".

It can be used like any other property of datatype "Text". This special property should never be set manually, since Semantic MediaWiki will take care of setting its value. Starting with Semantic MediaWiki 2.2.0 it is no longer possible to manually add values for this special property.2

See the property page "MIME type" to see which pages use this special property on this wiki. See also the page about MIME types for an overview of values this special property may hold.


  1. ^  Semantic MediaWiki: GitHub issue gh:smw:162
  2. ^  Semantic MediaWiki: GitHub pull request gh:smw:914