Install the Semantic Bundle extension

Semantic Bundle (abbreviated as SB) is a pre-packaged bundle of extensions for use with wikis that are based around the Semantic MediaWiki extension. It is a suitable alternative if you cannot run Composer to install or upgrade SMW (1.9+) and a number of other extensions that require Composer, such as Maps (3.0+).

Follow these steps:

  • Change to the MediaWiki directory:

      $ cd /opt/bitnami/mediawiki
  • Install the Semantic Bundle extension with Composer:

      $ COMPOSER=composer.local.json composer require --no-update mediawiki/semantic-bundle
      $ composer update mediawiki/semantic-bundle --no-dev -o
  • Change to the extension directory and create the configuration file:

      $ cd /opt/bitnami/mediawiki/extensions/SemanticBundle
      $ cp SemanticBundleSettings.sample.php SemanticBundleSettings.php
  • Enable the required configuration for Semantic Bundle in the LocalSettings.php file, which can be found in the /opt/bitnami/mediawiki directory:

    NOTE: You need to use your own MediaWiki domain instead of

          enableSemantics( '' );
          require_once __DIR__ . '/extensions/SemanticBundle/SemanticBundle.php';
  • Run the update script which will automatically create the necessary database tables that this extension needs.

      $ php maintenance/update.php

    If the last command (update.php) wasn’t successful, try updating from the browser following these steps.

If you get a warning like this:

Warning: This development build of composer is over 30 days old. It is recommended to update it by running "/opt/bitnami/php/bin/composer.phar self-update" to get the latest version.

Execute the suggested command and try the steps again. Refer to this page for more information.

Last modification February 9, 2023