Lucas_Werkmeister_WMDE added a comment.
It looks like this is a limitation of the PHP `NumberFormatter` class, which
MediaWiki uses since that commit:
>>> $nf = new NumberFormatter( 'en', NumberFormatter::DECIMAL );
>>> $nf->format( '999999999999999999' ) # fits in signed 64-bit integer
=> "999,999,999,999,999,999"
>>> $nf->format( '9999999999999999999' ) # does not fit in signed 64-bit
integer
=> "10,000,000,000,000,000,000"
Previously, MediaWiki seems to have implemented this digit grouping using a
lot of string manipulation, without ever parsing the string as a number.
TASK DETAIL
https://phabricator.wikimedia.org/T268456
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Rosalie_WMDE, Lucas_Werkmeister_WMDE
Cc: Jakob_WMDE, cscott, Lucas_Werkmeister_WMDE, Lydia_Pintscher, Aklapper,
Mohammed_Sadat_WMDE, Akuckartz, Iflorez, alaa_wmde, Nandana, Lahi, Gq86,
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS,
Jonas, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs