Manual:DeleteSelfExternals.php/en

Details
deleteSelfExternals.php file is a maintenance script that deletes self-references to $wgServer from the externallinks table.