Please add an option to replace.py (or fixes.py, you know better) so that when it is making replacements, it ignores/untouches the interwiki links and leaves them as is.
I guess revision 5788 of replace.py edits pages with unsorted interwikis and this should be a unexpected behaviour. Users interested to new feature can use -exceptinsidetag:interwiki as paramater, added in r5790 by Daniel Herding.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1963242
Originator: NO
-exceptinterwiki added in r5788
Logged In: YES
user_id=181280
Originator: NO
I guess revision 5788 of replace.py edits pages with unsorted interwikis and this should be a unexpected behaviour. Users interested to new feature can use -exceptinsidetag:interwiki as paramater, added in r5790 by Daniel Herding.