Manual:System administration/zh

这个页面主要讲管理员的相关业务，请确保已经完成了一次MediaWiki的安装.

配置

 * 参见. 

如果你通过web界面安装了 MediaWiki，然后你也运行了 initial configuration script设置通用的配置变量.

MediaWiki有几个配置. 需要在中更改. 查看整个列表在  中

关闭打开文件上传

 * 查看 

皮肤设置

 * 查看 

默认的皮肤设置在中修改变量即可.

其它设置也可以 匹配 相关皮肤.

也可以自己定义皮肤，查看Special:AllPages/Skin:

其它
参见配置列表设置


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

To configure specific parts of the software, see:


 * - more user-friendly URLs to article pages.

配置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
 * Database
 * Database
 * Database

Making the wiki fast

 * See 

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 are pre-defined in MediaWiki.

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

Individual extensions may also require creating new user rights.

Regardless of how they are created, user groups are fully customizable, by modifying the associative array in your  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 for more information.

Bureaucrat
Users in this group can change user rights through 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 &hidebots=0 to list changes made by bots e.g. like this)

Installing extensions

 * See 

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

Localization

 * See 

If you simply want to change the language of a wiki on a per-user basis, this can be done via Special:Preferences. If you selected the wrong language when setting up the wiki simply change the $wgLanguageCode in.

Maintenance scripts

 * See 

MediaWiki has some maintenance script to help doing administrative tasks.

Update MediaWiki

 * See 

Back up

 * See 

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 

If you want a local copy of a Wikimedia wiki, see the overview at meta:Data dumps and the download site.

Converting (importing) existing content

 * See 

Some scripts exist to import data from other wiki engines.

On-wiki customisations

 * See 

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 

Changing the tagline

 * See