In Arabic Wikipedia, in type="number" elements (see Main Page history for instance) and the 'N more languages' line of the Compact Language Links feature are displayed Eastern numerals (٠ ١ ٢) instead of conventional Western numerals (0 1 2).
Description
Details
- Reference
- bz70109
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Invalid | None | T98348 Implement the Wikimedia Foundation Call to Action 2015 | |||
Invalid | None | T98358 WMF to integrate, consolidate, and pause or stop stalled initiatives | |||
Open | None | T76456 Language Engineering tracker of trackers (tracking) | |||
Resolved | Amire80 | T18888 Make the user's preferred languages more prominent in interlanguage links list | |||
Open | Feature | None | T18962 Provide a non-JavaScript means of including a "Complete list" link in the interlanguage sidebar | ||
Open | Feature | None | T66793 Make compact interlanguage links default | ||
Resolved | Amire80 | T72109 mediawiki.language should respect $wgTranslateNumerals in convertNumber() |
Event Timeline
Thanks for taking the time to report this!
Confirming: On https://ar.wikipedia.org/w/index.php?title=الصفحة_الرئيسية&action=history this can be seen in the (من سنة (وأقدم field.
and the 'N more languages' line of the Compact Language Links
Might be a separate issue; not sure.
Also not sure which codebase this falls into; bug 62725 feels related.
My quick guess that it would in core, rather than in ULS.
It looks like the JavaScript implementation of number conversion ( mw.language.convertNumber() ) indeed doesn't check for $wgTranslateNumerals, so this affects not only ULS.
Niklas, Santhosh - you are more familiar with this JS code, am I correct or am I missing something?
gerritadmin wrote:
Change 164730 had a related patch set uploaded by Amire80:
Respect $wgTranslateNumerals in JavaScript
Change 164730 had a related patch set uploaded (by Bartosz Dziewoński):
mediawiki.language: Respect $wgTranslateNumerals in convertNumber()
Change 212942 had a related patch set uploaded (by Siebrand):
mediawiki.language: Respect $wgTranslateNumerals in convertNumber()
Change 164730 merged by jenkins-bot:
mediawiki.language: Respect $wgTranslateNumerals in convertNumber()
Change 212942 merged by jenkins-bot:
mediawiki.language: Respect $wgTranslateNumerals in convertNumber()