Plugin to help mapping pre-migration threads after migration

This already exists in core, it is called Permalinks, and the existing VB4 importer has code for it

You should enter something like /showthread\.php\?(\d*)/thread/\1 into the permalink_normalizations setting.