- Get the list of wikis with SMW enabled (
$wgEnableSemanticMediaWikiExt = true
) and that are not yet migrated to the new storage / DB schema (smwgDefaultStore
not set in WikiFactory) - Run
migrator.sh
followed byswitchStorage.sh
for each of these wikis (provide city ID as an argument). The first one performs the schema migration (no changes are visible to the users at that moment), the latter one will switch WF variable to let SMW use new and more performant DB schema, - You're done :)
Once the migration is completed and the new storage is running fine the old schema can be removed by running the following: