Turns out I declared mission accomplished too soon before. I’ve now done a clean install of wordpress itself, which unfortunately includes a new theme (plus side, rotating pictures in the header). Unless the corruption worked its way into the mySQL database itself*, this should have killed it.
*Is that even possible? Databases are right after objects on my list of coding relating things I should learn about since I know practically nothing about.