< Wikibase
This page describes how the Wikibase
software can be extended.From JavaScript
See the available JavaScript hooks.
Many examples of user scriptsWikidata:Tools/Enhance user interface.
using these hooks can be found atVia PHP
Wikibase consists of two extensions Wikibase Repository
and Wikibase Client . Both can be extended by {{ll|Manual:Extensions|MediaWiki extensions}} via {{ll|Manual:Hooks|hooks}}.See the available PHP hooks.
Implementing a new data type
You need two hooks:
- WikibaseRepoDataTypes - to hook into the Wikibase Repository extension
- WikibaseClientDataTypes - to hook into the Wikibase Client extension
See also the Datatypes description of the developer documentation.
For some examples of extensions using these hooks refer to:
- WikibaseLexeme
- Math
- Score
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.