手册:系统配置管理

From MediaWiki.org
(Redirected from Manual:Configuration/zh)
Jump to: navigation, search
This page is a translated version of the page Manual:System administration and the translation is 64% complete.

Other languages:
български • ‎Deutsch • ‎Ελληνικά • ‎English • ‎español • ‎فارسی • ‎français • ‎Bahasa Indonesia • ‎italiano • ‎日本語 • ‎한국어 • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎ไทย • ‎中文

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

配置[edit]

参见手册:LocalSettings.phpManual:LocalSettings.php

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

MediaWiki有几个配置。 需要在LocalSettings.phpManual:LocalSettings.php中更改。 查看整个列表在 手册:配置设置Manual:Configuration settings

关闭打开文件上传[edit]

查看 手册:配置文件上传Manual:Configuring file uploads

皮肤设置[edit]

查看 手册:皮肤配置Manual:Skin configuration

默认的皮肤设置在LocalSettings.phpManual:LocalSettings.php中修改$wgDefaultSkinManual:$wgDefaultSkin变量即可。

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

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

其它[edit]

参见配置列表设置

To configure specific parts of the software, see:

配置Apache, PHP and the Database[edit]

如果你下载了二进制包 MySQL (或者 Postgres), Apache HTTP Server, 和 PHP, chances are that they came with an installation script that set them up for your system. To tweak them further, see:


使wiki运行更快[edit]

参见Manual:Performance tuningManual:Performance tuning

设置管理权限[edit]

MediaWiki是一种基于权限的wiki系统。 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 手册:用户权限Manual:User rights 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 $wgGroupPermissionsManual:$wgGroupPermissions associative array in your LocalSettings.phpManual:LocalSettings.php file.

Sysop(管理员)[edit]

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 手册:管理员Manual:Administrators for more information.

行政员[edit]

Users in this group can change user rights through Special:UserRights.

机器人[edit]

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)

安装扩展[edit]

参见扩展手册Manual:Extensions

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

本地化[edit]

参见Help:系统消息Help:System message

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 LocalSettings.phpManual:LocalSettings.php.

维护脚本[edit]

参见手册:维护脚本Manual:Maintenance scripts

MediaWiki has some maintenance script to help doing administrative tasks.

更新MediaWiki[edit]

参见指南:升级Manual:Upgrading

获取数据[edit]

Back up[edit]

参见手册:备份一个wikiManual:Backing up a wiki

将你的wiki进行备份是很重要的,包括且不限制于数据库、上传的文件和扩展。

导出数据库[edit]

参见Manual:Importing XML dumpsManual:Importing XML dumps

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[edit]

参见Manual:Importing external contentManual:Importing external content

Some scripts exist to import data from other wiki engines.

On-wiki customizations[edit]

参见手册:页面自定义Manual:Page customizations

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

Changing the sidebar[edit]

See Manual:SidebarManual:Sidebar

Changing the tagline[edit]

See Manual:Tagline(網站副標題欄)Manual:Tagline (Site Subtitle)