Adds scripts to import GND items into Wikibase Repository

Installs: 153

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 2

Forks: 0

Open Issues: 0


dev-master 2021-07-06 22:04 UTC

This package is auto-updated.

Last update: 2021-07-06 22:04:48 UTC


GitHub Workflow Status Latest Stable Version Download count

MediaWiki extension that adds scripts to import GND PICA+ into Wikibase.

The GND extension was created by Professional.Wiki for the German National Library. Professional.Wiki provides commercial Wikibase hosting, MediaWiki development and support.

Platform requirements

See the release notes for more information on the different versions of this extension.


First install MediaWiki and Wikibase Repository.

The recommended way to install the GND extension is using Composer with MediaWiki's built-in support for Composer.

On the commandline, go to your wikis root directory. Then run these two commands:

COMPOSER=composer.local.json composer require --no-update dnb/mediawiki-gnd:*
composer update dnb/mediawiki-gnd --no-dev -o

Enabling the extension

Then enable the extension by adding the following to the bottom of your wikis LocalSettings.php file:

wfLoadExtension( 'GND' );

You can verify the extension was enabled successfully by opening your wikis Special:Version page in your browser.


GND import via ImportGndDump.php. Example:

php extensions/GND/maintenance/ImportGndDump.php --path extensions/GND/data/GND.json --limit 10

Doku-wiki vocabulary sync via SyncDokuVocabulary. Example:

php extensions/GND/maintenance/SyncDokuVocabulary.php

Running the tests

  • PHP tests: php tests/phpunit/phpunit.php -c extensions/GND/

Release notes

Version 0.1.0

Under development

  • Initial release for MediaWiki/Wikibase 1.35