Answers hovered around:
- Don't say anything if you don't have to.
- If you have to say something, make sure you show remorse and demonstrate how what happened can never happen again.
- If you have to say something, preferably make someone else (in a recommendation letter) say it.
I am unhappy that “I broke my leg and I failed classes” is more acceptable and less of a liability than “My brain broke and I failed classes”. Sure; the discussion in the link includes academic cheating — and I do not condone that — but there is an underlying tone of «don't disclose your mental illness» that really worries me.