Last modified: 2013-10-18 17:21:59 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/ .
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
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)
Prioritization and scheduling of this bug is tracked on Mingle card https://mingle.corp.wikimedia.org/projects/flow/cards/285
To clarify the bug again, it is available on * https://fa.wikipedia.org/wiki/%D9%88%DB%8C%DA%98%D9%87:%D8%A2%DA%AF%D8%A7%D9%87%E2%80%8C%D8%B3%D8%A7%D8%B2%DB%8C%E2%80%8C%D9%87%D8%A7 screenshot: http://i.imgur.com/RhOOvMC.png * https://fa.m.wikipedia.org/wiki/%D9%85%D9%87%D9%86%D8%AF%D8%B3_%D9%86%D8%B1%D9%85%E2%80%8C%D8%A7%D9%81%D8%B2%D8%A7%D8%B1 screenshot: http://i.imgur.com/M3Xjzs4.png * https://fa.m.wikipedia.org/wiki/%D9%88%DB%8C%DA%98%D9%87:%D8%AA%D9%81%D8%A7%D9%88%D8%AA_%D8%AA%D9%84%D9%81%D9%86_%D9%87%D9%85%D8%B1%D8%A7%D9%87/8838847...9651172 screenshot: http://i.imgur.com/KpX4roj.png It is reproduceable on bnwiki [and I guess on any Wikipedia with non-Arabic digits]. Every three case are Human Timestamp that I wanted fix it somehow from https://gerrit.wikimedia.org/r/#/c/85711/1/includes/Timestamp.php and rejected. So I guess it is a bug of mediawiki core.
https://en.wikipedia.org/wiki/Special:ArticleFeedbackv5?uselang=fa "1 سال پیش" means one year ago must become "۱ سال پیش"
Change 88062 had a related patch set uploaded by Ebrahim: Add convertNumber to localize last-modified digits https://gerrit.wikimedia.org/r/88062
^ 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.
Sorry, this will just fix mobile article view bug on digits not the whole bug specially server side problems.
interesting, I think we should investigate why http://tools.wmflabs.org/ebraminio-dev/w/index.php?title=Special:MobileDiff/4..5&uselang=qqx&useformat=mobile differs from https://fa.m.wikipedia.org/wiki/%D9%88%DB%8C%DA%98%D9%87:%D8%AA%D9%81%D8%A7%D9%88%D8%AA_%D8%AA%D9%84%D9%81%D9%86_%D9%87%D9%85%D8%B1%D8%A7%D9%87/9584853...10347882?uselang=qqx
Change 88136 had a related patch set uploaded by Ebrahim: Native digits on 'onGetHumanTimestamp' https://gerrit.wikimedia.org/r/88136
^ 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.
Change 88136 merged by jenkins-bot: Native digits on 'onGetHumanTimestamp' https://gerrit.wikimedia.org/r/88136
The related patches deployed on Persian Wikipedia and fixed the bug.