Self Hosted MediaWiki

I had this and this bookmarked, I’ve installed mine in a vm on headless debian 10. If you can setup LAMP, there are numerous guides on the web then it’s relatively painless.

During the install (I don’t fully recall) somewhere you need to ensure you don’t have an open wiki, so that you need a username and password to access the site. Once setup you can also enable 2FA from the wiki.