Jump to content

Extension:WikibaseLexeme

From mediawiki.org
MediaWiki extensions manual
WikibaseLexeme
Release status: stable
Description Allows storing and modifying the structured lexicographic data in the Wikibase instance.
Author(s) The Wikidata team
Latest version continuous updates
MediaWiki >= 1.43
Database changes Yes
License GNU General Public License 2.0 or later
Download
readme
  • $wgLexemeLanguageCodePropertyId
  • $wgLexemeLexicalCategoryItemIds
  • $wgLexemeEnableRepo
  • $wgLexemeNamespace
  • $wgLexemeEnableDataTransclusion
Quarterly downloads 7 (Ranked 129th)
Public wikis using 826 (Ranked 313rd)
Translate the WikibaseLexeme extension
Issues Open tasks · Report a bug

The Wikibase Lexeme extension provides improved modeling for lexical entities such as words and phrases. While it would be theoretically possible to model these things using Items, a more expressive specialized model helps to reduce complexity, and improve re-use and mappings to other vocabularies.

See also: Extension:WikibaseLexeme/Data Model

Requirements

Wikibase must be installed.

Installation

  • Download and move the extracted WikibaseLexeme folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/WikibaseLexeme
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'WikibaseLexeme' );
    
  • Define a namespace for Lexeme entities
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

See also