Template:ExtensionInstall

From DAS Wiki

<languages/> vagrant>Vagrant </>, install with <tvar

  • <translate> 1>download-link</> and place the file(s) in a directory called <tvar|name>ExtensionInstall</> in your <tvar|ext>extensions/</> folder.</translate>composer>Composer</> to install PHP dependencies, by issuing <tvar
  • <translate> Add the following code at the bottom of your <tvar|LocalSettings>LocalSettings.php</>:</translate>
    require_once "$IP/extensions/ExtensionInstall/ExtensionInstall.php";
    
  • Yes <translate> Done</translate> – <translate> Navigate to <tvar|special>Special:Version</> on your wiki to verify that the extension is successfully installed.</translate>
Template documentation

<translate>

Usage

</translate>

Template:ExtensionInstall/doc

<translate>

Examples

Below a few examples of how to use this template:

Simple

</translate>

{{ExtensionInstall}}

vagrant>Vagrant </>, install with <tvar

  • <translate> 1>download-link</> and place the file(s) in a directory called <tvar|name>MyExtension</> in your <tvar|ext>extensions/</> folder.</translate>composer>Composer</> to install PHP dependencies, by issuing <tvar
  • <translate> Add the following code at the bottom of your <tvar|LocalSettings>LocalSettings.php</>:</translate>
    require_once "$IP/extensions/MyExtension/MyExtension.php";
    
  • Yes <translate> Done</translate> – <translate> Navigate to <tvar|special>Special:Version</> on your wiki to verify that the extension is successfully installed.</translate>

<translate>

Name

</translate>

{{ExtensionInstall|CategoryTree}}

vagrant>Vagrant </>, install with <tvar

  • <translate> 1>download-link</> and place the file(s) in a directory called <tvar|name>CategoryTree</> in your <tvar|ext>extensions/</> folder.</translate>composer>Composer</> to install PHP dependencies, by issuing <tvar
  • <translate> Add the following code at the bottom of your <tvar|LocalSettings>LocalSettings.php</>:</translate>
    require_once "$IP/extensions/CategoryTree/CategoryTree.php";
    
  • Yes <translate> Done</translate> – <translate> Navigate to <tvar|special>Special:Version</> on your wiki to verify that the extension is successfully installed.</translate>

<translate>

Download link

</translate>

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

vagrant>Vagrant </>, install with <tvar

  • <translate> 1>download-link</> and place the file(s) in a directory called <tvar|name>MyExtension</> in your <tvar|ext>extensions/</> folder.</translate>composer>Composer</> to install PHP dependencies, by issuing <tvar
  • <translate> Add the following code at the bottom of your <tvar|LocalSettings>LocalSettings.php</>:</translate>
    require_once "$IP/extensions/MyExtension/MyExtension.php";
    
  • Yes <translate> Done</translate> – <translate> Navigate to <tvar|special>Special:Version</> on your wiki to verify that the extension is successfully installed.</translate>

LocalSettings

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

vagrant>Vagrant </>, install with <tvar

  • <translate> 1>download-link</> and place the file(s) in a directory called <tvar|name>MyExtension</> in your <tvar|ext>extensions/</> folder.</translate>composer>Composer</> to install PHP dependencies, by issuing <tvar
  • <translate> Add the following code at the bottom of your <tvar|LocalSettings>LocalSettings.php</>:</translate>
    require_once "$IP/extensions/MyExtension/MyExtension.php";
    $wgUseAjax = true;
    
  • Yes <translate> Done</translate> – <translate> Navigate to <tvar|special>Special:Version</> on your wiki to verify that the extension is successfully installed.</translate>

<translate>

<tvar|1>LocalSettings</> early

</translate>

{{ExtensionInstall
|localsettingsearly=
$wgUseAjax = true; // this must be included before the extension is loaded
}}

vagrant>Vagrant </>, install with <tvar

  • <translate> 1>download-link</> and place the file(s) in a directory called <tvar|name>MyExtension</> in your <tvar|ext>extensions/</> folder.</translate>composer>Composer</> to install PHP dependencies, by issuing <tvar
  • <translate> Add the following code at the bottom of your <tvar|LocalSettings>LocalSettings.php</>:</translate>
    $wgUseAjax = true; // this must be included before the extension is loaded
    require_once "$IP/extensions/MyExtension/MyExtension.php";
    
  • Yes <translate> Done</translate> – <translate> Navigate to <tvar|special>Special:Version</> on your wiki to verify that the extension is successfully installed.</translate>

<translate>

DB Update

</translate>

{{ExtensionInstall
|db-update=Yes
}}

