How to update all external links after migrating a MediaWiki
问题 I have migrated a MediaWiki from one environment to another. Everything works fine, except for the fact that a few users have hard-coded external links (which actually link to other pages within the same wiki). For example, the old wiki was on ://foo/wiki and the new is at ://foo.com . On pages of the migrated wiki there are external links on the page text like ://foo/wiki/somepage . So when they click the link on the migrated wiki they get taken back to the old wiki and are directed to :/