Wikibase/Installation/fr

This page provides step-by-step instructions for installing a basic, minimal version of Wikibase. If you're interested in more advanced configurations, please refer to the advanced configuration guide. More detailed documentation bound to each version of the code can be found in the docs folder of the Wikibase source repository: see doc.wikimedia.org.

MediaWiki
Since Wikibase is an extension (actually two extensions) to MediaWiki, you'll first need to set up MediaWiki.

Composer
The easiest way to install all dependencies for Wikibase is to use Composer. Install Composer using these instructions.

Installation
L'installation basique de Wikibase comprend quatre étapes :
 * 1) Obtenir Wikibase
 * 2) Installer les dépendances
 * 3) Modifier LocalSettings.php
 * 4) Exécuter les scripts de maintenance

Le guide suivant va vous conduire au travers de ces étapes.



Avant de commencer
Make sure you've set up MediaWiki and installed Composer.



Obtenir Wikibase
Determine which version of Mediawiki you have by navigating to ; use the Wikibase release corresponding to your MediaWiki version.

If you have the latest version of Mediawiki, download the latest version of Wikibase (or the version matching your Mediawiki installation) into the  folder of your MediaWiki installation.



Installer les dépendances
Thanks to the composer-merge-plugin, you can simply rename the  file in the root of your MediaWiki install directory to.

Puis à partir de la racine de votre installation MediaWiki, exécutez :

Puis, en supposant que composer est disponible comme binaire :



For repositories whose version numbers are 1.36+
If you intend to run a wiki where Wikibase entries are edited, then you want a Wikibase repository and should include the following in your 'LocalSettings.php'.

For clients whose version numbers are 1.36+
If you intend to run a wiki which takes data from a different wiki instance where the entries are created, then you want a Wikibase client and should include the following in your 'LocalSettings.php'.

For repositories whose version numbers are 1.36 or lower
If you intend to run a wiki where Wikibase entries are edited, then you want a Wikibase repository and should include the following in your 'LocalSettings.php'.

For clients whose version numbers are 1.36 or lower
If you intend to run a wiki which takes data from a different wiki instance where the entries are created, then you want a Wikibase client and should include the following in your 'LocalSettings.php'.



Exécuter les scripts de maintenance
En fin, exécuter quelques scripts de maintenance -- parmi eux le script de mise à jour de la base de données et les scripts qui remplissent la table des sites ainsi que la table interwiki.



Vérifier l'installation

 * Navigate to the  page in your MediaWiki and create your first Item. Saisissez une étiquette, une description facultative,  des alias et cliquez sur Create pour créer. Vous devriez être redirigé vers la page de l'élément.


 * Vérifiez qu'il existe un élément Add links pour ajouter des liens, dans la section des liens de langue de la barre latérale, sur la page d'accueil.

Références
Fichier README de Wikibase