MediaWiki: Difference between revisions
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
I'm using the [http://www.mediawiki.org/wiki/MediaWiki MediaWiki] software from the WikiMedia Foundation to power my wikis. MediaWiki is | I'm using the [http://www.mediawiki.org/wiki/MediaWiki MediaWiki] software from the WikiMedia Foundation to power my wikis. '''The following information is largely [[Debian]]-specific.''' | ||
==Use with Apache== | |||
By default (at least on Debian), MediaWiki's PHP is run within Apache's PHP module <tt>mod_php</tt>. This can only be safely run under the multiprocess [https://httpd.apache.org/docs/2.4/mod/prefork.html mpm_prefork] paradigm. To use the (generally superior) [https://httpd.apache.org/docs/2.4/mod/worker.html mpm_worker] or [https://httpd.apache.org/docs/2.4/mod/event.html mpm_event] modules, one ought employ [https://www.php.net/manual/en/install.fpm.php php-fpm], the PHP "fast process manager" (note that FastCGI is also a thing. I don't know much about it). | |||
==Installing MediaWiki== | ==Installing MediaWiki== | ||
* Have handy the administrator account/password for your MySQL installation. | * Have handy the administrator account/password for your MySQL installation. | ||
** I advise you to install MySQL ''before'' MediaWiki, not as a single <tt>apt</tt> step. | ** I advise you to install MySQL ''before'' MediaWiki, not as a single <tt>apt</tt> step. | ||
| Line 96: | Line 98: | ||
==Extensions== | ==Extensions== | ||
A variety of extensions are available for MediaWiki. The most popular and stable | A variety of extensions are available for MediaWiki. The most popular and stable were once collected in the Debian package <tt>mediawiki-extensions</tt>, but as of 2026 this package no longer exists in the archive. So: | ||
* Download desired extensions to <tt>/var/lib/mediawiki/extensions</tt> | |||
* Download | |||
* See <tt>/var/lib/mediawiki/extensions/README</tt> for up-to-date information on enabling it | * See <tt>/var/lib/mediawiki/extensions/README</tt> for up-to-date information on enabling it | ||
* Worth noting: [http://www.mediawiki.org/wiki/Extension:Google_Analytics_Integration googleAnalytics], [http://www.mediawiki.org/wiki/Extension:Countdown Countdown], [http://www.mediawiki.org/wiki/Extension:RSS RSSNews] | * Worth noting: [http://www.mediawiki.org/wiki/Extension:Google_Analytics_Integration googleAnalytics], [http://www.mediawiki.org/wiki/Extension:Countdown Countdown], [http://www.mediawiki.org/wiki/Extension:RSS RSSNews] | ||