CanastaWiki / Canasta

MediaWiki Docker image for Canasta, an all-in-one MediaWiki stack for easy deployment and management of enterprise-ready MediaWiki on production environments.
https://www.canasta.wiki
MIT License
36 stars 27 forks source link

Add PHP script for extensions and skins setup #390

Closed naresh-kumar-babu closed 3 weeks ago

naresh-kumar-babu commented 2 months ago

Fixes #401 (Issue became obsolete since we're switching to PHP)

It is much easier to do parsing of YAML in PHP than in .sh; the standard way to do YAML parsing in a shell script is to call yq, but yq requires different executables for different architectures. Given that the YAML parsing is already in PHP, it seemed easier to do the whole thing in PHP rather than split the work between two scripts.