Manual:ImportSiteScripts.php/en

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

Options/Arguments
importSiteScripts.php accepts two arguments.