When generating results for the CheckUser API, either the comment or the action text can be provided in the summary key-value pair. However, it should be possible for the caller to get both the action text and the comment.
To make this backwards compatible (as the comment and action text can both be provided under the name summary), when both are provided it should be possible to combine them by adding the comment after the action text in parentheses. For example it would be like: Action text .... (comment ...).
Acceptance criteria
- Have the comment and action text combined for the summary key when they are both defined
- In all other cases, just use the one that is defined (or the empty string if both are not)
QA Results - Local
AC | Status | Details |
---|---|---|
1 | ✅ | https://phabricator.wikimedia.org/T361263 here |