Error
- mwversion: 1.45.0-wmf.2
- reqId: fd10d1ec-6f83-4a52-97d0-64223f810d51
- Find reqId in Logstash
Language::formatNum with non-numeric string
exception.trace
Language::formatNum with non-numeric string
exception.trace
This is almost certainly a bug in extension code which isn't sanitizing its input. We need an exception stack trace in order to pinpoint the culprit, but the stack trace seems to be missing from these log entries.
T267587: Language: Use of Language::formatNum with a non-numeric string was deprecated in MediaWiki 1.36 (Scribunto formatNum) changed this from a deprecation to a warning.
https://gerrit.wikimedia.org/r/c/mediawiki/core/+/640249/8/includes/media/FormatMetadata.php contains some additional discussion. There's an EXIF related warning which should probably be downgraded to info. But for warnings which don't stem from bad EXIF data, we could consider changing this back to a deprecation and/or adding a stack trace if we want to dig into this further.