It's probably not a big issue but I have an idea to improve the situation of broken links in answers (or questions).
I feel the best way would be to notify the original creator of the answer about it. So it can be fixed by the original creator or if he/she is not available anymore by anyone who comes by.
In Should we approve an edit which removes broken a URL? for example it is discussed if a broken link even should be removed, while in What to do about shortened URLs to broken links? the suggested action is to remove the broken link if the answer can stand without the link (what if it cannot).
The one who can best fix a broken link including finding alternatives is probably the original answerer.
A comment of the following form could be made automatically:
The link xxx in this contribution has not been reachable for some time and might be broken. The answer might benefit by a replacement with a suitable alternative or by a removal if the answer also works without.
Some possible issues I can imagine:
- To make sure it is not a temporary problem the comment should only appear if the link fails for X>1 times consecutively
- The comment should appear only once for each link at most.
- The frequency of checking for broken links can be as low as wished, it's nothing critical.
- To counter excessive link checks make the check earliest XX months/years after the insertion of the link in the answer and repeat it only every YY months/years afterwards with YY possible adjusted by number of views for the question
The original inspiration comes from Wikipedia which does it and has bots that leave automated comments on discussion pages.
Alternative is to display broken links differently (e.g. add a special icon after the link with a tooltip explaining that the link was not reachable on xxx). I would like that equally.
Additional advantage is that readers get to know about broken links earlier.