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 file description pages and adds a link to MediaInfo page related to the file.

Installation

 * You might need to run  in the extension directory, or in the root directory of your MediaWiki installation if in your setup extension dependencies are merged into MediaWiki's vendor directory.

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

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

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 links to the MediaInfo page are displayed on file pages, and 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.