Manual:DeleteSelfExternals.php

Details
deleteSelfExternals.php file is a maint-scripts>Special:MyLanguage/Manual:Maintenance scripts|maintenance script that deletes self-references to  from the externallinks table.