Manual:ClearInterwikiCache.php

clearInterwikiCache.php is a maintenance script to clear the interwiki links for all languages in.

Troubleshooting
If the script does not output anything it means nothing was done because you have not any "local database". This problem is caused by the default value of the  configuration. This behavior deserves further explanation but the quick workaround is to add your database name to that array.