Extension:Semantic MediaWiki

From MediaWiki.org
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.4.3 (2016-11-28)
MediaWikiTemplate:Extension#mediawiki 1.19+ (1.25+ recommended)
PHPTemplate:Extension#php 5.3+
Database changesTemplate:Extension#needs-updatephp Yes
ComposerComposer mediawiki/semantic-media-wiki
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
Download
Installation guide
README
RELEASE NOTES
ExampleTemplate:Extension#example Berlin page on semantic-mediawiki.org
ParametersTemplate:Extension#parameters

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

Added rightsTemplate:Extension#rights
  • smw-admin
  • smw-curator
Hooks usedTemplate:Extension#hook
ParserTestTablesManual:Hooks/ParserTestTables
InternalParseBeforeLinksManual:Hooks/InternalParseBeforeLinks
ArticleDeleteManual:Hooks/ArticleDelete
TitleMoveCompleteManual:Hooks/TitleMoveComplete
LinksUpdateConstructedManual:Hooks/LinksUpdateConstructed
ParserAfterTidyManual:Hooks/ParserAfterTidy
NewRevisionFromEditCompleteManual:Hooks/NewRevisionFromEditComplete
OutputPageParserOutputManual:Hooks/OutputPageParserOutput
ArticleFromTitleManual:Hooks/ArticleFromTitle
ParserFirstCallInitManual:Hooks/ParserFirstCallInit
SkinTemplateToolboxEndManual:Hooks/SkinTemplateToolboxEnd
SkinAfterContentManual:Hooks/SkinAfterContent
AdminLinksManual:Hooks/AdminLinks
ExtensionTypesManual:Hooks/ExtensionTypes

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]

  • Wikidata - a project to get similar functionality onto Wikipedia
  • Semantic Bundle - a bundle of SMW-related extensions
Similar extensions