User:Android Mouse Bot 4

This bot fixes broken links to commonly archived pages, such as WP:AN and WP:VP. For example, a link such as Wikipedia:Village pump (proposals)#Section name, will become broken the next time that page is archived and the section 'Section name' is removed. This bot finds the date that link was added. It then goes to that same date on the Village pump and finds the last date that section existed. It then updates the page that has the bad link and changes the link to that last revision on the Village pump, or the page the link pointed to.

The C source is public domain. If anyone is interested, tell me on my talk page and I'll update and post a link here.