Extension:WikibaseLexeme

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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 Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
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

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/WikibaseLexeme</tvar>|Download]] and move the extracted <tvar name=name>WikibaseLexeme</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/WikibaseLexeme
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'WikibaseLexeme' );
    
  • Define a namespace for Lexeme entities
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

See also