LinkedWiki-Mediawiki Extension
- Extension Link: https://www.mediawiki.org/wiki/Extension:LinkedWiki
The LinkedWiki extension lets you reuse Linked Data in your wiki. You can get data from Wikidata or another source directly with a SPARQL query. This extension also provides Lua functions for building your modules so that you can write your data in your RDF database.
installation
You will need to install yarn , I have followed the instructions in https://classic.yarnpkg.com/en/docs/install/#debian-stable which as I have problems with the yarn packed from the Debian Stable apt source.
cd extensions git clone https://github.com/wikimedia/mediawiki-extensions-LinkedWiki.git LinkedWiki cd LinkedWiki
Install composer (locally). I prefer not to have composer installed system wide, so I will install it in the LinkedData extension dir.
curl -sS https://getcomposer.org/installer | php
Run composer install, to install the dependencies
php composer.phar install --no-dev
And finally run yarn install:
yarn install --production=true
Load the extension in LocalSettings.php, by adding to it:
wfLoadExtension( 'LinkedWiki' );