Extension:Semantic MediaWiki

From MediaWiki.org
(Redirected from Semantic MediaWiki)
Jump to: navigation, search
shortcut: SMW
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png
Semantic MediaWiki

Release status:Extension status stable

SemanticMediaWiki Logo.png
ImplementationTemplate:Extension#type Link markup, Tag, Extended syntax, Search, Special page, Data extraction
DescriptionTemplate:Extension#description Allows users to add structured data to wiki pages through simple wikitext markup that turns links to other pages and data values in a page into meaningful properties. With this information, SMW helps to search, organize, browse, evaluate, and share the wiki's content.
Author(s)Template:Extension#username Markus Krötzsch, Jeroen De Dauw, James Hong Kong and others
Latest versionTemplate:Extension#version 2.5.4 (2017-08-07)
MediaWikiTemplate:Extension#mediawiki 1.23+ (1.27+ recommended)
PHPTemplate:Extension#php 5.5+
Database changesTemplate:Extension#needs-updatephp Yes
ComposerComposer mediawiki/semantic-media-wiki
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
Installation guide
ExampleTemplate:Extension#example Berlin page on semantic-mediawiki.org

See the page on configuration parameters on semantic-mediawiki.org

Added rightsTemplate:Extension#rights
  • smw-admin
  • smw-curator
Hooks usedTemplate:Extension#hook

Translate the Semantic MediaWiki extension if it is available at translatewiki.net

Check usage and version matrix.

Semantic MediaWiki (SMW) is an extension for managing structured data in your wiki and for querying that data to create dynamic representations: tables, timelines, maps, lists, etc. The actual homepage of Semantic MediaWiki, including user documentation in multiple languages, is semantic-mediawiki.org. There are various other pages in the MediaWiki and Wikipedia space related to SMW, but the homepage is the most up-to-date source of information.

There are a large number of "spinoff" extensions that require the presence of Semantic MediaWiki; see the category Semantic MediaWiki extensions for the full list (some of these extensions are obsolete).

Download and Installation[edit]

The respective instructions are located on the help page about installing Semantic MediaWiki.

Please refer to the extension's homepage for information on how to obtain this extension. Using the extension distributor of mediawiki.org for this purpose is strongly discouraged.
Make sure to set "Compatibility Mode"

If your wiki has also Cargo or Wikibase installed you need add the following to your "LocalSettings.php" file to have Semantic MediaWiki work:
$smwgEnabledCompatibilityMode = true;

External links[edit]

See also[edit]

  • Wikibase (allows to represent and manipulate structured data as part of the Wikidata project)
  • DynamicPageList (allows to extract data from articles, especially template variables, current version)
  • WikiDB (provides database features, somewhat similar to semantic properties)
  • Cargo (allows for the storage and querying of data contained within templates)