An open source wiki engine which is available under the GNU General Public License.

It's used in Wikimedia projects (Wikipedia, Wiktionary, Wikisource, Wikibooks...) and many other wikis.


Mediawiki has a release cycle where every fourth release is an LTS version, the latest of which is currently 1.35.x. These are packaged in debian and in the relevant backports repositories. Another source is a PPA by the same maintainer.

There are some more details at


* pkg-mediawiki-devel list at Debian

* mediawiki-distributors list

Specified versions will be maintained as long-term supported (LTS), with support from MediaWiki developers and the distro packagers.

Debian changes to MediaWiki

We change a few things about MediaWiki to fit in with what Debian expects. Files can be found in the following places:





The core installation of mediawiki. It automatically installs dependencies needed, including apache and mariadb by default.


Optional package for image resizing


Optional package for version control support

For buster, bullseye and bookworm, run

# apt install mediawiki

For buster backports, run

# apt -t buster-backports install mediawiki

If you use Apache, MediaWiki will automatically be configured to serve it at http://localhost/mediawiki/. You can then visit that in your webbrowser, and go through MediaWiki's web installer.

If you use a different webserver, you'll need to manually configure it to use PHP to serve /var/lib/mediawiki.

The web installer will prompt you to download a ?LocalSettings.php file. You should save it to /etc/mediawiki/LocalSettings.php.


This page is under the GNU GPL2 license; parts of it were relicensed from a text released under incompatible GFDL 1.2 and CC-BY-SA 3.0 licenses by its authors (mainly David Gerard).

Maintainer notes

Some notes from the current maintainer are available here:

* User:Legoktm/Packages

CategoryPackaging CategoryPackageManagement CategorySoftware CategoryOfficeApplication