Extension:Wikibase
Appearance
From mediawiki.org
Release status: stable |
|
---|---|
Implementation | Database |
Description | Link different language versions of a page by using the page title. |
Author(s) | Wikimedia Germany |
Latest version | Continuous updates |
MediaWiki | |
License | No license specified |
Download | |
Translate the Wikibase extension if it is available at translatewiki.net | |
Issues | Open tasks · (3rd party installations) Report a bug |
Wikibase is a collection of software (applications and libraries) for creating, managing and sharing structured data.
This page specifically talks about the Wikibase MediaWiki extension.
Just installing the MediaWiki extension will not provide you with other elements of the Wikibase software toolbox, such as a query service, quickstatements etc.
Releasing
[edit ]The Wikibase MediaWiki extension receives continuous updates as it is deployed on Wikimedia hosted sites via the normal REL_
branches, tags and downloads.
Wikimedia Germany also makes regular releases of this extension as part of Wikibase/Suite, in the form of OCI (Docker) container images.
Installation
[edit ]- Download and move the extracted
Wikibase
folder to yourextensions/
directory.
Developers and code contributors should install the extension from Git instead, using:cdextensions/ gitclone--recurse-submoduleshttps://gerrit.wikimedia.org/r/mediawiki/extensions/Wikibase
- Only when installing from Git, run Composer to install PHP dependencies, by issuing
composer install --no-dev
in the extension directory. (See T173141 for potential complications.) - Add the following code at the bottom of your LocalSettings.php file:
# Load Wikibase Repository wfLoadExtension( 'WikibaseRepository', "$IP/extensions/Wikibase/extension-repo.json" ); require_once "$IP/extensions/Wikibase/repo/ExampleSettings.php"; # Load Wikibase Client wfLoadExtension( 'WikibaseClient', "$IP/extensions/Wikibase/extension-client.json" ); require_once "$IP/extensions/Wikibase/client/ExampleSettings.php";
- Run the update script which will automatically create the necessary database tables that this extension needs.
- Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Advanced
[edit ]You can find more advanced, but not necessarily up to date configuration below:
- Wikibase/Installation
- Wikibase/Installation/Advanced_configuration
- Wikibase/Configuration
- Wikibase/Programmer's_guide_to_Wikibase
This extension is being used on one or more Wikimedia projects. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia's CommonSettings.php and InitialiseSettings.php configuration files to see where it's installed. A full list of the extensions installed on a particular wiki can be seen on the wiki's Special:Version page.