Template:ExtensionInstall/en
<languages/>
- Download and place the file(s) in a directory called
ExtensionInstall
in yourextensions/
folder.
- Add the following code at the bottom of your LocalSettings.php:
require_once "$IP/extensions/ExtensionInstall/ExtensionInstall.php";
- Template:Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Template documentation
Usage
Template:ExtensionInstall/TemplateData
Examples
Below a few examples of how to use this template:
Simple
{{ExtensionInstall}}
Name
{{ExtensionInstall|CategoryTree}}
Download link
{{ExtensionInstall |download-link=[http://bits.wikimedia.org/example.zip Download] }}
LocalSettings
{{ExtensionInstall |localsettings= $wgUseAjax = true; }}
DB Update
{{ExtensionInstall |db-update=Yes }}
Composer
{{ExtensionInstall |composer=Yes }}
Custom steps
{{ExtensionInstall |custom-steps= * Lorem ipsum dolor sit amet * Foo bar baz quux [[sandbox]] }}
Support registration
{{ExtensionInstall |registration=1 }}
Set recommended registration MediaWiki version
{{ExtensionInstall |registration=1 |no-registration-version=1.25 }}
Require registration
{{ExtensionInstall |registration=required }}
Everything
{{ExtensionInstall|Example |download-link=[http://bits.wikimedia.org/example.zip Download] |vagrant=example |localsettings= $wgUseAjax = true; |db-update=Yes |composer=Yes |custom-steps= * Lorem ipsum dolor sit amet * Foo bar baz quux [[sandbox]] |registration=yes }}
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |
[[Category:Installation guide templates{{#translation:}}]]