MediaWiki

DNS
This guide assume that you are using a dedicated subdomain for your wiki like https://wiki.example.com. Don't forget to point that domain to your webserver.

Database
You will need a database server store all dynamic data (users, articles…). You can check the MariaDB installation guide.

Nginx
In this guide, we will use Nginx as a web server. Please check the Nginx installation guide.

Configure Nginx
create certificate

update nginx config

/mw-config

ParserFunctions
This extension is bundled by default with MediaWiki. You just need to activate it.

Add the line  to the file

SyntaxHighlight
This extension is bundled by default with MediaWiki. You just need to activate it.

Add the line  to the file

TemplateData
Allows you to describe your templates using structured data for a better experience with the VisualEditor.

https://www.mediawiki.org/wiki/Extension:TemplateData

MobileFrontend
Because a lot of your traffic will come from mobile devices.


 * Download MobileFrontend
 * Extract it in
 * Add the following to

For more information, check the extension documentation

Speedup
By default the MediaWiki installation is pretty slow.

Localisation cache
Uncomment the line about  in

Enable CronJob
First create the log file Then add the following line in  Finally you can disable jobs running on user visits in   You can check the number of jobs in the queue at https://wiki.example.com/api.php?action=query&meta=siteinfo&siprop=statistics&format=jsonfm