Manual:Config script/zh

在网络服务器下载MediaWiki后，您需要做的第一件事是通过运行提供的配置脚本来完成基本设置. 这个脚本可以告述你MediaWiki所需要的信息，以便将软件运作起来. The following steps describe how to complete basic setup:

Running the MediaWiki configuration script in the web browser
在接下来的示例中，我们将假设你的网站地址位于 ，而物理位置为. 你可以使用适当的位置来调整示例，以满足你的需要. The physical location on your server depends on your web server software configuration. Adjust the examples as needed.

Click on the link to begin the configuration script. For reference (in case you want to go there directly), this is located in MediaWiki's  directory (so using the example above you would go to  ). 该文件包含了MediaWiki运行所必须的所有信息.
 * 1) Open a web browser and browse to the website address or path that you configured for MediaWiki in the web server software.
 * 1) You will see the version of MediaWiki which you extracted and a link to "Please set up the wiki first."
 * 1) After selecting the language, the configuration script performs some environmental checks.
 * 2) If there are problems, refer to  for potential error messages and how to solve them.
 * 3) If there are no problems, the page will display ""
 * 4) Follow the instructions on the next pages to set up database access and to set further settings.
 * 5) 按照表单上的说明填写所需项目 (如果您不确定要输入的内容, 请参阅下表), 然后单击 "安装 MediaWiki" 按钮. 该脚本将会填充数据库并生成配置文件.
 * 6) 当成功运行配置脚本后，一个名为 的文件将由mw-config（老版本为config）目录所创建.



Your wiki should now be ready to use. Browse to the address that you installed MediaWiki to.

Installation errors
See Manual:Common errors and symptoms.

Configuration errors
See Manual:Common errors and symptoms.

高级配置

 * - to enable image/files upload.
 * See for links to more advanced configuration.

参见

 * MediaWiki上有关于错误及其现象的手册