Steps to replicate the issue :
- docker run -d --name some-mediawiki -p 8080:80 -v mw_html:/var/www/html -v mw_data:/var/www/data mediawiki:1.40
- Go to http://localhost:8080/mw-config/index.php
- Choose SQLite as database
- Choose Ask me more questions
- Choose Use this skin as default for MinervaNeue
- Download the generated LocalSettings.php and copy it to the container: docker cp LocalSettings.php some-mediawiki:/var/www/html/LocalSettings.php
- Restart the container: docker restart some-mediawiki
- Go again to http://localhost:8080
What happens?:
The skin is not loaded, and there is a warning: Whoops! The default skin for your wiki, defined in $wgDefaultSkin as minervaneue, is not available.
In the generated LocalSettings.php, there is this line:
$wgDefaultSkin = "minervaneue";
What should have happened instead?:
According to https://www.mediawiki.org/wiki/Skin:Minerva_Neue, the line should be:
$wgDefaultSkin = 'minerva';
Replacing minervaneue by minerva in the container fixes the issue: docker exec some-mediawiki sed -i 's/minervaneue/minerva/' /var/www/html/LocalSettings.php
Software version : 1.40
Other information :
Reproduced with multiple browsers (Firefox, Chromium). Here is a screenshot: