How to Install MediaWiki Extensions

Home » Knowledge Base » Design Tools » MediaWiki » How to Install MediaWiki Extensions

Now that you have installed MediaWiki and learned how to log in to the CMS, it is time to extend MediaWiki’s functionality via extensions.

MediaWiki extensions are sets of files that add various types of functionality to your MediaWiki website. You can use extensions for various features such as adding citations, importing and exporting data, adding maps for geographical location, or, for example, adding code snippets.

MediaWiki extensions can make work on your website easier and faster, and can also help your website visitors work more efficiently with your web pages and online content.

In the following paragraphs, we share how to install a MediaWiki extension on your website.

 

How to Install MediaWiki Extensions

Most MediaWiki extensions are installed in a similar manner. In short, you should download a given extension to your computer device and then put it in the directory of your core MediaWiki website.

In the following paragraphs, you will read how to do so step by step.

 

Step 1: Download the MediaWiki Extension

After you find the extension you would like to use, download it on your local machine. The official MediaWiki website contains a vast library of available extensions that you can download right away. You can check the alphabetical list of extensions, or, you can browse for extensions by categories.

Either way you choose to search for an extension, download it on your computer. To do so, on the page with the extension’s overview, click on Download Extension like:

How to Download MediaWiki Extensions

 

A new page should open. Once you see it, click on the blue Continue button:

How to Install MediaWiki extensions download process

 

This should start the download process.

 

Step 2: Upload the Extension to the AwardSpace Server

Now that you have the extension on your computer device,  it is time to upload it to the AwardSpace server, containing your MediaWiki website.

To do so, log in to the AwardSpace hosting panel.

Then, head to File Manager:

AwardSpace Hosting Panel FIle Manager

 

Once you open the AwardSpace File Manager, search for the MediaWiki website directory:

MediaWiki website root folder

 

Once there, open the directory search for the extensions folder, and open it:

MediaWiki extensions folder

 

Once inside the Extensions directory, click the blue Upload button, located at the navigation bar at the top of the screen:

AwardSpace hosting panel Upload button

 

A new window will appear. Once you see it, click on Click to Select Files:

Select files to upload to the hosting panel

 

Then, search for the extension you downloaded on your computer device and click on Upload, so you upload it on the AwardSpace server:

Upload the extension file to the AwardSpace server

 

After the process is completed, you will be able to see the extension file within the Extension directory in your AwardSpace hosting panel:

Extension file in root folder

 

Once you see the file, right-click it and select Extract Here:

Extract files on the AwardSpace server

 

Wait until the process is finished. Once it is, you will see a new folder with the name of the extension you just uploaded:

MediaWiki extension folder

 

Now you have managed to install a MediaWiki extension to your website.

How to Activate a MediaWiki Extension

Although you have managed to upload an extension to MediaWiki, you won’t be able to use it until you activate it.

To activate a MediaWiki extension, log in to your AwardSpace hosting panel and head to the root folder of your MediaWiki website, as shown in Step 2 in this article.

After you enter the MediaWiki directory, search for a file named LocalSettings.php and open it by double-clicking on the file’s icon:

MediaWiki website LocalSettings.php file

 

Once you open it, head to the bottom of the document and add this code snippet:

require_once “$IP/extensions/name-of-extension/name-of-extension.php”;

Now, replace the first name-of-extension string with the name of the extension’s folder, and then replace the second name-of-extension string with the name of the extension you just uploaded to the MediaWiki folder.

In our example, we uploaded an extension named Dashiki. So, we add this name to the code snippet, so it looks like this:

require_once “$IP/extensions/dashiki/dashiki.php”;

Here’s how it looks in the AwardSpace hosting panel:

MediaWiki LocalSettings.php file changes

 

Once you add this code snippet within the LocalSettings.php file, click on the blue Save button in the navigation bar at the top of the screen:

Save the changes in the MediaWiki root folder

 

This will save and apply all the changes you made to the document.

 

Conclusion

Installing a MediaWiki extension is a simple process and in this article, we show how you can do so by following a few simple steps.

Read also:

Was this post helpful?

i

Relevant tags:

Connect

Latest posts:

How to Upload Files in Zenphoto

Knowing how to upload files in Zenphoto is a fundamental skill. In this guide, we share how to go through the process and manage your project and media library quickly and easily.   Step 1: Log in to Zenphoto The first step in the process is to log in to...

How to Back Up your TYPO3 Project

In this article, we outline the step-by-step process for backing up your TYPO3 project, ensuring that all your data, settings, and other essential information are safely stored. Regardless of your level of expertise, this method is simple to follow and provides...

How to Install Themes in TYPO3

Learning how to install themes in TYPO3 is essential, as it enables you to personalize your website fully. Whether you are working on a personal blog or a complex business website, the process of installing a theme in TYPO3 is the same. In this article, we share how...

How to Add Extensions to TYPO3

TYPO3 is a versatile platform that allows you to customize it any way you wish. One of TYPO3's strengths is the so-called extensions that enable you to add any kind of functionality to your website. In this article, we share how to add extensions to TYPO3. What are...

How to Add a Page in TYPO3

TYPO3 is a versatile platform that offers numerous features and an intuitive interface. If you're just getting started with the CMS, one of the first tasks you'll likely complete is creating a new page for your website. In this guide, we showcase how to do so and...



Create a website for free!


Free forever

Our Support Team is Here to Help

 

If you need any questions answered, don't hesitate and contact us. Click the button below and follow the instructions. You can expect an answer within an hour.

 

Contact AwardSpace

 

iNewest knowledge base articles

How to Upload Files in Zenphoto

Knowing how to upload files in Zenphoto is a fundamental skill. In this guide, we share how to go through the process and manage your project and media library quickly and easily.   Step 1: Log in to Zenphoto The first step in the process is to log in to...

How to Back Up your TYPO3 Project

In this article, we outline the step-by-step process for backing up your TYPO3 project, ensuring that all your data, settings, and other essential information are safely stored. Regardless of your level of expertise, this method is simple to follow and provides...

How to Install Themes in TYPO3

Learning how to install themes in TYPO3 is essential, as it enables you to personalize your website fully. Whether you are working on a personal blog or a complex business website, the process of installing a theme in TYPO3 is the same. In this article, we share how...

How to Add Extensions to TYPO3

TYPO3 is a versatile platform that allows you to customize it any way you wish. One of TYPO3's strengths is the so-called extensions that enable you to add any kind of functionality to your website. In this article, we share how to add extensions to TYPO3. What are...

How to Add a Page in TYPO3

TYPO3 is a versatile platform that offers numerous features and an intuitive interface. If you're just getting started with the CMS, one of the first tasks you'll likely complete is creating a new page for your website. In this guide, we showcase how to do so and...

How to Use Modules in TYPO3

TYPO3 is a CMS based on a modular architecture, meaning that users can use various built-in tools and add-ons to manage content, other users, configurations, and more. In this guide, we share how to use modules in TYPO3, so you get the most out of them.   What...

Even more web tutorials

Check out our web hosting knowledge base and the WordPress tutorials to learn more, and be better prepared for your website creation and maintenance journey.