How to install an extension in MediaWiki?

You can add your extention in your MediaWiki installation using following steps:

1. Download and install ExtensionFunctions.php

ExtensionFunctions.php is a helper file. Some newer extentions require this file. This file allows extensions to be modularized away from the MediaWiki core code. You can download this file from http://www.mediawiki.org/wiki/Download_from_SVN and once you download, copy the ExtensionFunctions.php file to $IP/extensions/ sub-directory of your MediaWiki installation.

2. Download your extension

A list of extensions documented on MediaWiki.org is available on the http://www.mediawiki.org/wiki/Extension. Matrix and a list of extensions stored in the Wikimedia is available on http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/.

3. Install your extension

You can install extention by simply adding a line in the LocalSettings.php file in the following manner:

include("extensions/NewExtensionName.php");

Note: Replace NewExtensionName.php with your new extention file name.

You may refer Readme file if it requires any special steps to take care before the installation.

  • 46 Users Found This Useful

Was this answer helpful?

Related Articles

How to deploy WebMatrix Beta web application project using Web Deploy method?

This article is about WebMatrix Beta Web Application Project deployment using Web Deploy. Open...

How to install third party tools for your domain?

You can install the below mentioned scripts from the Fantastico: Note: We do not offer...

How do I setup my website?

Step-1 Register Domain Name Register your choice of domain name from the following...

How to deploy Visual Studio 2010 web application project with SQL database using Web Deploy?

This demonstration shows how to deploy Web Application project of Visual Studio 2010 having SQL...

Can I make my JSP Website live with MySQL through AccuWeb Hosting?

In order to run JAVA servlet or JSP pages, it is required to have a servlet container like Apache...