Difference between revisions of "XLP DevOps Process"
Line 15: | Line 15: | ||
|} | |} | ||
Based on table above, SMW Version 4.0.X and MediaWiki 1.37.X, runs on PHP 7.4.X is the version combination that we are going to use, and written into DockerFile configuration. To minimized the complexity, decided to remove all other extensions to ensure both SMW and MLEB is running correctly, thus we can localized if we found any of the extensions is having trouble. | Based on table above, SMW Version 4.0.X and MediaWiki 1.37.X, runs on PHP 7.4.X is the version combination that we are going to use, and written into DockerFile configuration. To minimized the complexity, decided to remove all other extensions to ensure both SMW and MLEB is running correctly, thus we can localized if we found any of the extensions is having trouble. </br> | ||
Adjustment made on composer.local.json, as showed below | |||
{ | |||
"require": { | |||
"rht/merkle-tree": "dev-master", | |||
"mediawiki/maps": "9.0", | |||
"mediawiki/semantic-media-wiki":"~4.0", | |||
"mediawiki/semantic-result-formats": "~3.2", | |||
"mediawiki/semantic-cite": "~2.1", | |||
"mediawiki/sub-page-list": "~1.4", | |||
"mediawiki/semantic-scribunto": "~2.2" | |||
}, | |||
"extra": { | |||
"merge-plugin": { | |||
"include": [ | |||
"extensions/OpenIDConnect/composer.json" | |||
] | |||
} | |||
} | |||
} | |||
= Step 2 = | = Step 2 = |
Revision as of 06:20, 11 February 2022
Step 1
Upgrade current container to Mediawiki 1.35 to latest stable version [1.37.1]
First attempt, is to update the container image to use available docker image in Mediawiki container in Docker Hub, version 1.37.1; and adjust/upgrade all the related extensions to the version that support Mediawiki 1.37.1. The major extension that is need to be adjusted is Semantic MediaWiki, and MediaWiki Language Extension Bundle (MLEB).
SMW | PHP | Media Wiki | Released | Status |
---|---|---|---|---|
4.1.X | 7.4.0 - 7.4.x | 1.35.0 - 1.37.x | - | Development |
4.0.X | 7.3.0 - 7.4.x | 1.35.0 - 1.37.x | 2021-01-18 | Stable release |
3.2.x | 7.1.0 - 7.4.x | 1.31.0 - 1.35.x | 2020-09-07 | Obsolete |
Based on table above, SMW Version 4.0.X and MediaWiki 1.37.X, runs on PHP 7.4.X is the version combination that we are going to use, and written into DockerFile configuration. To minimized the complexity, decided to remove all other extensions to ensure both SMW and MLEB is running correctly, thus we can localized if we found any of the extensions is having trouble.
Adjustment made on composer.local.json, as showed below
{ "require": { "rht/merkle-tree": "dev-master", "mediawiki/maps": "9.0", "mediawiki/semantic-media-wiki":"~4.0", "mediawiki/semantic-result-formats": "~3.2", "mediawiki/semantic-cite": "~2.1", "mediawiki/sub-page-list": "~1.4", "mediawiki/semantic-scribunto": "~2.2" }, "extra": { "merge-plugin": { "include": [ "extensions/OpenIDConnect/composer.json" ] } } }