LinkedWiki-Mediawiki Extension: Difference between revisions

From artserver wiki
(Created page with "{{#set: Section=Code_Notes| Date=2020}}")
 
No edit summary
Line 1: Line 1:
{{#set: Section=Code_Notes|
{{#set: Section=Code_Notes|
Date=2020}}
Date=2020}}
* 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 LinkedData
cd LinkedData
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

Revision as of 10:53, 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 LinkedData
cd LinkedData

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