Template:ExtensionInstall/en

From Wings of Linen
Jump to navigation Jump to search

<languages/>

  • Download and place the file(s) in a directory called ExtensionInstall in your extensions/ 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}}

Template:ExtensionInstall

Name

{{ExtensionInstall|CategoryTree}}

Template:ExtensionInstall

Download link

{{ExtensionInstall
|download-link=[http://bits.wikimedia.org/example.zip Download]
}}

Template:ExtensionInstall

LocalSettings

{{ExtensionInstall
|localsettings=
$wgUseAjax = true;
}}

Template:ExtensionInstall

DB Update

{{ExtensionInstall
|db-update=Yes
}}

Template:ExtensionInstall

Composer

{{ExtensionInstall
|composer=Yes
}}

Template:ExtensionInstall

Custom steps

{{ExtensionInstall
|custom-steps=
* Lorem ipsum dolor sit amet
* Foo bar baz quux [[sandbox]]
}}

Template:ExtensionInstall

Support registration

{{ExtensionInstall
|registration=1
}}

Template:ExtensionInstall

Set recommended registration MediaWiki version

{{ExtensionInstall
|registration=1
|no-registration-version=1.25
}}

Template:ExtensionInstall

Require registration

{{ExtensionInstall
|registration=required
}}

Template:ExtensionInstall

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
}}

Template:ExtensionInstall

[[Category:Installation guide templates{{#translation:}}]]