Extension:GNDShow

Category:Extensions without an imageCategory:Extensions without a compatibility policyCategory:MIT licensed extensions
MediaWiki extensions manual
GNDShow
Release status: betaCategory:Beta status extensions
Implementation Parser function Category:Parser function extensions
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+Category:Extensions with manual MediaWiki version
Database changes No
License MIT License
Download Category:Extensions in GitHub version control
README
Example schularchive.bbf.dipf.de
Category:All extensionsCategory:Extensions not in ExtensionJson

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

  • 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' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Usage

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

Category:All extensions Category:Beta status extensions Category:Extensions in GitHub version control Category:Extensions not in ExtensionJson Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:Extensions without an image Category:MIT licensed extensions Category:ParserFirstCallInit extensions Category:Parser function extensions