Content translation/Developers/Setup

1. Install XAMPP (version 7.2 is the current minimum)
This installs all requirements listed in the table on the side.

2. In directory where you want you mediawiki installation to reside, run:
This will clone Mediawiki core in the folder of your choosing.

3. Change DocumentRoot and Directory in Apache config to point to your Mediawiki core folder
From your XAMPP control panel, open Apache config file named. Find DocumentRoot and Directory lines and change path from where your server should serve files. For example, on Windows, this could look like: DocumentRoot "D:/path-to/mediawiki/core" 

4. Open http://localhost in browser and go through installation process
This tutorial assumes you're installing Mediawiki core for the first time, or doing it fresh. If you already had Mediawiki core, delete  file to start installation again. In the installer, you will be asked to create database and admin users for your wiki, among other things. The process is quite self-explanatory and straightforward.

6. To install extensions, from your directory, run:
git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter" git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/BetaFeatures" git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite" git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/cldr" git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/ContentTranslation" git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo" git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/EventLogging" git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/EventStreamConfig" git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/GlobalPreferences" git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/Math" git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/Translate" git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/UniversalLanguageSelector" git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor" git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/WikimediaEvents" git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/WikimediaMessages"

9 Add following to
Not all of the settings below are needed immediatelly and some are commented to be used with convenience when needed.

10. Change directory to and run
You may need to run  as well, if this is not your first time running the   command.

One problem encountered on MacOS during execution of PHP maintenence script was with connecting to DB: Wikimedia\Rdbms\DBConnectionError from line 1415 of /Users/mwuser/code/mediawiki/core/includes/libs/rdbms/loadbalancer/LoadBalancer.php: Cannot access the database: Unknown error (localhost) The problem was solved by making following change in :

→