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.42
Database changes Yes
Composer wikibase/lexeme
License GNU General Public License 2.0 or later
Download
readme
  • $wgLexemeLanguageCodePropertyId
  • $wgLexemeLexicalCategoryItemIds
  • $wgLexemeEnableRepo
  • $wgLexemeNamespace
  • $wgLexemeEnableDataTransclusion
Quarterly downloads 11 (Ranked 139th)
Public wikis using 826 (Ranked 312nd)
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[edit]

Wikibase must be installed.

Installation[edit]

  • 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[edit]