PHPackages                             mediawiki/semantic-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. mediawiki/semantic-bundle

ActiveMediawiki-extension[Utility &amp; Helpers](/categories/utility)

mediawiki/semantic-bundle
=========================

Bundle extension that installs and loads Semantic MediaWiki and associated extensions

6.1.0(1y ago)204.4k↓50%3[3 issues](https://github.com/SemanticMediaWiki/SemanticBundle/issues)GPL-2.0-or-laterPHPPHP &gt;=7.4CI failing

Since Sep 3Pushed 1y ago5 watchersCompare

[ Source](https://github.com/SemanticMediaWiki/SemanticBundle)[ Packagist](https://packagist.org/packages/mediawiki/semantic-bundle)[ Docs](https://github.com/ProfessionalWiki/SemanticBundle)[ GitHub Sponsors](https://github.com/JeroenDeDauw)[ GitHub Sponsors](https://github.com/[user1)[ RSS](/packages/mediawiki-semantic-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (9)Versions (13)Used By (0)

Semantic Bundle
===============

[](#semantic-bundle)

[![Latest Stable Version](https://camo.githubusercontent.com/a6863dbda31837737ad33a37debf1776f002b4e25db3a0e0be64a3c520872a4d/68747470733a2f2f706f7365722e707567782e6f72672f6d6564696177696b692f73656d616e7469632d62756e646c652f762f737461626c65)](https://packagist.org/packages/mediawiki/semantic-bundlef)[![Download count](https://camo.githubusercontent.com/493f223f73c0c3b591c03581634aab5861b3061a06c10aab461a7b3349ef4fca/68747470733a2f2f706f7365722e707567782e6f72672f6d6564696177696b692f73656d616e7469632d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/mediawiki/semantic-bundle)[![License](https://camo.githubusercontent.com/fc7e8f88821fdb97c9cccf914e7a92ea4e4a3a039bdba8963ff1a077bf37f4d2/68747470733a2f2f706f7365722e707567782e6f72672f6d6564696177696b692f73656d616e7469632d62756e646c652f6c6963656e7365)](COPYING)

Bundle extension that installs and loads Semantic MediaWiki and associated extensions.

This bundle is for everyone who wants to get the full Semantic MediaWiki experience without individually install all extensions or figure out what those extensions are in the first place.

Semantic Bundle is maintained by [Professional Wiki](https://professional.wiki/). Contact us for [MediaWiki development](https://professional.wiki/en/mediawiki-development), [managed wiki hosting](https://professional.wiki/en/hosting), or [MediaWiki support](https://professional.wiki/en/professional-mediawiki-support), including [Semantic MediaWiki support](https://professional.wiki/en/semantic-mediawiki-services).

Bundled extensions
------------------

[](#bundled-extensions)

- **[Semantic MediaWiki](https://www.mediawiki.org/wiki/Extension:Semantic_MediaWiki)** – Allows storing structured data in pages and querying it
- **[Semantic Compound Queries](https://www.mediawiki.org/wiki/Extension:Semantic_Compound_Queries)** – Provides a parser function that displays multiple semantic queries at the same time
- **[Semantic Extra Special Properties](https://www.mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties)** – Adds extra special properties to all pages
- **[Semantic Result Formats](https://www.mediawiki.org/wiki/Extension:Semantic_Result_Formats)** – Provides additional formats for semantic queries
- **[Maps](https://www.mediawiki.org/wiki/Extension:Maps)** – Allows embedding of dynamic maps, geocoding, and geospatial operations
- **[Mermaid](https://www.mediawiki.org/wiki/Extension:Mermaid)** – Provides a parser function to generate diagrams and flowcharts with the help of the mermaid script language
- **[Modern Timeline](https://www.mediawiki.org/wiki/Extension:Modern_Timeline)** – Provides a modern timeline visualization for Semantic MediaWiki as a result format
- **[Page Forms](https://www.mediawiki.org/wiki/Extension:Page_Forms)** – Allows editing pages via user-defined forms

Only in Semantic Bundle 5.0 and earlier:

- **[Semantic Breadcrumb Links](https://www.mediawiki.org/wiki/Extension:Semantic_Breadcrumb_Links)** – Allows building breadcrumb links using semantic annotations
- **[Semantic Cite](https://www.mediawiki.org/wiki/Extension:Semantic_Cite)** – Allows managing citation resources using semantic annotations
- **[Semantic Interlanguage Links](https://www.mediawiki.org/wiki/Extension:Semantic_Interlanguage_Links)** – Allows creating and managing interlanguage links with semantic annotations
- **[Semantic Meta Tags](https://www.mediawiki.org/wiki/Extension:Semantic_Meta_Tags)** – Allows extending the meta elements in the HTML header of a page with content generated from semantic annotations

Semantic Bundle Versions
------------------------

[](#semantic-bundle-versions)

  Semantic Bundle Supported PHP Supported MediaWiki Bundled SMW   **6.1.0** 7.4 - 8.2 1.35 - 1.41 ~4.2.0   **6.0.0** 7.4 - 8.1 1.35 - 1.38 ~4.0.1   **5.0.0** 7.1 - 7.4 1.31 - 1.35 ~3.2.0 Installation
------------

[](#installation)

Semantic Bundle is installed using [Composer](https://getcomposer.org) with [MediaWiki's built-in support for Composer](https://www.mediawiki.org/wiki/Composer).

### Step 1/3: composer update

[](#step-13-composer-update)

Change to the base directory of your MediaWiki installation and execute these two commands:

```
COMPOSER=composer.local.json composer require --no-update mediawiki/semantic-bundle:~6.1

```

```
composer update mediawiki/semantic-bundle --no-dev -o

```

### Step 2/3: modify LocalSettings.php

[](#step-23-modify-localsettingsphp)

Add the following two lines to the end of your ["LocalSettings.php" file](https://www.mediawiki.org/wiki/Manual:LocalSettings.php):

```
require_once __DIR__ . '/extensions/SemanticBundle/SemanticBundle.php';
enableSemantics( 'example.org' );
```

Update the `enableSemantics` line with your domain name. For more information, see the [enableSemantics documentation](https://www.semantic-mediawiki.org/wiki/Help:EnableSemantics).

### Step 3/3: run update.php

[](#step-33-run-updatephp)

Run the [update.php script](https://www.mediawiki.org/wiki/Manual:Update.php)from the base directory of your MediaWiki installation:

```
php maintenance/update.php

```

### Verify everything went alright

[](#verify-everything-went-alright)

Check the "Special:Version" page on your wiki. If it lists Semantic MediaWiki, the installation was successful.

Finally, please consider [sponsoring the project](https://github.com/sponsors/JeroenDeDauw).

How this works
--------------

[](#how-this-works)

This section provides extra background to people familiar with the MediaWiki extension registration mechanism. Understanding that it is not required to use Semantic Bundle.

Semantic Bundle pulls all relevant Semantic MediaWiki extensions via Composer by defining them as dependencies in its `require` section. By including `SemanticBundle.php`, you enable these extensions since `SemanticBundle.php` calls `wfLoadExtensions`, just like you would have if you had installed them individually.

If you want only to load some of the extensions, you can call `wfLoadExtensions` yourself instead of including `SemanticBundle.php`.

Update/version policy
---------------------

[](#updateversion-policy)

Like these included extensions, Semantic Bundle follows [semantic versioning](https://semver.org/). This means that we avoid breaking changes in all but our major versions.

In other words, if you install version `~42.0` of Semantic Bundle, you can run `composer update` at any later time without worrying a breaking change will be included. No extensions will be removed, no extensions will be added, and no extensions will be upgraded to a new version with breaking changes.

To get the latest set of extensions included by Semantic Bundle, make sure your "composer.local.json" file contains the latest version of the Semantic Bundle.

Version history
---------------

[](#version-history)

### Semantic Bundle 6.1.0 (2024-07-25)

[](#semantic-bundle-610-2024-07-25)

- Added support for PHP 8.2
- Added support for MediaWiki 1.39 up to 1.41
- Upgraded Semantic MediaWiki from ^4.0.1 to ^4.2.0
- Upgraded Semantic Result Formats from ^4.0.1 to ^4.2.0
- Upgraded Semantic Extra Special Properties from ^3.0.1 to ^3.0.5
- Upgraded Maps from ^9.0.7 to ^10.2.0
- Upgraded Page Forms ^5.0.0 to 5.6.3

### Semantic Bundle 6.0.1 (2022-04-09)

[](#semantic-bundle-601-2022-04-09)

- Fixed loading of Semantic MediaWiki

### Semantic Bundle 6.0.0 (2022-04-08)

[](#semantic-bundle-600-2022-04-08)

- Raised minimum PHP version from 7.1 to 7.4 and added support for PHP 8.0
- Raised minimum MediaWiki version from 1.31 to 1.35 and added support for MediaWiki 1.36 up to 1.38
- Removed Semantic Breadcrumb Links
- Removed Semantic Cite
- Removed Semantic Interlanguage Links
- Removed Semantic Meta Tags
- Upgraded Semantic MediaWiki from ^3.2 to ^4.0.1
- Upgraded Semantic Result Formats from ^3.0 to ^4.0.1
- Upgraded Maps from ^7.20.1 to ^9.0.7
- Upgraded Mermaid from ^2.1.1 to ^3.1.0
- Upgraded Semantic Extra Special Properties from ^2.0 to ^3.0.1

### Semantic Bundle 5.0.0 (2021-08-05)

[](#semantic-bundle-500-2021-08-05)

- Upgraded Page Forms from ~4.6 to ~5.0

### Semantic Bundle 4.0.0 (2020-11-02)

[](#semantic-bundle-400-2020-11-02)

- Removed Semantic Glossary

### Semantic Bundle 3.2.0 (2020-09-13)

[](#semantic-bundle-320-2020-09-13)

- Upgraded Semantic MediaWiki from ~3.1.0 to ~3.2.0

### Semantic Bundle 3.1.2 (2020-03-17)

[](#semantic-bundle-312-2020-03-17)

- Fixed defect in 3.1.1 that made Composer ignore that release

### Semantic Bundle 3.1.1 (2020-03-15)

[](#semantic-bundle-311-2020-03-15)

- Fixed compatibility with MediaWiki 1.31 (by preventing the installation of Mermaid newer than 2.0.x)

### Semantic Bundle 3.1.0 (2020-01-26)

[](#semantic-bundle-310-2020-01-26)

- Upgraded Maps from ~7.4.0 to ~7.15

### Semantic Bundle 3.0.1 (2019-10-29)

[](#semantic-bundle-301-2019-10-29)

- Fixed double loading of Semantic MediaWiki that happened in some cases

### Semantic Bundle 3.0.0 (2019-09-24)

[](#semantic-bundle-300-2019-09-24)

- Upgraded Semantic MediaWiki from ~3.0.0 to ~3.1.0

### Semantic Bundle 2.0.0 (2019-09-09)

[](#semantic-bundle-200-2019-09-09)

- Upgraded Semantic Interlanguage Links from ~1.5 to ~2.0

### Semantic Bundle 1.0.0 (2019-09-05)

[](#semantic-bundle-100-2019-09-05)

- Initial release for MediaWiki 1.31.x and Semantic MediaWiki 3.0.x

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 71.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~162 days

Recently: every ~340 days

Total

12

Last Release

662d ago

Major Versions

1.0.0 → 2.0.02019-09-09

2.0.0 → 3.0.02019-09-24

3.2.0 → 4.0.02020-11-03

4.0.0 → 5.0.02021-08-05

5.0.0 → 6.0.02022-04-08

PHP version history (2 changes)1.0.0PHP &gt;=7.1

6.0.0PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/451bd4039d530fed8f9c3da91bfa519233a397d2182cdfdcad700f6cfea19b7f?d=identicon)[Jeroen De Dauw](/maintainers/Jeroen%20De%20Dauw)

![](https://avatars.githubusercontent.com/u/22235?v=4)[Stefan Wasilewski](/maintainers/SMW)[@smw](https://github.com/smw)

![](https://www.gravatar.com/avatar/372f9bc1233d5518b9522cb681210a8de2765a3a9bbde20138f6ad5332a411ca?d=identicon)[mwjames](/maintainers/mwjames)

![](https://avatars.githubusercontent.com/u/1104078?v=4)[Karsten Hoffmeyer](/maintainers/kghbln)[@kghbln](https://github.com/kghbln)

---

Top Contributors

[![JeroenDeDauw](https://avatars.githubusercontent.com/u/146040?v=4)](https://github.com/JeroenDeDauw "JeroenDeDauw (76 commits)")[![kghbln](https://avatars.githubusercontent.com/u/1104078?v=4)](https://github.com/kghbln "kghbln (20 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (8 commits)")[![CholoTook](https://avatars.githubusercontent.com/u/55913678?v=4)](https://github.com/CholoTook "CholoTook (1 commits)")[![Universal-Omega](https://avatars.githubusercontent.com/u/54654040?v=4)](https://github.com/Universal-Omega "Universal-Omega (1 commits)")

---

Tags

bundlemediawikimediawiki-extensionmediawiki-installationsemanticsemantic-mediawikismwmediawikimapstimelinewikistructured-datamermaidciteSemantic MediaWikiglossaryluaSemantic FormsPage FormsResult formatknowledge managementsemantic meta tagsextra special propertiescompound queriesbreadcrumb linksinterlanguage links

### Embed Badge

![Health badge](/badges/mediawiki-semantic-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/mediawiki-semantic-bundle/health.svg)](https://phpackages.com/packages/mediawiki-semantic-bundle)
```

###  Alternatives

[mediawiki/semantic-glossary

A terminology markup extension with a Semantic MediaWiki back-end

1352.4k](/packages/mediawiki-semantic-glossary)[professional-wiki/modern-timeline

Adds a modern timeline visualization as Semantic MediaWiki result format

1820.8k1](/packages/professional-wiki-modern-timeline)[mediawiki/semantic-scribunto

A Semantic Mediawiki extension to natively support the Scribunto extension

2967.5k](/packages/mediawiki-semantic-scribunto)[mediawiki/maps

Adds various mapping features to MediaWiki

84145.0k3](/packages/mediawiki-maps)[mediawiki/semantic-cite

A Semantic MediaWiki extension to manage citation resources.

2310.2k1](/packages/mediawiki-semantic-cite)[mediawiki/semantic-extra-special-properties

Provides extra special properties for Semantic MediaWiki

3074.6k1](/packages/mediawiki-semantic-extra-special-properties)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
