Extension:WikibaseMediaInfo

WikibaseMediaInfo is an extension to Wikibase adding the new MediaInfo entity type for handling structured data for multimedia files.

The extension hooks into a file description page and adds a link to a MediaInfo page storing supplemental meta data about the file. This may, for example, include the author, detailed license information, and concepts a picture actually depicts.

Installation

 * In order to use this extension, Wikibase must be installed first. See the basic installation instructions if Wikibase has not been installed yet on your wiki.


 * You might need to run  in the extension directory, or in the root directory of your MediaWiki installation you are using a setup that merges all extension's dependencies into MediaWiki's vendor directory.

Settings
By default MediaInfo pages will be created in the namespace.

In order to use a custom namespace number, set  in   to the desired namespace ID.

Virtual Entities
Note that, unlike Items and Properties in Wikibase, MediaInfo entities are not stored in the database until some data of the entity is set (e.g. its label or description). Nevertheless a link to the MediaInfo page is always displayed on file page, and the MediaInfo page is displayed correctly, showing no data but the related file name. Such MediaInfo entities which are not yet stored in the database are called virtual MediaInfo entities.