Manual:ImportSiteScripts.php

Details
importSiteScripts.php file is a maintenance script to import all scripts in the MediaWiki namespace from a local site.