Manuel: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 43% complete.

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎català • ‎español • ‎français • ‎italiano • ‎magyar • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎中文 • ‎日本語

Détails

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.

Utilisation

Option/Parameter Description
<language> The language code for the new wiki. The code used should be one of the array keys from $coreLanguageNames in /languages/Names.php.
<site> The main domain of the project (eg. wikipedia.org).
<dbname> The name of the wiki's database.
Notes