Upgrade from SMW 1.8.x to SMW 1.9.x (MW 1.19.0 to MW 1.23.x)

From semantic-mediawiki.org
< Help:Upgrade
Administrator manualInstallationUpgradeUpgrade from SMW 1.8.x to SMW 1.9.x (MW 1.19.0 to MW 1.23.x)
Installation
This page describes the upgrade procedure from SMW 1.8.x to SMW 1.9.x (native Composer support).
Further Information
Installation type: upgrade
Installation method: Composer
MediaWiki version: 1.19.0 to 1.23.x
Table of Contents

This help page describes the upgrade procedure from Semantic MediaWiki 1.8.x to Semantic MediaWiki 1.9.x with native Composer support.

  • Note that this help page assumes that you use MediaWiki 1.19.0 to 1.23.x. See also the help page on compatibility.
  • Once you have upgraded to Semantic MediaWiki 1.9.x you can continue to upgrade as explained in the relevant help pages.

Step 1 - Backup database and wiki[edit]

Backup your wiki database and wiki installation.

Step 2 - Delete old software[edit]

Delete the directories SemanticMediaWiki/ and Validator/ from the …/extensions/ directory.

Step 3 - Update configuration file[edit]

Remove the formerly required invocations of "Semantic MediaWiki" and "Validator" from the "LocalSettings.php" file, i.e. the following two lines:

require_once "$IP/extensions/Validator/Validator.php";
require_once "$IP/extensions/SemanticMediaWiki/SemanticMediaWiki.php";

Step 3 - Re-install new software[edit]

Re-install Semantic MediaWiki as described on the applicable page.

NoteNote: This involves several steps.

Done![edit]

Semantic MediaWiki and the database use should now be upgraded properly. The wiki may now be used again.

See also[edit]