* Server Configuration This is an LXC container that runs an instance of Mediawiki. It uses both composer and git submodules to manage extensions. The database is Mariadb, it's not hosted inside the container, but is accessible via mysql-client from the container. Currently running Alpine 3.20, using php82, Mediawiki release 1.40.1 Latest release of Mediawiki can be found here, appears to be 1.45.1 at the time of writing this (1/16/26). https://github.com/wikimedia/mediawiki/tags The wiki root can be found at: /var/www/wiki.alpinelinux.org The database address is, maybe, mariadb.nld3.alpin.pw or db.nld3.alpin.pw? No these are old, currently DB is mariadb.gbr-app-1.alpin.pw #+begin_src sh mysql -h mariadb.nld3.alpin.pw -U wikiuser -p #+end_src The web server used in the container is nginx, and the configurationg file for the wiki is found at /etc/nginx/http.d/wiki.alpinelinux.org.conf. Letsencrypt is used for SSL certs. Php version 8.2 is used, configuration appears to be mostly defaults, but the important configuration files are: /etc/php82/php-fpm.conf /etc/php82/php.ini /etc/php82/php-fpm.d/www.conf * MediaWiki Install ** Important locations /var/www/wiki.alpinelinux.org/w/LocalSettings.php /var/www/wiki.alpinelinux.org/w/extensions /var/www/wiki.alpinelinux.org/w/skins /var/www/wiki.alpinelinux.org/w/vendor /var/www/wiki.alpinelinux.org/composer.json & composer.lock ** Extensions These extensions are handled as submodules. #+begin_src conf wiki-staging [/var/www/wiki.alpinelinux.org/w]# git submodule status c55c9077bd0a6f1c3d230a78275f756985f243c5 extensions/AbuseFilter (heads/REL1_40) a0b8534568a1154876933720ec199d8e80b927d6 extensions/CategoryTree (1.32.0-618-ga0b8534) 0da8debd3afd849cd86f727ed838492103909dfb extensions/Cite (1.32.1-1463-g0da8debd) 05ad4f0c62000e57496d06680d1686f50ad3f592 extensions/CiteThisPage (1.32.1-418-g05ad4f0) 60077c20754197eb5134d615b72a0398ec9962ec extensions/CodeEditor (1.32.1-205-g60077c2) a2f49bc4d9b05b7994c48f2535ee5473f640c377 extensions/ConfirmEdit (heads/REL1_40) -e645496ab5d7a739e66923300c09ad036e2e0953 extensions/DiscussionTools -e339d20c8d67cc81a960bbf84d386527ed5c8516 extensions/Echo 898b8a5368825324ca50ed250775fe40f18269af extensions/Gadgets (1.32.1-520-g898b8a5) dcb1a38585b080f013005b70a6e75906e217920b extensions/ImageMap (1.32.1-191-gdcb1a38) 56a369103a1b7a3fb84bf03b7ed234004bc0dfd8 extensions/InputBox (1.32.1-317-g56a3691) d36e8a3880367f5ac81f4b70fd7757cfe281af9b extensions/Interwiki (1.32.1-375-gd36e8a3) -b1baf8f0daff670f9a7bfea686900359b5f14a1e extensions/Linter -845442bfa69ceb627cd287d1ab8a9f19623cb24f extensions/LoginNotify f7d2e279e87e4fbda1514cf95d9d750f7b23841e extensions/Math (heads/REL1_40) 92ce2a93f63c97bc3ac352a6c0423a64072e5d75 extensions/MultimediaViewer (1.32.1-570-g92ce2a93) b83f330212513ce578cb62d86534ad8d68628840 extensions/Nuke (1.32.1-280-gb83f330) e71aa7e5f418d9998d34c19d13e7021eb333abbe extensions/OATHAuth (1.32.1-681-ge71aa7e) 8f13855441e2db09417905d0a7e2799f75bbbedd extensions/PageImages (heads/REL1_40) 8056c4b69e2e219d1d05f617d891528c05da8a75 extensions/ParserFunctions (1.32.0-rc.1-418-g8056c4b) 698d18b0200a8e89ec64223eab2ee51d9a00bc1d extensions/PdfHandler (1.32.1-149-g698d18b) 4e3e590e438318be8e97ea51877127839d5d885f extensions/Poem (1.32.1-90-g4e3e590) 2725b4296ecde2079869264a60bd5f31f714abe9 extensions/ReplaceText (1.32.1-280-g2725b42) 8e110dde854f1896c6a4871ed586e6786b7d11fe extensions/Scribunto (heads/REL1_40) 01f3701c9059a04a714f5e18fa3f0dadb5556b76 extensions/SecureLinkFixer (heads/REL1_40) f7d835cf094e5d40b692a4ceea8d11cce25ff595 extensions/SpamBlacklist (1.32.1-364-gf7d835c) 535d3d79f3e9451b838fadb28a4437f534f6232d extensions/SyntaxHighlight_GeSHi (1.32.1-319-g535d3d7) cc0ac18b18d6ff812fd3c784d1930cb31e9b63ff extensions/TemplateData (heads/REL1_40) d8deabe80868ca4bc20598989fd123c559909562 extensions/TextExtracts (heads/REL1_40) -bebf80441973dbbdb261752e54117c541493118f extensions/Thanks ebcb5b7c0cde17c7939c859bec59471293af207f extensions/TitleBlacklist (1.32.1-301-gebcb5b7) -98bccc2b0fdeeb42fe8ebd5ce62df55d518a17c8 extensions/VisualEditor 75cbff0ec06283f5838fc560cb1418ed9b6908ec extensions/WikiEditor (1.32.0-rc.0-980-g75cbff0e) ece1043e587d8cd7dfefde59944ae2622f42e3f8 skins/MinervaNeue (heads/REL1_40) 75943614e4ae1aa1d3df2d776b59539b19ce680f skins/MonoBook (1.32.1-376-g7594361) 427267a448825cfc8596b2d4d19cbcff6932f99d skins/Timeless (1.32.1-593-g427267a) b4ac205f7de0a4e15f81dd474c3b96a0b84c6268 skins/Vector (1.32.1-3203-gb4ac205f) +a40deafa102ed6daa7712b125b0e191733cf8d62 vendor (remotes/origin/wmf/1.39.0-wmf.28-14-ga40deafa1) #+end_src ** List of directories in /var/www/wiki.alpinelinux.org/w/extensions AbuseFilter AdminLinks AntiSpoof CategoryTree Cite CiteThisPage CodeEditor ConfirmEdit DiscussionTools Echo Gadgets ImageMap InputBox Interwiki Linter LocalisationUpdate LoginNotify Math MultimediaViewer Nuke OATHAuth PageImages ParserFunctions Patroller PdfHandler Poem README Renameuser ReplaceText SaneCase Scribunto SecureLinkFixer SpamBlacklist SyntaxHighlight_GeSHi TemplateData TextExtracts Thanks TitleBlacklist UserMerge VisualEditor WikiEditor ** List of directories in /var/www/wiki.alpinelinux.org/w/vendor README.md autoload.php bin composer composer.json composer.lock cssjanus doctrine felixfbecker giorgiosironi guzzlehttp hamcrest johnkary justinrainbow liuggio mediawiki microsoft monolog myclabs netresearch nikic oojs pear phan phar-io php-parallel-lint phpdocumentor phpstan phpunit pleonasm psr psy ralouphie sabre sebastian seld squizlabs symfony theseer tysonandre webmozart wikimedia wip-requires.sh wmde zordius ** List of directores in /var/www/wiki.alpinelinux.org/w/skins Citizen MinervaNeue MonoBook README Timeless Vector ** Interesting finds in .ash_history for x in skins/* extensions/*; do { su -s /bin/sh nginx -c "git -C $x fetch"; su -s /bin/sh nginx -c "git -C $x pull" & }; done php82 /usr/bin/composer.phar update