What happened:
During code review of https://gerrit.wikimedia.org/r/#/c/97871/19/includes/specials/SpecialMobileDiff.php I noticed an error (line 208 of patchset 19 should concatenate, not assign). After pointing this out to MaxSem, he fixed the problem with patchset 20 (https://gerrit.wikimedia.org/r/#/c/97871/19..20/includes/specials/SpecialMobileDiff.php). Then, I made some minor changes to the commit message of patchset 20 in the Gerrit interface:
https://gerrit.wikimedia.org/r/#/c/97871/20..21//COMMIT_MSG
However, after making the changes to the commit message, the change that MaxSem made in patchset 20 disappeared from patchset 21:
https://gerrit.wikimedia.org/r/#/c/97871/20..21/includes/specials/SpecialMobileDiff.php
It didn't occur to me retest patchset 21 since I had just updated the commit message, so I merged patchset 21 and wound up breaking mobile diffs in production :(
Expected behavior:
Gerrit would have kept everything from patchset 20 with the exception of the new commit message.
Version: unspecified
Severity: major