Error
- service.version: 1.46.0-wmf.1
- timestamp: 2025-11-11T15:08:13.949Z
- labels.phpversion: 8.1.33
- trace.id: a7549193-970c-4bf1-97aa-da9d48211c38
- Find trace.id in Logstash
[{reqId}] {exception_url} DivisionByZeroError: Division by zeroImpact
Low.
Notes
Looks like a small regression related to T403798.
While this comes from old 1.46.0-wmf.1, I'd assume this can still happen in the current code as there seems to be no guardrail against the cornercase $m['queryPeriod'] / $m['actualPeriod'] = 1 when calling
->incrementBy( $m['actualRows'] * ( $m['queryPeriod'] / $m['actualPeriod'] - 1 ) );
in
https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+blame/refs/heads/wmf/1.46.0-wmf.1/includes/RecentChanges/ChangesListQuery/ChangesListQuery.php#1519