Extension:Wikibase

Category:Extensions without an imageCategory:Extensions without a compatibility policyCategory:Extensions with no license specified
MediaWiki extensions manual
Wikibase
Release status: stableCategory:Stable extensions
Implementation Database Category:Database extensions
Description Link different language versions of a page by using the page title.
Author(s) Wikimedia Germany
Latest version Continuous updates
MediaWiki Category:Extensions without MediaWiki version
License No license specified
Download Category:Extensions in Wikimedia version control
Quarterly downloads 162 (Ranked 28th)
Translate the Wikibase extension if it is available at translatewiki.net
Issues Open tasks · (3rd party installations) Report a bug
Category:All extensionsCategory:Extensions not in ExtensionJson

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.

Releasing

The Wikibase MediaWiki extension receives continuous updates as it is deployed on Wikimedia hosted sites.

Wikimedia Germany makes regular releases of this extension as part of Wikibase/Suite, in the form of OCI (Docker) container images.

Installation

  • Download and move the extracted Wikibase folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone --recurse-submodules https://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.)Category:Extensions requiring Composer with git
  • 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

You can find more advanced, but not necessarily up to date configuration below:

Category:Extensions used on Wikimedia#Wikibase
Category:All extensions Category:Database extensions Category:Extensions in Wikimedia version control Category:Extensions not in ExtensionJson Category:Extensions requiring Composer with git Category:Extensions used on Wikimedia Category:Extensions with no license specified Category:Extensions without MediaWiki version Category:Extensions without a compatibility policy Category:Extensions without an image Category:Stable extensions