vagrant>Vagrant </>, install with <tvar

  • <translate> 1>download-link</> and place the file(s) in a directory called <tvar|name>MyExtension</> in your <tvar|ext>extensions/</> folder.</translate>composer>Composer</> to install PHP dependencies, by issuing <tvar
  • <translate> Add the following code at the bottom of your <tvar|LocalSettings>LocalSettings.php</>:</translate>
    require_once "$IP/extensions/MyExtension/MyExtension.php";
    
  • <translate> Run the [[<tvar|update>Special:MyLanguage/Manual:Update.php</>|update script]] which will automatically create the necessary database tables that this extension needs.</translate>
  • Yes <translate> Done</translate> – <translate> Navigate to <tvar|special>Special:Version</> on your wiki to verify that the extension is successfully installed.</translate>

<translate>

Composer

</translate>

{{ExtensionInstall
|composer=Yes
}}

vagrant>Vagrant </>, install with <tvar

  • <translate> 1>download-link</> and place the file(s) in a directory called <tvar|name>MyExtension</> in your <tvar|ext>extensions/</> folder.</translate>
  • <translate> Only when installing from git run <tvar
  • <translate> Add the following code at the bottom of your <tvar|LocalSettings>LocalSettings.php</>:</translate>
    require_once "$IP/extensions/MyExtension/MyExtension.php";
    
  • Yes <translate> Done</translate> – <translate> Navigate to <tvar|special>Special:Version</> on your wiki to verify that the extension is successfully installed.</translate>

<translate>

Custom steps

</translate>

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

vagrant>Vagrant </>, install with <tvar

  • <translate> 1>download-link</> and place the file(s) in a directory called <tvar|name>MyExtension</> in your <tvar|ext>extensions/</> folder.</translate>composer>Composer</> to install PHP dependencies, by issuing <tvar
  • <translate> Add the following code at the bottom of your <tvar|LocalSettings>LocalSettings.php</>:</translate>
    require_once "$IP/extensions/MyExtension/MyExtension.php";
    
  • Lorem ipsum dolor sit amet
  • Foo bar baz quux sandbox
  • Yes <translate> Done</translate> – <translate> Navigate to <tvar|special>Special:Version</> on your wiki to verify that the extension is successfully installed.</translate>

<translate>

Support registration

</translate>

{{ExtensionInstall
|registration=1
}}

vagrant>Vagrant </>, install with <tvar

  • <translate> 1>download-link</> and place the file(s) in a directory called <tvar|name>MyExtension</> in your <tvar|ext>extensions/</> folder.</translate>composer>Composer</> to install PHP dependencies, by issuing <tvar
  • <translate> Add the following code at the bottom of your <tvar|LocalSettings>LocalSettings.php</>:</translate>
    wfLoadExtension( 'MyExtension' );
    
  • Yes <translate> Done</translate> – <translate> Navigate to <tvar|special>Special:Version</> on your wiki to verify that the extension is successfully installed.</translate>

<translate> To users running MediaWiki <tvar

<translate>

Set recommended registration MediaWiki version

</translate>

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

vagrant>Vagrant </>, install with <tvar

  • <translate> 1>download-link</> and place the file(s) in a directory called <tvar|name>MyExtension</> in your <tvar|ext>extensions/</> folder.</translate>composer>Composer</> to install PHP dependencies, by issuing <tvar
  • <translate> Add the following code at the bottom of your <tvar|LocalSettings>LocalSettings.php</>:</translate>
    wfLoadExtension( 'MyExtension' );
    
  • Yes <translate> Done</translate> – <translate> Navigate to <tvar|special>Special:Version</> on your wiki to verify that the extension is successfully installed.</translate>

<translate> To users running MediaWiki <tvar

<translate>

Require registration

</translate>

{{ExtensionInstall
|registration=required
}}

vagrant>Vagrant </>, install with <tvar

  • <translate> 1>download-link</> and place the file(s) in a directory called <tvar|name>MyExtension</> in your <tvar|ext>extensions/</> folder.</translate>composer>Composer</> to install PHP dependencies, by issuing <tvar
  • <translate> Add the following code at the bottom of your <tvar|LocalSettings>LocalSettings.php</>:</translate>
    wfLoadExtension( 'MyExtension' );
    
  • Yes <translate> Done</translate> – <translate> Navigate to <tvar|special>Special:Version</> on your wiki to verify that the extension is successfully installed.</translate>

<translate>

Everything

</translate>

{{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
}}
  • <translate> If using <tvar
  • <translate> 1>download-link</> and place the file(s) in a directory called <tvar|name>Example</> in your <tvar|ext>extensions/</> folder.</translate>
  • <translate> Only when installing from git run <tvar
  • <translate> Add the following code at the bottom of your <tvar|LocalSettings>LocalSettings.php</>:</translate>
    wfLoadExtension( 'Example' );
    $wgUseAjax = true;
    
  • <translate> Run the [[<tvar|update>Special:MyLanguage/Manual:Update.php</>|update script]] which will automatically create the necessary database tables that this extension needs.</translate>
  • Lorem ipsum dolor sit amet
  • Foo bar baz quux sandbox
  • Yes <translate> Done</translate> – <translate> Navigate to <tvar|special>Special:Version</> on your wiki to verify that the extension is successfully installed.</translate>

<translate> To users running MediaWiki <tvar

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