Extension:Semantic MediaWiki

From MediaWiki.org
(Redirected from Semantic MediaWiki)
Jump to navigation Jump to search
shortcut: SMW
MediaWiki extensions manual
Crystal Clear action run.svg
Semantic MediaWiki
Release status: stable
SemanticMediaWiki Logo.png
Implementation Link markup, Tag, Extended syntax, Search, Special page, Data extraction
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)
and others
Latest version 3.0.0 (2018-10-11; 37 days ago (2018-10-11))
MediaWiki 1.27 and later
PHP 5.6 and later
Database changes Yes
Composer mediawiki/semantic-media-wiki
License GNU General Public License 2.0 or later
Download
Installation guide
README
RELEASE NOTES
Example Berlin page on semantic-mediawiki.org
Parameters
See the page on configuration parameters on semantic-mediawiki.org
Added rights
  • smw-admin
  • smw-curator
Hooks used
ParserTestTables
InternalParseBeforeLinks
ArticleDelete
TitleMoveComplete
LinksUpdateConstructed
ParserAfterTidy
NewRevisionFromEditComplete
OutputPageParserOutput
ArticleFromTitle
ParserFirstCallInit
SkinTemplateToolboxEnd
SkinAfterContent
AdminLinks
ExtensionTypes
Translate the Semantic MediaWiki extension
Check usage and version matrix.

The Semantic MediaWiki (SMW) extension allows 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 www.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 may be obsolete).

Download and Installation[edit]

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

Make sure to set "Compatibility Mode"

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

External links[edit]

See also[edit]

  • Cargo – Allows for the storage and querying of data contained within templates
  • DynamicPageList – Allows to extract data from pages
  • WikiDB – Provides database features, somewhat similar to semantic properties
  • Wikibase – Allows to represent and manipulate structured data as part of the Wikidata project