Last modified: 2013-10-18 17:21:59 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T56581, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54581 - In the Persian Wikipedia, (fa.wiki), digits are not converted in the Echo notifications flyout
In the Persian Wikipedia, (fa.wiki), digits are not converted in the Echo not...
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CLDR (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: [no longer active user]
: i18n
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-25 00:46 UTC by Amir E. Aharoni
Modified: 2013-10-18 17:21 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Amir E. Aharoni 2013-09-25 00:46:30 UTC
In the Persian Wikipedia, (fa.wiki), the digits are not converted in the Echo notifications flyout. The timestamps appear with European digits (0123456789), rather than Persian (۰۱۲۳۴۵۶۷۸۹).

It does work on my local test wiki, however. I tried to investigate it with Benny a bit, and we didn't understand why does it happen on fa.wiki.

There is some discussion about it at https://gerrit.wikimedia.org/r/#/c/85711/ .
Comment 1 Brion Vibber 2013-09-25 14:15:10 UTC
I also can repro this on fa.wikipedia.org but not with a local install, either on master or on 1.22wmf17 (version that's running live).

Code looks fine, offhand...

WEIRD
Comment 2 [no longer active user] 2013-09-27 17:50:00 UTC
Not just Echo, on https://bn.m.wikipedia.org/wiki/%E0%A6%AC%E0%A6%BF%E0%A6%B6%E0%A7%87%E0%A6%B7:MobileDiff/1464318...1464320 "5 দিন পূর্বে" that is created by human timestamp (forget about "0 বাইট যোগ হয়েছে", this will fixed by https://gerrit.wikimedia.org/r/#/c/86233)
Comment 3 spage 2013-10-03 18:24:19 UTC
Prioritization and scheduling of this bug is tracked on Mingle card https://mingle.corp.wikimedia.org/projects/flow/cards/285
Comment 5 [no longer active user] 2013-10-07 07:59:25 UTC
https://en.wikipedia.org/wiki/Special:ArticleFeedbackv5?uselang=fa "1 سال پیش" means one year ago must become "۱ سال پیش"
Comment 6 Gerrit Notification Bot 2013-10-07 12:30:43 UTC
Change 88062 had a related patch set uploaded by Ebrahim:
Add convertNumber to localize last-modified digits

https://gerrit.wikimedia.org/r/88062
Comment 7 [no longer active user] 2013-10-07 12:33:15 UTC
^ is tested on http://tools.wmflabs.org/ebraminio-dev/w/index.php?title=Test&useformat=mobile&uselang=fa and fixed the original topic of this bug.
Comment 8 [no longer active user] 2013-10-07 12:48:49 UTC
Sorry, this will just fix mobile article view bug on digits not the whole bug specially server side problems.
Comment 10 Gerrit Notification Bot 2013-10-07 16:43:09 UTC
Change 88136 had a related patch set uploaded by Ebrahim:
Native digits on 'onGetHumanTimestamp'

https://gerrit.wikimedia.org/r/88136
Comment 11 [no longer active user] 2013-10-07 16:45:48 UTC
^ this definitely will fix the bug. The difference between our local wikis and production wikis was lake of extension cldr, I installed cldr and observed the bug and fixed it.
Comment 12 Gerrit Notification Bot 2013-10-09 05:09:01 UTC
Change 88136 merged by jenkins-bot:
Native digits on 'onGetHumanTimestamp'

https://gerrit.wikimedia.org/r/88136
Comment 13 [no longer active user] 2013-10-18 17:21:59 UTC
The related patches deployed on Persian Wikipedia and fixed the bug.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links