Debian packages

I maintain packages of MediaWiki for Debian and Ubuntu. These follow the LTS cycle and are kept up to date with maintenance and security releases. In the past these packages did weird things to MediaWiki like moving files around, patching random parts of the code, replacing bundled libraries with different versions, etc. My goal is to not do that as much as possible and as allowed by the distribution's policies. In addition, I am also maintaining and updating other MediaWiki related packages like wikidiff2 and texvc.

Supported operating systems

 * Debian Stretch (currently in testing)
 * Debian Jessie via backports
 * Ubuntu Xenial via a PPA
 * Ubuntu Trusty via a PPA

Installation
If you are using Debian Jessie, you'll need to enable jessie-backports. Ubuntu users will need to enable the PPA. Easy right? This will install MediaWiki, PHP, a webserver (if necessary), and maybe a database server.

If you don't have a webserver installed, Apache will be installed, and automatically configure the wiki to be served at http://localhost/mediawiki/. Note, you'll also need  installed via the   package, Ubuntu users might need to install it manually.

MediaWiki supports different database engines, in order of preference they are: MySQL/MariaDB, SQLite, and PostgreSQL. The package is compatible with any of them, but will recommend you install.

HHVM may also be used to power MediaWiki, but for now the package will require PHP is installed. Progress for proper HHVM support can be tracked in Phabricator.

You should then follow the steps in the web installer to set up MediaWiki. See the installation guide for more details.

Support
If you need help with MediaWiki, please see the support desk. You should also mention that you are using the Debian/Ubuntu package, and the version of the package that is installed.

If you have found a bug in MediaWiki that is not specific to the packaged version, please report a bug against the relevant MediaWiki component.

If you believe you have found a bug specific to the package or in the packaging itself, please file a bug in the MediaWiki-Debian Phabricator project. Bugs experienced on Debian may also be reported in the Debian bug tracker.

If you have other questions/concerns/suggestions, feel free to file a bug, leave a note on the talk page, or find me on #mediawiki on freenode.

Filesystem
Typically, MediaWiki, extensions, and configuration are all located in one folder. However, we try and follow the Filesystem Hierarchy Standard (FHS), and as a result, it is split into 3 main locations:
 * - MediaWiki core files
 * - expected location of LocalSettings.php. You can also put other configuration files in this directory.
 * - Main directory that the webserver will read from. Most core files from  are symlinked into this directory, and the   file as well.

Thanks
A lot of different people have helped make this project a reality. In roughly chronological order:
 * Luke Faraone
 * Faidon Liambotis
 * Moritz Mühlenhoff
 * Max Semenik
 * Chad Horohoe
 * Antoine Musso
 * A few users who tried out the package while it was still unstable and provided feedback over email
 * ...you? More contributors are always welcome :)