generalmediawiki

Install the Math extension

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

  • Download the latest Math extension from https://www.mediawiki.org/wiki/Extension:Math.

  • Uncompress the downloaded file in the Mediawiki extensions directory. The command below should create the Math directory in the Mediawiki extensions directory:

      $ tar -xzf Math-*.tar.gz -C /opt/bitnami/mediawiki/extensions
    
  • Edit the permissions:

      $ sudo chmod 775 Math/
      $ sudo chown -R bitnami:daemon Math/
    
  • Edit the /opt/bitnami/mediawiki/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/mediawiki
      $ php maintenance/update.php
    
  • Check that Math extension is installed by visiting the page Special:Version in your MediaWiki installation. You should see a message similar to this:

MediaWiki Math extension

Last modification February 9, 2023