Right now we end up picking the last error in the stack (applying ApiResult::OVERRIDE) whereas the first one is the most specific in at least one case (ApiEdit errors), and this is a recent B/C breakage (die status used to pick the first one back when the API could only handle one).
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| ApiErrorFormatter_BackCompat: Use first error, not last | mediawiki/core | master | +24 -8 |
Event Timeline
Comment Actions
Change 332478 had a related patch set uploaded (by Anomie):
ApiErrorFormatter_BackCompat: Use first error, not last
Comment Actions
Change 332478 merged by jenkins-bot:
ApiErrorFormatter_BackCompat: Use first error, not last