Last modified: 2014-02-12 23:35:47 UTC
Using the Special:Import function should automatically translate interwiki/internal links, so that import does not break links. For example, a page imported from outreachwiki to enwiki should change internal "[[links]]" in the original to "[[outreach:links]]" in the output, and it should also change any interwiki links in the original that point to the target wiki, like "[[w:links]]" into internal "[[links]]" in the output. See this example, where broken links resulting from the import had to be cleaned up: http://en.wikipedia.org/w/index.php?title=Wikipedia:GLAM/US/Final_Report&diff=541955908&oldid=541954465
For completeness, it should probably also correct for the project family when importing, too. For example, a "[[:es:link]]" link in enwiki goes to Spanish Wikipedia, but when imported to another project family, it would go to the Spanish version of that project, so an import to a Wiktionary should change the links to "[[es:w:link]]".
Looks a good idea, but take into account that a) The interwikis should exist at the other wiki / have another name... b) if you are importing several pages, you probably want the links between them to be kept (not changed to point to the original wiki) c) What if an internal link points to a page previously imported? In any case, it should be optional behavior.