Lucas_Werkmeister_WMDE added a comment.

  I uploaded a proposed solution (see the above change): check if the formatted 
number can be parsed to the exact same value, otherwise fall back to the 
unformatted number. The result is that smaller numbers (or numbers with fewer 
decimal points) are still formatted according to the language, whereas for 
others we now show the internal value:
  
  F34001732: Screenshot_2021-01-14 Douglas Adams-en.png 
<https://phabricator.wikimedia.org/F34001732>
  F34001734: Screenshot_2021-01-14 Douglas Adams-ar.png 
<https://phabricator.wikimedia.org/F34001734>
  
  This mixture of two styles (which is more noticeable in languages with 
non-ASCII digits, such as Arabic in the second screenshot) can look ugly, but I 
think it’s the best we can do given the current limitations of MediaWiki / PHP. 
@Lydia_Pintscher do you think it’s acceptable?

TASK DETAIL
  https://phabricator.wikimedia.org/T268456

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Rosalie_WMDE, Jakob_WMDE, cscott, Lucas_Werkmeister_WMDE, Lydia_Pintscher, 
Aklapper, Mohammed_Sadat_WMDE, Alter-paule, Beast1978, Un1tY, Akuckartz, 
Hook696, Iflorez, Kent7301, alaa_wmde, joker88john, CucyNoiD, Nandana, 
Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, 
GoranSMilovanovic, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, 
rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to