Closed Bug 984142 Opened 6 years ago Closed 6 years ago

There should be someway to disable localized numbers


(Core :: CSS Parsing and Computation, enhancement)

30 Branch
Not set





(Reporter: ebrahim, Unassigned)


(Blocks 1 open bug)



(1 file)

13.73 KB, image/png
Attached image A.png
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36

Steps to reproduce:

Actual results:

As of Bug 844744, input type=number on Arabic Wikipedia is using eastern Arabic digits but Arabic Wikipedia itself is using western Arabic digits (i.e. English locale digits)

Expected results:

There should be someway to control that on CSS.

MediaWiki's Arabic locale itself by default use Arabic digits but MediaWiki configuration of Arabic Wikipedia do not use that. See this part of Wikipedia servers configurations:

There should be someway for such sites to disable localized numbers WITHOUT disabling it by default.
Blocks: 945309
Depends on: 866457
OS: Windows 8.1 → All
Hardware: x86_64 → All
See Also: → 984005
Well, there is a workaround, using lang="en", but am not sure if this is clean way of that and IMO is just a hack. Was nice if there was a dedicated CSS selector for just controlling numbers localization.
Using lang="en" on the <input> seems like the right way to me.

Anyway, the mailing list is a better forum to request new CSS properties.
Severity: normal → enhancement
Component: General → CSS Parsing and Computation
Yeah, I don't see what's wrong with @lang either.
The locale is selected using a BCP lang tag.

Is there maybe a more specific tag for Arabic Wikipedia to use than "en"?
Thank you :jwatt. "ar-u-nu-latn" sounds very reasonable to me so I've opened a bug on Wikimedia and am closing this bug.
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.