Extension:WikibaseLexeme

From Linux Web Expert

Revision as of 09:24, 1 January 2024 by imported>Clump (Reverted edits by 27.125.249.182 (talk) to last version by Kghbln)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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