mediawiki / semantic-media-wiki
An extension to MediaWiki that lets you store and query structured data within wiki pages
Fund package maintenance!
Open Collective
www.semantic-mediawiki.org/wiki/Sponsorship
Installs: 304 600
Dependents: 47
Suggesters: 1
Security: 1
Stars: 516
Watchers: 49
Forks: 228
Open Issues: 252
Type:mediawiki-extension
Requires
- php: >=7.4
- ext-mbstring: *
- composer/installers: ^2.2.0|^1.0.1
- jeroen/file-fetcher: ^6|^5|^4.4
- justinrainbow/json-schema: ~5.2
- mediawiki/http-request: ~2.0|~1.1
- mediawiki/parser-hooks: ~1.4
- onoi/blob-store: ~1.2
- onoi/cache: ~1.2
- onoi/callback-container: ~2.0
- onoi/event-dispatcher: ~1.0
- onoi/message-reporter: ~1.0
- param-processor/param-processor: ~1.2
- psr/log: ~1.0
- seld/jsonlint: ^1.7
- serialization/serialization: ~3.2|~4.0
- symfony/css-selector: ^5|^4|^3.3
- wikimedia/cdb: ^3|^2|^1
- wikimedia/textcat: ^2|^1.1
Requires (Dev)
- mediawiki/mediawiki-codesniffer: 43.0.0
- mediawiki/minus-x: 1.1.3
- php-parallel-lint/php-console-highlighter: 1.0.0
- php-parallel-lint/php-parallel-lint: 1.4.0
- phpmd/phpmd: ~2.1
- squizlabs/php_codesniffer: ~3.5
Suggests
- mediawiki/semantic-result-formats: Provides additional result formats for queries of structured data
- dev-master / 4.x-dev
- 4.2.0
- 4.1.3
- 4.1.2
- 4.1.1
- 4.1.0
- 4.0.2
- 4.0.1
- 4.0.0
- 3.2.3
- 3.2.2
- 3.2.1
- 3.2.0
- 3.2.0-rc.2
- 3.2.0-rc.1
- 3.1.6
- 3.1.5
- 3.1.4
- 3.1.3
- 3.1.2
- 3.1.1
- 3.1.0
- 3.1.0-rc.1
- 3.0.x-dev
- 3.0.2
- 3.0.1
- 3.0.0
- 3.0.0-rc.2
- 3.0.0-rc.1
- 2.5.x-dev
- 2.5.8
- 2.5.7
- 2.5.6
- 2.5.5
- 2.5.4
- 2.5.3
- 2.5.2
- 2.5.1
- 2.5.0
- 2.5.0-rc.1
- 2.4.x-dev
- 2.4.6
- 2.4.5
- 2.4.4
- 2.4.3
- 2.4.2
- 2.4.1
- 2.4.0
- 2.4.0-RC1
- 2.3.x-dev
- 2.3.1
- 2.3.0
- 2.3.0-RC1
- 2.2.x-dev
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2.0
- 2.2.0-RC1
- 2.1.x-dev
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.1.0-RC1
- 2.0.x-dev
- 2.0
- 2.0-RC3
- 2.0-RC2
- 2.0-RC1
- 1.9.2
- 1.9.1.1
- 1.9.1
- 1.9.0.2
- 1.9.0.1
- 1.9
- 1.9-RC1
- 1.9beta1
- dev-rel500
- dev-DatabaseTestCase_deprecated
- dev-dependabot/composer/mediawiki/mediawiki-codesniffer-45.0.0
- dev-dependabot/composer/symfony/css-selector-tw-7.1.6
- dev-issue-4348
- dev-phpunit-working
- dev-nosetupcheck
- dev-malberts-patch-1
- dev-schemacontent
- dev-deprecated
- dev-scalar-types
- dev-bug-5083
- dev-logo-key
- dev-deprecations
- dev-compat
- dev-ConnRef
- dev-faceted-search
- dev-specialpagefactory
- dev-searchtable
- dev-result-formats-2.0
- dev-ns-cat-title
- dev-composer-load
- dev-tify-changeprop
- dev-pluggable-type
- dev-links-update
- dev-coverage
- dev-orphaned-tables
- dev-call-func
- dev-issue-3395
- dev-rem-sort-key
- dev-store-service
- dev-postgres-issue-3101
- dev-check-prep
- dev-sem-persistent-cache
- dev-test
- dev-tidy-pdata
- dev-phpdbg
- dev-encode
This package is auto-updated.
Last update: 2024-11-21 15:05:14 UTC
README
Semantic MediaWiki (a.k.a. SMW) is a free, open-source extension to MediaWiki – the wiki software that powers Wikipedia – that lets you store and query data within the wiki's pages.
Semantic MediaWiki is also a full-fledged framework with many spinoff extensions that can turn a wiki into a powerful and flexible knowledge management system. All data created within SMW can easily be published via the Semantic Web, allowing other systems to use this data seamlessly.
For a better understanding of how Semantic MediaWiki works, have a look at deployed in 5 min and the Sesame, Fuseki triplestore video, or browse the wiki for a more comprehensive introduction.
Requirements
Semantic MediaWiki requires MediaWiki and its dependencies, such as PHP.
Supported MediaWiki, PHP, and database versions depend on the version of Semantic MediaWiki. See the compatibility matrix for details.
Installation
The recommended way to install Semantic MediaWiki is by using Composer. See the detailed installation guide as well as the information on compatibility.
Documentation
Most of the documentation can be found on the Semantic MediaWiki wiki. A small core of documentation also comes bundled with the software itself. This documentation is minimalistic and less explanatory than what can be found on the SMW wiki. However, It is always kept up to date and applies to the version of the code it bundles with. The most critical files are linked below.
Support
Primary support channels:
- User mailing list - for user questions
- SMW chat room - for questions and developer discussions
- Issue tracker - for bug reports
Contributing
Many people have contributed to SMW. A list of people who have made contributions in the past can be found here or on the wiki for Semantic MediaWiki. The overview on how to contribute provides information on the different ways available to do so.
If you want to contribute work to the project, please subscribe to the developer's mailing list and have a look at the contribution guidelines.
- File an issue
- Submit a pull request
- Ask a question on the mailing list
Tests
This extension is tested using GitHub Actions for Continuous Integration (CI). Each time changes are pushed to the repository, GitHub Actions automatically runs a series of tests to ensure the code remains reliable and functional.
INFO: This repository contains submodules. Make sure to clone with
--recursive
option in Git.git clone --recursive <REPO>
If not done when cloning, it can be done by
git submodule init git submodule update
Step 1: Clone the Repository
Step 2: Ensure test container is running
This repository supports "docker-compose-ci" based CI and testing for MediaWiki extensions.
The "docker-compose-ci" repository has already been integrated into the Semantic MediaWiki repository as a Git submodule. It uses "Make" as main entry point and command line interface.
Ensure, you have Make
and Docker
installed:
make --version
docker --version
Step 3: Run lint, phpcs and tests
make ci
For more information about
- docker-compose-ci, see https://github.com/gesinn-it-pub/docker-compose-ci
- tests in Semantic MediaWiki in general, see the test documentation.
License
GNU General Public License, version 2 or later. The COPYING file explains SMW's copyright and license.