How to Install Modules in MediaWiki

MediaWiki is a powerful and versatile open-source wiki software that allows users to create and manage collaborative websites. One of the key features of MediaWiki is its ability to extend its functionality through the installation of modules. These modules, also known as extensions or plugins, enhance the capabilities of MediaWiki by adding new features and tools.

If you are new to MediaWiki and want to learn how to install modules, this guide will walk you through the process step by step.

Step 1: Choose the Right Module

Before you can install a module in MediaWiki, you need to choose the right one for your needs. There are thousands of modules available in the MediaWiki Extension Directory, so take some time to explore and find the one that suits your requirements.

When selecting a module, consider factors such as its compatibility with your MediaWiki version, its popularity, and user reviews. It’s also important to check if the module is actively maintained and supported by its developers.

Step 2: Download the Module

Once you have chosen the module you want to install, the next step is to download it. Visit the module’s page in the MediaWiki Extension Directory and locate the download link. Click on the link to start the download.

Make sure to download the correct version of the module that is compatible with your MediaWiki installation. If you are unsure, consult the module’s documentation or the MediaWiki community for guidance.

Step 3: Upload the Module

After downloading the module, you need to upload it to your MediaWiki installation. Access your MediaWiki server using FTP or a file manager provided by your hosting provider.

Navigate to the “extensions” directory in your MediaWiki installation. If the directory doesn’t exist, create it. This is where you will upload the module files.

Once you are in the “extensions” directory, upload the module files you downloaded in the previous step. Make sure to maintain the directory structure of the module files as they were in the downloaded package.

Step 4: Enable the Module

Now that the module files are uploaded to your MediaWiki installation, you need to enable the module. To do this, access your MediaWiki’s “LocalSettings.php” file.

Locate the line that says “require_once "$IP/extensions/ExtensionName/ExtensionName.php";“. Replace “ExtensionName” with the actual name of the module you installed.

If you are unsure about the exact name of the module’s main PHP file, refer to the module’s documentation or the MediaWiki Extension Directory.

Step 5: Configure the Module

Some modules require additional configuration to work properly. This may involve modifying settings in the “LocalSettings.php” file or using the MediaWiki administration interface.

Refer to the module’s documentation for instructions on how to configure it. The documentation should provide details on the available configuration options and their respective values.

Step 6: Test the Module

After enabling and configuring the module, it’s time to test it. Access your MediaWiki website and navigate to the pages or features that the module is supposed to enhance.

Make sure that the module is functioning as expected and that there are no errors or conflicts with other modules or the core functionality of MediaWiki.


Installing modules in MediaWiki is a straightforward process that allows you to extend the functionality of your wiki. By following the steps outlined in this guide, you can easily install and configure modules to enhance your MediaWiki installation.

Remember to choose modules that are compatible with your MediaWiki version, actively maintained, and well-reviewed by the community. Regularly update your modules to ensure compatibility and security.

With the right modules installed, you can unlock new possibilities and customize your MediaWiki website to suit your specific needs.

Leave a Comment

Your email address will not be published. Required fields are marked *