Extensions in MediaWiki

Install and Enable Extensions in MediaWiki

The installation of most extensions in MediaWiki consists of downloading the extension's archive and extracting it in the extensions/ folder within your MediaWiki installation. For the purpose of this tutorial we would use the Score extension.

After uploading the extension and extracting it in extensions/, you can enable it simply adding the wfLoadExtension( 'ExtensionName' ) line in the bottom of the LocalSettings.php file, e.g.:

Generally, each extension should have a Readme file that will explain if it needs any special actions taken before the installation.

For this one a few other lines should be added and configured in the LocalSettings.php file:

And the directory lilypond/ should be created in this case.

That's it! Your extension is successfully installed now.