Extension:GNDShow

MediaWiki extensions manual
GNDShow
Release status: beta
Implementation Parser function
Description Allows to add data to a wiki page that were retrieved from the German national library authority file (GND)
Author(s) Julian Hocker, Patrick Schmelmer (jhockerdipftalk)
Latest version 0.1 (2021-10-14)
MediaWiki 1.30+
Database changes No
License MIT License
Download
README
Example schularchive.bbf.dipf.de

The GNDShow extension allows to add data to a wiki page that were retrieved from Wikidata.

It is basically developed for the School Archives Project and shows basic literatur information like title, author, year and the ID of the record in the German National Library. The data is retrieved from the integrated authority file (GND) provided by the German national library.


Installation

edit
  • Add "freearhey/wikidata": "3.2" to the "require section of your wiki's "composer.local.json" file
  • Run composer update --no-dev
  • Download and place the file(s) in a directory called GNDShow in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'GNDShow' );
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Usage

edit

You can use the extension by simply adding the parser functions #gndshow to the wiki. You can provide the GND ID, but you do not have to. If you do not provide the GND ID, the extension tries to retrieve the GND ID based on the Wikidata ID via the "Wikidata ID" property. You need to have Semantic MediaWiki installed for this feature of the extension to work. You can also directly provide a GND ID like #gndshow:280275-2. Both ways will result in a table shown below:

 
Screenshot of the extension GNDShow

See also

edit