Manual:AddWiki.php

addwiki.php is a MediaWiki script located in the maintenance directory that is used by Wikipedia and other Wikimedia projects to add a new language version of the project. It is hardcoded for Wikipedia's server, so it will take editing before it will work for your setup.