The Full Wiki

More info on Managing a private wiki/Adding extensions

Managing a private wiki/Adding extensions: Wikis

Advertisements

Note: Many of our articles have direct quotes from sources you can cite, within the Wikipedia article! This article doesn't yet, but we're working on it! See more info or our list of citable articles.

Study guide

Up to date as of January 14, 2010

From Wikiversity

Getting the .php file(s)

First, one must download the .php files. This can be done in several ways.

SVN
MediaWiki code is kept in a subversion repository (SVN repo). Download the files using an SVN client to the appropriate location ($IP/extensions/Extension usually)
  • Add either a require_once(); or include_once(); near the bottom of your LocalSettings.php file, and check Special:Version on your wiki to see if the extension is installed properly. See the examples.

Setting up the database

  • Some extensions require database tables - one of the files in the extension folder will be an SQL query to create the table. phpMyAdmin is a useful tool for altering the database.

Troubleshooting

  • If the extension fails to install properly, check the relevant page on MediaWiki.org if there are specialized installation requirements. Some extensions may have dependencies requiring installation of additional software.

Advertisements






Got something to say? Make a comment.
Your name
Your email address
Message