Extension:Wikibase

(Redirected from Wikibase/Extension)
MediaWiki extensions manual
Wikibase
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
Quarterly downloads 216 (Ranked 27th)
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.

Releasing

edit

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

edit
  • 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.)
  • 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.
  •   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: