I’ve set up a MediaWiki site on Debian if I look in /var/www/html/mediawiki I can see a bunch of files. MediaWiki is a real pain when you need to fix things. I tend to copy the whole site to XML and the localsettings.php if I need to recover but keeping vm snapshots is just much easier.