MediaWiki is the wiki platform behind Wikipedia. It helps you collect and organise knowledge and make it available to people. It’s powerful, multilingual, free and open, extensible, customisable, reliable, and free of charge.

Last update: 2024-05-05


For this guide you should be familiar with the basic concepts of


MediaWiki is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Copyright 2001 - 2024. A list of authors can be found here.

Extensions and skins may be released under different licenses than MediaWiki itself. Most of them are usually distributed with a copy of their respective licenses and copyright notices.


Uberspace satisfies or exceeds all MediaWiki requirements out of the box.


Uberspace only supports PHP 8.x, however the main MediaWiki documentation notes: “PHP 8 is not in use by Wikimedia wikis, and thus gets less testing, but other groups do use MediaWiki with PHP 8 without issue. If you encounter any bugs when using MediaWiki with PHP 8, please report them.”

Set up a new database for MediaWiki:

[isabell@stardust ~]$ mariadb -e "CREATE DATABASE ${USER}_mediawiki"
[isabell@stardust ~]$

Your MediaWiki domain needs to be setup:

[isabell@stardust ~]$ uberspace web domain list
[isabell@stardust ~]$


Official, generalist installation manual for Mediawiki:

Change into your document root, download the latest MediaWiki release found at (here 1.41.1) and extract.

[isabell@stardust ~]$ cd html
[isabell@stardust html]$ wget
[isabell@stardust html]$ tar -xzvf --strip-components=1 mediawiki-*.tar.gz
[isabell@stardust html]$ rm mediawiki-*.tar.gz

At this point, the wiki installer should be available at https://<UberspaceUsername>, click “complete the installation” to start the graphical configuration. Leave default values or change as desired. On the “Connect to database” page:

  • Database name: <UberspaceUsername>_mediawiki

  • Database username: <UberspaceUsername>

  • Database password: find out using my_print_defaults client

When the graphical installation completes, locally download the LocalSettings.php that should have been automatically generated and transfer it to ~/html on your Uberspace. This can be achieved using one of the tools suggested on SFTP with host sftp://<UberspaceUsername> and your Uberspace credentials.

After this, the installed wiki should be available under https://<UberspaceUsername>

Tested with MediaWiki 1.41.1, PHP 8.3.6 and Uberspace

Written by: Doug Webb <>