Actions

Difference between revisions of "LinkedWiki-Mediawiki Extension"

From /oooooooooo.io/

Line 11: Line 11:
  
 
  cd extensions
 
  cd extensions
  git clone https://github.com/wikimedia/mediawiki-extensions-LinkedWiki.git LinkedData
+
  git clone https://github.com/wikimedia/mediawiki-extensions-LinkedWiki.git LinkedWiki
  cd LinkedData
+
  cd LinkedWiki
  
 
Install composer (locally). I prefer not to have composer installed system wide, so I will install it in the LinkedData extension dir.
 
Install composer (locally). I prefer not to have composer installed system wide, so I will install it in the LinkedData extension dir.

Revision as of 11:28, 15 May 2020


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' );
Code_Notes +
Date"Date" is a type and predefined property provided by Semantic MediaWiki to represent date values.
2020 +