手册:addWiki.php

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:AddWiki.php and the translation is 71% complete.
Other languages:
Deutsch • ‎English • ‎español • ‎magyar • ‎polski • ‎русский • ‎中文 • ‎日本語

详情

addWiki.php is a MediaWiki maintenance script that is used by Wikipedia and other Wikimedia projects to add a new language version of the project. The script is hardcoded for Wikipedia's servers and must be edited before it will work for your setup. It was moved to the WikimediaMaintenance extension in r96489.

用法

选项/参数 描述
<language> 新wiki的语言代码。 The code used should be one of the array keys from $coreLanguageNames in /languages/Names.php.
<site> 项目的主域名(例如wikipedia.org)。
<dbname> wiki的数据库名称。
注释