Difference between revisions of "MediaWiki"

From ArchWiki
Jump to: navigation, search
(Installation: php is a mediawiki dependency)
(Installation: standard way for installation instructions, see Help:Style - apache is a dependency for php-apache)
Line 4: Line 4:
  
 
== Installation ==
 
== Installation ==
# pacman -S apache php-apache php-intl imagemagick mysql mediawiki
+
[[pacman|Install]] {{pkg|php-apache}}, {{pkg|php-intl}}, {{pkg|imagemagick}}, {{pkg|mysql}} and {{pkg|mediawiki}}, all available from the [[official repositories]].
Instead imagemagick you can install php-gd. Also instead mysql you can install sqlite3 or postgresql.
+
 
 +
Instead of {{pkg|imagemagick}} you can install {{pkg|php-gd}}. Also instead of {{pkg|mysql}} you can install {{pkg|sqlite3}} or {{pkg|postgresql}}.
  
 
== Tips ==
 
== Tips ==

Revision as of 10:01, 20 January 2012

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:MediaWiki#)

Installation

Install php-apache, php-intl, imagemagick, mysql and mediawiki, all available from the official repositories.

Instead of imagemagick you can install php-gd. Also instead of mysql you can install sqlite3 or postgresql.

Tips

Mathematics (texvc)

Usually installing texvc package and enabling it in config are enough:

 $wgUseTeX = true;

If you get problems, try to increase limits for shell commands:

 $wgMaxShellMemory = 8000000;
 $wgMaxShellFileSize = 1000000;
 $wgMaxShellTime = 300;

Unicode

Check that php, apache and mysql uses UTF-8. Otherwise you may face strange bugs because of encoding mismatch.