Wikibase/Installation

Installation using Composer
The easiest way to install Wikibase is to use Composer to install all the dependencies.

First [//getcomposer.org/download get composer] by following [//getcomposer.org/doc/00-intro.md it's installation guide].

Next clone the Wikibase Repository in the extensions folder of your MediaWiki installation:

Then run composer inside the folder of your Wikibase installation to get all dependencies:

If you plan to contribute to Wikibase and its components run the following command instead to also get the sources of the components:

After that adjust your LocalSettings.php to enable Wikibase. In order to enable a Wikibase Repository, insert the following:

To enable a Wikibase Client, insert the following instead: Please note that it is currently not possible to enable Repository and Client on the same MediaWiki instance simultaneously.

You then need to run the database update script:

And finally populate the sites table:

Note: If you're installing a client you'll need to populate the interwiki table too:

That's it! Wikibase should now be installed in your MediaWiki.