July 07, 2013 | BY webmaster
The site wikis currently run on Mediawiki, the wiki engine used for Wikipedia. There is broad community support for Mediawiki, including a robust ecosystem of third-party addons. The following is the general procedure for adding third-party modules to MediaWiki sites. Note that this may vary for individual modules.
- Download the extension source to your computer and copy it over to the wiki's Extensions directory. For example, assuming we're adding the ConfirmAccount extension:
- Go to ConfirmAccount's download page and download the tarball.
- Copy it to the aclwiki's Extensions folder: scp wikimedia-mediawiki-extensions-ConfirmAccount-d8632fb.tar.gz acl:~/aclwiki/Extensions
- Log in to the webhost via ssh
- Navigate to the wiki's Extensions directory. For example, in the case of the main wiki:
- cd aclwiki/Extensions
- Unarchive the tarball: tar -xzf wikimedia-mediawiki-extensions-ConfirmAccount-d8632fb.tar.gz
- Move up to the parent directory and add the extension to LocalSettings.php. Instructions for this will be extension-specific, but usually it's a simple matter of adding the following line:
- require_once("$IP/extensions/ConfirmAccount/ConfirmAccount.php");
- Run maintenance/update.php from the command line:
- php maintenance/update.php