Manual:Installation guide/ca

This guide provides instructions on how to install and configure MediaWiki, both manually, and by easier alternatives. Installing more than one wiki and installing existing wikis are also covered. Benvingut a la guia d'instal·lació de MediaWiki. La primera part d'aquesta guia dóna instruccions generals sobre com instal·lar i configurar MediaWiki en un servidor web. L'última secció conté una llista d'instruccions pas a pas per a un sistema operatiu específic i sobre els usos avançats del programa.

Upgrade guide
If you are already running MediaWiki, see the Upgrade guide.

Resum
For experienced users, here is the quick version of the installation instructions. Most users (like if you don't know how to install or check for the prerequisite software on your computer) will want to follow the main installation guide.

 Check that your system meets the following minimum requirements. (See Installation requirements for more details. Assegura't de comprovar les NOTES DE VERSIÓ que van amb MediaWiki per els requisits.) You'll need: Image thumbnailing and TeX require additional programs. Parsoid (required by VisualEditor) and other services have their own requirements. Download MediaWiki and extract the archive to a web-accessible folder on your computer. Point your browser to the directory where MediaWiki was extracted and follow the link to the setup screen. It should be in the form. Replace directory with the path to your extracted MediaWiki folder. If installing on a local machine, replace domain with. If you install locally and later want to access your wiki from domain, then you will need to change LocalSettings.php from  to domain. If installed on a remote server, replace domain with your server's domain name (eg: www.myserver.com). Follow the on-screen instructions to complete the process. 
 * Descarrega MediaWiki (la versió estable actual és )
 * A web server such as Apache or IIS
 * Local or command line access is needed for running maintenance scripts
 * PHP version or later
 * with Perl Compatible Regular Expressions
 * with Standard PHP Library
 * with JSON support
 * A database server, that is, one of the following:

These instructions are deliberately brief. There is a lot that could go wrong, so if in doubt, you are advised to read the full instructions!

Guia d'instal·lació principal

 * Abans d'instal·lar
 * ¿Què és MediaWiki?
 * Llista de funcionalitats
 * Requisits per a l'instal·lació Llegiu amb atenció abans d'anar més enllà!!
 * - Check these before going any further!
 * - Check these before going any further!
 * - Check these before going any further!


 * Instal·lar MediaWiki


 * Configurar MediaWiki:
 * Configuració inicial (emprar l'script de configuració)
 * Configuració avançada
 * Instal·lar extensions

Alternatives to manual installation
If your head is swimming from reading the above &mdash; or you feel frustrated, stuck, or lost &mdash; this section is for you...

You can avoid manual installation by using a pre-integrated MediaWiki software appliance, hosting services with 1-click installation, or wiki farms.

If you are installing for development or testing, consider using MediaWiki-Vagrant, a set of configuration scripts for Vagrant that automate the creation and update of a virtual machine that runs MediaWiki and your choice of extensions and services.

Official docker images are released on Docker Hub.

You can also use community resources based on platforms such as Docker. This is managed by Jenkins and should be kept up-to-date for some time.

These are community based resources and should always be treated with some measure of caution. Use at your own risk.

Wiki families (multiple wikis)

 * Main page: 

A wiki family is more than one wiki installed on the same computer.

Installing MediaWiki more than once
One approach is to install multiple instances of MediaWiki (such as with a software bundle like the Bitnami MediaWiki Stack) in different directories – one for each wiki. For example, you want an enterprise wiki and a personal wiki, and you want to keep them totally separate.

Multiple wikis with one MediaWiki
You could use a single installation of MediaWiki for multiple wikis, by either:


 * 1) Using a different database for each wiki. See .
 * 2) Using a different database prefix for each wiki. See .

Installing an existing wiki
Some users wish to install MediaWiki with Wikipedia, Wiktionary, or some other wiki loaded. This is useful for reading offline, for conducting experiments, and for mirroring/forking.

The main (but not necessarily the easiest) method for doing this is to install MediaWiki and then import. See Manual:FAQ#Wiki importing.

(Non-MediaWiki solutions, such as Xowa and Kiwix, can be found at w:Wikipedia:Database download, and are probably the best options).

Ús avançat
Les pàgines següents descriuen les instruccions necessàries per a instal·lar MediaWiki per a altres usos.
 * Installing MediaWiki sur un stick

Configuració avançada
The following pages cover some of the more advanced configuration options:
 * Advanced configuration
 * Wiki administration

Installation assistance

 * FAQ: FAQ#Installation and configuration
 * channel on
 * mediawiki-l is the high-traffic mailing list to ask for support.

Instruccions específiques per a diferents sistemes operatius
The following pages give more detailed installation instructions aimed at specific systems. However, by and large Manual:Installing MediaWiki is more up to date, and better written than the per system docs, and as such it is recommended you first consult the main install instructions before looking at a per system installation documents.


 * Intranet