FIX: Detect Wayback Machine using user agent (PR #9777)

GitHub

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579/54