{"id":15017736,"url":"https://github.com/professionalwiki/gnd","last_synced_at":"2025-04-12T12:33:39.476Z","repository":{"id":47274141,"uuid":"322715577","full_name":"ProfessionalWiki/GND","owner":"ProfessionalWiki","description":"GND MediaWiki extension created for the German National Library","archived":false,"fork":false,"pushed_at":"2023-09-13T13:43:58.000Z","size":296,"stargazers_count":4,"open_issues_count":2,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-26T07:11:21.257Z","etag":null,"topics":["gnd","mediawiki","mediawiki-extension","wikibase","wikibase-extension"],"latest_commit_sha":null,"homepage":"https://wikibase.consulting","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ProfessionalWiki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-18T22:10:53.000Z","updated_at":"2023-06-19T08:09:55.000Z","dependencies_parsed_at":"2024-09-21T09:01:36.312Z","dependency_job_id":null,"html_url":"https://github.com/ProfessionalWiki/GND","commit_stats":{"total_commits":163,"total_committers":4,"mean_commits":40.75,"dds":"0.024539877300613466","last_synced_commit":"8123f4e42226ce8801793b21aa243676d257dffa"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProfessionalWiki%2FGND","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProfessionalWiki%2FGND/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProfessionalWiki%2FGND/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProfessionalWiki%2FGND/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ProfessionalWiki","download_url":"https://codeload.github.com/ProfessionalWiki/GND/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248566796,"owners_count":21125726,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gnd","mediawiki","mediawiki-extension","wikibase","wikibase-extension"],"created_at":"2024-09-24T19:50:55.189Z","updated_at":"2025-04-12T12:33:39.445Z","avatar_url":"https://github.com/ProfessionalWiki.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GND MediaWiki extension\n\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/ProfessionalWiki/GND/ci.yml?branch=master)](https://github.com/ProfessionalWiki/GND/actions?query=workflow%3ACI)\n[![codecov](https://codecov.io/gh/ProfessionalWiki/GND/branch/master/graph/badge.svg)](https://codecov.io/gh/ProfessionalWiki/GND)\n[![Latest Stable Version](https://poser.pugx.org/dnb/mediawiki-gnd/version.png)](https://packagist.org/packages/dnb/mediawiki-gnd)\n[![Download count](https://poser.pugx.org/dnb/mediawiki-gnd/d/total.png)](https://packagist.org/packages/dnb/mediawiki-gnd)\n\n[MediaWiki] extension that adds scripts to import GND PICA+ into [Wikibase].\n\nThe GND extension was created by [Professional.Wiki] for the [German National Library]. [Professional.Wiki] provides commercial [Wikibase hosting], [MediaWiki development] and support.\n\n## Platform requirements\n\n* [PHP] 7.4 or later, including PHP 8\n* [MediaWiki] 1.35\n* [Wikibase Repository] REL1_35\n\nSee the [release notes](#release-notes) for more information on the different versions of this extension.\n\n## Installation\n\nFirst install MediaWiki and Wikibase Repository.\n\nThe recommended way to install the GND extension is using [Composer] with\n[MediaWiki's built-in support for Composer][Composer install].\n\nOn the commandline, go to your wikis root directory. Then run these two commands:\n\n```shell script\nCOMPOSER=composer.local.json composer require --no-update dnb/mediawiki-gnd:*\ncomposer update dnb/mediawiki-gnd --no-dev -o\n```\n\n**Enabling the extension**\n\nThen enable the extension by adding the following to the bottom of your wikis `LocalSettings.php` file:\n\n```php\nwfLoadExtension( 'GND' );\n```\n\nYou can verify the extension was enabled successfully by opening your wikis Special:Version page in your browser.\n\n## Usage: GND doku function\n\n```\n{{#gnd_doku:language=en|codings=PICA3, PICA+}}\n```\n\nParameters:\n* `language`. Optional language code. Default `de`. Supports `en` and `de`.\n* `codings`. Optional. Coding columns to show. Default `PICA3, PICA+, MARC21`. Supports these 3 values.\n\n## Usage: GND import\n\nGND import via `ImportGndDump.php`. Example:\n\n    php extensions/GND/maintenance/ImportGndDump.php --path extensions/GND/data/GND.json --limit 10\n\nThe import script expects a file with one JSON structure per line. Example of\na valid file: https://github.com/ProfessionalWiki/GND/blob/master/tests/GND.json\n\nTo see all availble options, run:\n\n    php extensions/GND/maintenance/ImportGndDump.php --help\n\n## GND Vocabulary syncronisation\n\nDoku-wiki vocabulary sync via `SyncDokuVocabulary`. Example:\n\n    php extensions/GND/maintenance/SyncDokuVocabulary.php\n\n## Usage: Changing item properties to strings\n\nProperty IDs provided in comma seperated list. Spacing does not matter.\n\n\tphp extensions/GND/maintenance/ItemPropertiesToStrings.php --properties \"P1, P2, P3\"\n\n### Running tests and CI checks\n\nYou can use the `Makefile` by running make commands in the `ExternalContent` directory.\n\n* `make ci`: Run everything\n* `make test`: Run all tests\n* `make cs`: Run all style checks and static analysis\n\n## Release notes\n\n### Version 0.1.0\n\nUnder development\n\n* Initial release for MediaWiki/Wikibase 1.35\n\n[Professional.Wiki]: https://professional.wiki\n[Wikibase]: https://wikibase.consulting/what-is-wikibase/\n[MediaWiki]: https://www.mediawiki.org\n[PHP]: https://www.php.net\n[Wikibase Repository]: https://www.mediawiki.org/wiki/Extension:Wikibase_Repository\n[Composer]: https://getcomposer.org\n[Composer install]: https://professional.wiki/en/articles/installing-mediawiki-extensions-with-composer\n[MediaWiki development]: https://professional.wiki/en/mediawiki-development\n[Wikibase hosting]: https://professional.wiki/en/hosting/wikibase\n[German National Library]: https://www.dnb.de/EN/Home/home_node.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprofessionalwiki%2Fgnd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprofessionalwiki%2Fgnd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprofessionalwiki%2Fgnd/lists"}