Extension:Wikidata build

Wikidata is using a build with Wikibase and it's dependencies packaged into one git repo. 

Installation

 * clone the git repo into the mediawiki extensions directory

Add the following line to your LocalSettings.php

This entry point in turn loads all other entry points

Configuration
Wikibase itself needs to be configured, with appropriate settings. See the below links:


 * Extension:Wikibase Repository
 * Extension:Wikibase Client

Using this repo provides extra options to allow you to choose to deploy the Repo and/or Client.

Maintenance scripts
The Maintenance scripts help within this repo will not work if you do not have the environment variable **MW_INSTALL_PATH** defined.

If you do not and can not define this variable please use the **runScript.php** maintenance script within mediawiki core (see comments in that file for instructions)

Make a build
Making a Wikidata build requires composer to be installed on the system. 


 * run build.sh that is provided

The script clones Wikibase, init submodules in Wikibase-- easyRdf, and runs composer install to pull in dependencies of Wikibase. The vendor directory gets committed here so that composer is not needed to actually make use the build.