handle interwiki links with complex substitutions