Debian Codegraph @

debian/README.Debian

raw
1 MediaWiki for Debian
2 --------------------
3 Installing:
4 MediaWiki requires one of the following databases: MariaDB/MySQL
5 (preferred), SQLite, or PostgreSQL.
6 .
7 Visit <http://localhost/mediawiki/> in your browser to go through
8 MediaWiki's web installer. Save the resulting LocalSettings.php file
9 in /etc/mediawiki. Your wiki should now be accessible.
10
11 Customizing:
12 If you wish to customize MediaWiki after installation, you can do
13 so. <https://www.mediawiki.org/wiki/Manual:System_administration>
14 has details on how to go about that.
15 For a better experience, setting up a background job processor is
16 recommended, and a systemd service unit is provided for convenience.
17 Run $ systemctl enable mediawiki-jobrunner; to start it.
18
19 Upgrading:
20 Upgrading to a new major MediaWiki version usually has associated
21 database schema updates. These will need to be applied, and can be
22 done by visiting <http://localhost/mediawiki/mw-config/> in your
23 browser, or by running the "update.php" command-line script
24 (requires the php-cli package). It is recommended to back up your
25 database before upgrading, just in case.
26
27 Editing:
28 For help on editing, see <https://www.mediawiki.org/wiki/Help:Editing>.
29
30 Filesystem:
31 MediaWiki is typically deployed in one complete directory, however
32 we have split it up into multiple directories to adhere with the FHS:
33 * /usr/share/mediawiki - MediaWiki core files
34 * /etc/mediawiki/LocalSettings.php - expected location of
35 LocalSettings.php. You can also put other configuration files in this
36 directory.
37 * /var/lib/mediawiki - Main directory that the webserver will read from.
38 Most core files from /usr/share/mediawiki are symlinked into this
39 directory, and the LocalSettings.php file as well.
40 * /var/lib/mediawiki/extensions - Extensions are read from this directory.
41 Non-packaged extensions can be installed here as well.
42
43 Contributing:
44 Help is welcome in maintaining the mediawiki package! The git
45 repository is <https://salsa.debian.org/mediawiki-team/mediawiki>,
46 patches can be sent via Salsa, through the Debian bug tracker, or
47 via e-mail.