MediaWiki extensions manual
WikibaseLexeme
Release status: stable
Description Wikibase extension to manage structured metadata of media files
Author(s) The Wikidata team
Latest version continuous updates
MediaWiki master
PHP 5.5.9+
Database changes Yes
Composer wikibase/lexeme
License GNU General Public License 2.0 or later
Download
readme
Parameters
  • $wgLexemeLanguageCodePropertyId
  • $wgLexemeLexicalCategoryItemIds
  • $wgLexemeEnableRepo
  • $wgLexemeNamespace
  • $wgLexemeEnableDataTransclusion
Hooks used
  • CanonicalNamespaces
  • InfoAction
  • ScribuntoExternalLibraries
  • WikibaseClientDataTypes
  • WikibaseClientEntityTypes
  • WikibaseContentLanguages
  • WikibaseRepoDataTypes
  • WikibaseRepoEntityNamespaces
  • WikibaseRepoEntityTypes
  • WikibaseRepoOnParserOutputUpdaterConstruction
Quarterly downloads 19 (Ranked 151st)
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

Wikibase must be installed.

Installation

  • Download and place the file(s) in a directory called WikibaseLexeme in your extensions/ folder.
  • 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

  • RDF Mapping
  • Data model
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.