interwiki.py have two almost simialr options
-force removes non-existing or not matching link without asking for each page
-cleanup removes only non-existing links
when working with -whenneeded, -force removes dead links everywhere since -cleanup only in pages matched by -whenneeded (current language + biggest language, + languages with more than XX changes when -whenneeded:XX).
but with combination -autonomous mode with -wiktionary:
- -wiktionary -cleanup -autonomous removes only dead links
- -wiktionary -force -autonomous removes dead and non-matching links (en:Foo vs. es:Bar, en:A vs. de:a)
- -wiktionary -force the same result as 2)
- -wiktionary -cleanup the same result as 2), but should be the same as 1)
https://en.wiktionary.org/w/index.php?title=A&diff=prev&oldid=34532053
https://en.wiktionary.org/w/index.php?title=@&diff=prev&oldid=34532059
https://en.wiktionary.org/w/index.php?title=ABM&diff=prev&oldid=34532043