Extension:Wikibase Repository

Category:Extensions without an imageCategory:GPL licensed extensions
MediaWiki extensions manual
Wikibase Repository
Release status: stableCategory:Stable extensions
Implementation API Category:API extensions, AjaxCategory:Ajax extensions, User interfaceCategory:User interface extensions, ContentHandler Category:ContentHandler extensions
Description Structured data repository
Author(s) The Wikidata team
(contributors list)
Latest version continuous updates
Compatibility policy Snapshots releases along with MediaWiki. Master is not backward compatible.Category:Extensions with release branches compatibility policy
MediaWiki masterCategory:Extensions with manual MediaWiki version
Database changes Yes
Tables wbt_item_terms
wbt_property_terms
wbt_term_in_lang
wbt_text_in_lang
wbt_text
wbt_type
wb_changes
wb_changes_subscriptions
wb_id_counters
wb_items_per_site
wb_property_info
License GNU General Public License 2.0 or later
Download Category:Extensions in Wikimedia version control
readme
Translate the Wikibase Repository extension
Issues Open tasks · Report a bug
Category:All extensionsCategory:Extensions not in ExtensionJson

Wikibase Repository is part of Wikibase. Wikibase Repository allows you to use your wiki as a structured data repository. Its development is part of the Wikidata project. The data can in turn be used in a wiki using the Wikibase Client extension.

Installation

See the basic installation instructions. For experienced configuration options see Advanced Configuration.

A complete documentation exists in the docs folder for Wikibase, and is published to the Wikimedia documentation site.

Integration with other extensions

Wikibase makes use of the following if they are installed:

If installed and JavaScript is supported by the user client / browser, labels, aliases and descriptions will be shown to the user in frequently used languages in addition to the user interface language. (These languages are acquired from mw.uls.getFrequentLanguageList().)
If installed, logged-in users are able to define additional languages that labels, aliases and descriptions are shown in by specifying languages on their user pages using the Babel syntax.

Available hooks

The documentation of the available PHP and JavaScript hooks can be found in here:

For more information see Wikibase/Developing extensions.

Database

Term store

wbt_item_terms

  • wbit_id BIGINT
  • wbit_item_id INT
  • wbit_term_in_lang_id INT

wbt_property_terms

  • wbpt_id INT
  • wbpt_property_id INT
  • wbpt_term_in_lang_id INT

wbt_term_in_lang

  • wbtl_id INT
  • wbtl_type_id INT
  • wbtl_text_in_lang_id INT

wbt_text_in_lang

  • wbxl_id INT
  • wbxl_language VARBINARY(20)
  • wbxl_text_id INT

wbt_text

  • wbx_id INT
  • wbx_text VARBINARY(255)

wbt_type

  • wby_id INT
  • wby_name VARBINARY(45)

Misc

wb_id_counters

  • id_value INT
  • id_type VARBINARY(32)

wb_items_per_site

  • ips_row_id BIGINT
  • ips_item_id INT
  • ips_site_id VARBINARY(32)
  • ips_site_page VARCHAR(310)

wb_property_info

  • pi_property_id INT
  • pi_type VARBINARY(32)
  • pi_info BLOB

See the automated documentation

See also

Category:Extensions used on Wikimedia#Wikibase%20Repository Category:Wikibase extensions
Category:APIQuerySiteInfoGeneralInfo extensions Category:APIQuerySiteInfoStatisticsInfo extensions Category:API extensions Category:AbuseFilter-contentToString extensions Category:Ajax extensions Category:All extensions Category:ApiCheckCanExecute extensions Category:ApiMaxLagInfo extensions Category:ApiQuery::moduleManager extensions Category:ArticleDeleteComplete extensions Category:ArticleUndelete extensions Category:BeforeDisplayNoArticleText extensions Category:BeforePageDisplayMobile extensions Category:BeforePageDisplay extensions Category:ChangesListInitRows extensions Category:ContentHandler extensions Category:ContentModelCanBeUsedOn extensions Category:EditFilterMergedContent extensions Category:Extensions in Wikimedia version control Category:Extensions included in Miraheze Category:Extensions included in ProWiki Category:Extensions included in WikiForge Category:Extensions not in ExtensionJson Category:Extensions used on Wikimedia Category:Extensions which add rights Category:Extensions with manual MediaWiki version Category:Extensions with release branches compatibility policy Category:Extensions without an image Category:FormatAutocomments extensions Category:GPL licensed extensions Category:GetPreferences extensions Category:HtmlPageLinkRendererBegin extensions Category:ImportHandleRevisionXMLTag extensions Category:InfoAction extensions Category:LoadExtensionSchemaUpdates extensions Category:MediaWikiServices extensions Category:NamespaceIsMovable extensions Category:OutputPageBeforeHTML extensions Category:OutputPageBodyAttributes extensions Category:OutputPageParserOutput extensions Category:PageHistoryLineEnding extensions Category:ParserFirstCallInit extensions Category:ParserOptionsRegister extensions Category:RecentChange save extensions Category:RejectParserCacheValue extensions Category:ResourceLoaderRegisterModules extensions Category:RevisionFromEditComplete extensions Category:SetupAfterCache extensions Category:ShowSearchHitTitle extensions Category:ShowSearchHit extensions Category:SidebarBeforeOutput extensions Category:SkinTemplateNavigation::Universal extensions Category:Stable extensions Category:TitleGetRestrictionTypes extensions Category:UnitTestsList extensions Category:User interface extensions Category:WikibaseRepoEntityTypes extensions Category:WikibaseTextForSearchIndex extensions Category:Wikibase extensions