This page is a translated version of the page Extension:WikibaseLexeme and the translation is 7% complete.
MediaWiki extensions manual
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
  • $wgLexemeLanguageCodePropertyId
  • $wgLexemeLexicalCategoryItemIds
  • $wgLexemeEnableRepo
  • $wgLexemeNamespace
  • $wgLexemeEnableDataTransclusion
Quarterly downloads 14 (Ranked 124th)
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


Wikibase must be installed.


  • 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.