Extension:WikibaseWikidataType/da
WikibaseWikidataType Release status: experimental |
|||
---|---|---|---|
![]() |
|||
Implementation | Hook | ||
Beskrivelse | Adds new wikidata-item DataType to Wikibase | ||
Forfatter(e) | (Zellfazetalk) | ||
Latest version | 0.1 (2016-07-03) | ||
MediaWiki | 1.26 | ||
Database changes | Nej | ||
Licens | Creative Commons Zero v1.0 Universal | ||
Download | https://github.com/zellfaze/wikidata-datatype.git README.md |
||
|
|||
Translate the WikibaseWikidataType extension if it is available at translatewiki.net | |||
Check usage and version matrix. |
The WikibaseWikidataType extension adds new DataType named wikidata-item to Wikibase which allows Properties to reference Wikidata items.
Currently this extension manages to add a new DataType which can be assigned to a Property, but upon trying to add the new Property to an Item you will receive the following message: Handling of values for "wikidata-item" data type is not yet supported.
I am still working out how to fix this issue and allow you to actually enter data. Documentation on how to add new DataTypes to Wikidata seems pretty sparse from what I can see.
Installation
- Download and place the file(s) in a directory called
WikibaseWikidataType
in yourextensions/
folder.
- Add the following code at the bottom of your LocalSettings.php:
wfLoadExtension( 'WikibaseWikidataType' );
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
To users running MediaWiki 1.24 or earlier:
The instructions above describe the new way of installing this extension using wfLoadExtension()
If you need to install this extension on these earlier versions (MediaWiki 1.24 and earlier), instead of wfLoadExtension( 'WikibaseWikidataType' );
, you need to use:
require_once "$IP/extensions/WikibaseWikidataType/WikibaseWikidataType.php";