Install the Math extension

If you want to install the Math extension on MediaWiki, please follow these steps:

  • Go to the MediaWiki extensions directory:

    $ cd /opt/bitnami/apps/mediawiki/htdocs/extensions
  • Download the extension from

    $ wget
  • Extract the code:

    $ tar -xzf Math-REL1_25-2998273.tar.gz
  • Edit the permissions

    $ sudo chmod 775 Math/
    $ sudo chown -R bitnami:daemon Math/
  • Edit the /opt/bitnami/apps/mediawiki/htdocs/LocalSettings.php file and add this code at the end of the file

    require_once ( "$IP/extensions/Math/Math.php" );
  • Run the update script which will automatically create the necessary database tables that this extension needs.

    $ cd /opt/bitnami/apps/mediawiki/htdocs
    $ php maintenance/update.php
  • Check that Math extension is installed by visiting the page Special:Version in your MediaWiki installation. You will see something like the image below:

MediaWiki Math extension

Last modification September 4, 2018