https://bugzilla.wikimedia.org/show_bug.cgi?id=66578
Bug ID: 66578
Summary: NaN is shown as the notification count in the Persian
Wikipedia
Product: MobileFrontend
Version: unspecified
Hardware: All
OS: All
Status: NEW
Keywords: i18n
Severity: normal
Priority: Unprioritized
Component: General/Unknown
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected]
Web browser: ---
Mobile Platform: ---
To reproduce, log in to the Persian Wikipedia and click the notifications
indicator box (or click this quick link:
https://fa.m.wikipedia.org/wiki/Main_Page#/notifications ).
Whether the number is zero or more, the notification count in the heading is
shown as "NaN".
I didn't look at the code, but I suspect that it may have something to do with
the fact that Persian uses different digits, and the digits localization is
handled incorrectly somewhere. For what it's worth, it is handled correctly for
the main (red) notifications indicator box.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l