Differences between revisions 60 and 61
Revision 60 as of 2020-08-03 14:25:38
Size: 3216
Comment: add maintainer notes, cite some other directory standards
Revision 61 as of 2021-11-28 01:40:05
Size: 4199
Editor: ?MarkusBrummer
Comment: Removed old information, cleaner install instructions
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
This documentation covers the "new" MediaWiki package of 1.27+. Documentation for the "old" package which was unmaintained, had security issues, etc. can be found in the page history. Additionally, the old mediawiki-extensions* packages are no longer supported.

The new package is available in jessie-backports and will be included in stretch. Ubuntu Xenial and Trusty users can use a [[https://launchpad.net/~legoktm/+archive/ubuntu/mediawiki-lts/|PPA]] by the same maintainer.
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 [[https://launchpad.net/~legoktm/+archive/ubuntu/mediawiki-lts/|PPA]] by the same maintainer.
Line 15: Line 13:
Line 18: Line 15:
*[[https://lists.wikimedia.org/mailman/listinfo/mediawiki-distributors| mediawiki-distributors]] list * [[https://lists.wikimedia.org/mailman/listinfo/mediawiki-distributors| mediawiki-distributors]] list
Line 21: Line 18:
Line 33: Line 29:
== Installation ==
Line 34: Line 31:
== Installation == ||<style="width: 25%; background-color: #000000; color: #FFFFFF; vertical-align: top; text-align: left;"> '''Packages''' ||<style="width: 75%; background-color: #000000; color: #FFFFFF; vertical-align: top; text-align: left;"> '''Notes''' ||
||<style="width: 25%; background-color: #f5f6f7; vertical-align: top; text-align: left;"> [[DebianPkg:mediawiki]] ||<#f5f6f7> The core installation of ''mediawiki''. It automatically installs dependencies needed, including apache and mariadb by default. ||
||<style="width: 25%; background-color: #FFFFFF; vertical-align: top; text-align: left;"> [[DebianPkg:imagemagick]] ||<style="width: 75%; background-color: #FFFFFF; vertical-align: top; text-align: left;"> Optional package for image resizing ||
||<style="width: 25%; background-color: #f5f6f7; vertical-align: top; text-align: left;"> [[DebianPkg:git]] ||<style="width: 75%; background-color: #f5f6f7; vertical-align: top; text-align: left;"> Optional package for version control support ||

For buster, bullseye and bookworm, run
Line 38: Line 40:
}}}

For buster backports, run

{{{
# apt -t buster-backports install mediawiki

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

mediawiki

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

imagemagick

Optional package for image resizing

git

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:

* User:Legoktm/Packages


CategoryPackaging CategoryPackageManagement CategorySoftware CategoryOfficeApplication