Manual:System administration

This page links instructions for common administrative tasks which you may wish to perform once your inst-guide>Manual:Installation guide|installation of MediaWiki is completed.

Configuration

 *  See  

If you installed MediaWiki through the web interface, then you already ran the script>Special:MyLanguage/Manual:Config script|initial configuration script that sets common configuration variables.

MediaWiki has several configuration settings.

They must be modified in .

See  for the whole list.

Toggle uploads on and off

 *  See  

Choosing a design: Selecting a skin

 *  See  

The default skin can be adjusted by modifying the  variable in .

A few other settings can also config>Special:MyLanguage/Manual:Configuration settings#Skins</>|be adjusted regarding skins.

There are also some custom skins, see <tvar|1>Special:AllPages/Skin:</>.

Other
For a list of configuration settings, see:


 * - an alphabetical list.
 * - an alphabetical list.

To configure specific parts of the software, see:


 * - more user-friendly URLs to article pages.

Configuration Apache, PHP and the Database
If you have downloaded binary packages of MySQL (or Postgres), the Apache HTTP Server, and PHP, chances are that they came with an installation script that set them up for your system. To tweak them further, see:


 * Database
 * or mariadb
 * Database
 * or mariadb
 * or mariadb

Making the wiki fast

 *  See <tvar|1></> 

Setting administrative rights
MediaWiki is a permissions-based wiki system. That means that users will only be able to perform the actions they are allowed to do.

As declaring permissions individually for every user would be tedious and impractical, several <tvar|rights></> are pre-defined in MediaWiki.

You are also allowed to declare new user groups, as your needs require.

Individual contents>Special:MyLanguage/Extension:Contents</>|extensions may also require creating new user rights.

Regardless of how they are created, user groups are fully customizable, by modifying the <tvar|GroupPermissions></> associative array in your <tvar|LocalSettings></> file.



Sysop (Administrator)
The most common use. A user marked as 'sysop' can delete and undelete pages, block and unblock IPs and use a shortcut revert-to-previous-contributor's-revision feature in contribs, see <tvar|m-admin></> for more information.

Bureaucrat
Users in this group can change user rights through <tvar|spec-ur>Special:UserRights</>.

Bot
A registered bot account. Edits by an account with this set will not appear by default in Recent changes; this is intended for mass imports of data without flooding human edits from view. (Add <tvar|hidebots>&hidebots=0</> to list changes made by bots e.g. [<tvar|1>https://en.wikipedia.org/w/wiki.phtml?title=Special:Recentchanges&hidebots=0</> like this])

Installing extensions

 *  See <tvar|1></> 

Extensions are compilations of PHP code that add new features or enhance functionality of the main MediaWiki core.

Localisation

 *  See <tvar|1></> 

If you simply want to change the language of a wiki on a per-user basis, this can be done via <tvar|spec-pref>Special:Preferences</>. If you selected the wrong language when setting up the wiki simply change the <tvar|1></> in <tvar|LocalSettings></>.

Maintenance scripts

 *  See <tvar|1></> 

MediaWiki has some maintenance script to help doing administrative tasks.

Update MediaWiki

 *  See <tvar|1></> 

Back up

 *  See <tvar|1></> 

It is important to make regular backups of the data in your wiki. This includes the database, uploaded files and extensions.

Importing a database dump

 *  See <tvar|1></> 

If you want a local copy of a Wikimedia wiki, see the overview at <tvar|meta-dd>meta:Data dumps</> and the [<tvar|d>http://download.wikipedia.org/</> download site].

Converting (importing) existing content

 *  See <tvar|1></> 

Some scripts exist to import data from other wiki engines.

On-wiki customizations

 *  See <tvar|1></> 

Much of the appearance and messaging of MediaWiki is determined by messages that administrators can edit like regular wiki pages.


 * For a brief overview that addresses the empty help pages, see Project:PD help/Copying.

Changing the sidebar

 *  See <tvar|1></> 

Changing the tagline

 *  See <tvar|1></>