Index: trunk/scripts/TagInfoExtract.groovy
===================================================================
--- trunk/scripts/TagInfoExtract.groovy	(revision 12266)
+++ trunk/scripts/TagInfoExtract.groovy	(revision 12751)
@@ -17,4 +17,6 @@
 
 import org.openstreetmap.josm.Main
+import org.openstreetmap.josm.actions.DeleteAction
+import org.openstreetmap.josm.command.DeleteCommand
 import org.openstreetmap.josm.data.Version
 import org.openstreetmap.josm.data.coor.LatLon
@@ -384,4 +386,5 @@
         tmpdir.toFile().deleteOnExit()
         System.setProperty("josm.home", tmpdir.toString())
+        DeleteCommand.setDeletionCallback(DeleteAction::checkAndConfirmOutlyingDelete)
         Territories.initialize()
         RightAndLefthandTraffic.initialize()
