Installing Semantic MediaWiki via Composer
-
Hello. I am trying to install Semantic MediaWiki on a MediaWiki instance running on Cloudron. Unlike most MediaWiki extensions, SMW cannot be installed by being uploaded to the extension folder and enabled via LocalSettings.php, but instead requires the use of Composer. The files that are necessary to edit for this to work, however, are in the /app/code and are thus not writeable. Does anyone have insight into what must be done to install this extension?
-
Hello @kadallah and welcome to the Cloudron Forum
As you have figured out correctly, the application code itself can not be changed by the user.
We would have to add this composer requirement as an app update.
After a quick look at the COMPATIBILITY from semantic-mediawiki I can see that the latest version only support MediaWiki version 1.43 to 1.44.
Since we need to keep MediaWiki updated for all users, we can not add this composer module without breaking MediaWiki for other users.If you really need this, one option would be to create a custom MediaWiki Cloudron app that includes semantic-mediawiki.
-
You can install it in the LAMP app maybe. See https://docs.cloudron.io/packages/lamp#composer and also https://docs.cloudron.io/guides/lamp-laravel