In this tutorial we will show you how to enable Math support in your MediaWiki. For newer MediaWiki versions (1.18+) Math is provided as a separate extension and this tutorial will cover how to enable it. For older MediaWiki versions you can check our article about this in our Knowledge Base: How to enable Math support in MediaWiki.
The first step is to download the Math extension from this link.
Then you should extract the archive in the "extensions" folder within your MediaWiki installation directory.
Next, you need to add the following line to your LocalSettings.php file:
The next step is to execute the "maintenance/update.php" script via shell:
SiteGround customers can purchase SSH access as an upgrade to the standard shared hosting account. Even if you don't have SSH access, don't worry, you can still execute the script by adding the above command as a cron job. Once the cron job is executed, make sure you delete it to avoid running the command again.
Once you've run the command, you need to get the texvc executable from here and upload it to your MediaWiki installation folder > extensions/Math/math directory.