== Installation ==

=== Installation requirements ===

Installation requirements of each piece of provided software are included in the respective documentation. See in particular:
* https://www.mediawiki.org/wiki/Manual:Installation_requirements
* https://www.mediawiki.org/wiki/Help:Extension:Translate/Installation

=== Add/update your LocalSettings.php ===
Near the end of LocalSettings.php, you have to place this configuration:

<syntaxhighlight lang=php>
wfLoadExtension( 'Babel' );

wfLoadExtension( 'cldr' );

wfLoadExtension( 'CleanChanges' );
$wgCCTrailerFilter = true;
$wgCCUserFilter = false;
$wgDefaultUserOptions['usenewrc'] = 1;

wfLoadExtension( 'LocalisationUpdate' );
$wgLocalisationUpdateDirectory = "$IP/cache";

require_once "$IP/extensions/Translate/Translate.php";
$wgGroupPermissions['user']['translate'] = true;
$wgGroupPermissions['user']['translate-messagereview'] = true;
$wgGroupPermissions['user']['translate-groupreview'] = true;
$wgGroupPermissions['user']['translate-import'] = true;
$wgGroupPermissions['sysop']['pagetranslation'] = true;
$wgGroupPermissions['sysop']['translate-manage'] = true;
$wgTranslateDocumentationLanguageCode = 'qqq';
$wgExtraLanguageNames['qqq'] = 'Message documentation'; # No linguistic content. Used for documenting messages

wfLoadExtension( 'UniversalLanguageSelector' );
</syntaxhighlight>

=== Update database tables ===
==== Command line ====
In the directory where your LocalSettings.php is located, run the following command:
 php maintenance/update.php

==== Web browser ====
Go to [[Manual:Upgrading|example.com/mediawiki/mw-config/]] (see [[Manual:Upgrading#Web browser]]) by using your domain and path and rerun install.

=== Configuring and using extensions ===
See the respective extension documentation pages. Do note that LocalisationUpdate does nothing by
default and needs additional configuration to be run periodically.

* https://www.mediawiki.org/wiki/Extension:Babel
* https://www.mediawiki.org/wiki/Extension:CLDR
* https://www.mediawiki.org/wiki/Extension:CleanChanges
* https://www.mediawiki.org/wiki/Extension:LocalisationUpdate
* https://www.mediawiki.org/wiki/Extension:UniversalLanguageSelector
* https://www.mediawiki.org/wiki/Help:Extension:Translate