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.
See: https://www.mediawiki.org/
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 https://www.mediawiki.org/wiki/User:Legoktm/Packages.
Status
* 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:
/usr/share/mediawiki - MediaWiki core files
/etc/mediawiki/LocalSettings.php - expected location of ?LocalSettings.php. You can also put other configuration files in this directory.
/var/lib/mediawiki - Main directory that the webserver will read from. Most core files from /usr/share/mediawiki are symlinked into this directory, and the ?LocalSettings.php file as well.
- /var/lib/mediawiki/extensions - Extensions are read from this directory. You can install non-packaged extensions here as well.
- /etc/mediawiki-extensions - Legacy path that should not be used. Left around for backwards-compatibility. It was used to enable/disable extensions.
Installation
Packages |
Notes |
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.
Credits
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:
CategoryPackaging CategoryPackageManagement CategorySoftware CategoryOfficeApplication