擴充功能:Wikibase儲存庫

From mediawiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:Wikibase Repository and the translation is 60% complete.
Other languages:
Deutsch • ‎English • ‎Türkçe • ‎català • ‎español • ‎français • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎中文 • ‎日本語
快捷方式: WBR
MediaWiki擴充功能手冊
OOjs UI icon advanced.svg
Wikibase Repository
发布状态: 稳定版
实现 API , Ajax, 用户界面, ContentHandler
描述 結構化資料儲存庫
作者 The Wikidata team
(contributors list)
最新版本 continuous updates
兼容性方针 发行分支
MediaWiki master
数据庫更改
许可协议 GNU通用公眾授權條款2.0或更新版本
下载
readme
翻譯Wikibase Repository擴充功能
检查使用和版本矩阵。
问题 尚未完成的工作 · 回報錯誤

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.

安裝

参见基本安装指导。 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.

結合其他擴充功能

If installed, Wikibase makes use of:

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.

可用的钩子

PHP與JavaScript中可用的钩子的文件可以在這裡找到:

資料庫

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_items_per_site

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

wb_id_counters

  • id_value INT
  • id_type VARBINARY(32)

See the automated documentation

參見