Steps to reproduce:
- Ask someone to disable "thanks" notifications in the notification tab in preferences — disable both email and web notifications.
- View a diff made by that contributor (the whole diff, or its entry in history, RCs, etc).
- Thanks link is missing.
- Thanks link is present.
- Clicking it does nothing whatsoever, as the contributor is not notified (per his/her preference).