Last modified: 2012-10-04 09:53:04 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 T7942, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 5942 - Numbered list showing English numerals instead of Bengali numerals
Numbered list showing English numerals instead of Bengali numerals
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
PC Windows XP
: Normal normal with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: 40760
  Show dependency treegraph
Reported: 2006-05-14 06:20 UTC by Ragib Hasan
Modified: 2012-10-04 09:53 UTC (History)
6 users (show)

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


Description Ragib Hasan 2006-05-14 06:20:47 UTC
The page I linked has a numbered list (using #'s). However, the list shows up as

1. কালেমা তাইয়েবা
2. ইসলামী রাজণীতির ভূমিকা
3. মহাসত্যের সন্ধানে
4. বিজ্ঞান ও জীবন বিধান
5. বিবর্তনবাদ ও সৃষ্টিতত্ত্ব

whereas it should have rendered as 

১. কালেমা তাইয়েবা
২. ইসলামী রাজণীতির ভূমিকা
৩. মহাসত্যের সন্ধানে
৪. বিজ্ঞান ও জীবন বিধান
৫. বিবর্তনবাদ ও সৃষ্টিতত্ত্ব

That is, the numbers in the numbered lists are rendering with English numerals
(0...9) rather than Bengali numerals (০ ... ৯)


Comment 1 Ragib Hasan 2006-05-26 03:40:13 UTC
Can anyone please tak a look at the bug? Thanks. --Ragib
Comment 2 Brion Vibber 2006-05-26 05:14:24 UTC
Neither HTML 4/XHTML 1 nor CSS 2 appears to offer the choice of Bengali 
numerals for list counters.

CSS 3 working drafts do include a bengali list type, but I'm not sure 
whether anything supports it:

It may be possible to set up the style sheets so supporting browsers will 
use it and others fall back to the default ASCII numerals.
Comment 3 Ragib Hasan 2006-05-26 15:23:12 UTC
Thanks, if you could look into this possiblity, it would be great. Right now,
the references and other items have Bangla numerals, but the lists show Roman
numerals, which looks very weird. From your reply, it seems like other
non-English languages with own numeral symbols also have similar problems.
Perhaps a general solution can be used for all such languages.


Comment 4 db [inactive,noenotif] 2010-12-03 19:53:56 UTC
looks like r75247
Comment 5 Niklas Laxström 2010-12-03 22:35:25 UTC
Can someone confirm it works in trunk? (WMF has not picked up these changes yet)
Comment 6 Ragib Hasan 2010-12-08 00:34:36 UTC
I confirm that it works in Bengali Wikipedia.
Comment 7 Niklas Laxström 2010-12-08 07:23:02 UTC
You're not testing the same thing. Bengali Wikipedia has the following rule in MediaWiki:Common.css:


However the rule I added to shared.css is:

ol:lang(bn) li {
	list-style-type: -moz-bengali;
	list-style-type: bengali;
Comment 8 Tanvir Rahman 2010-12-08 10:50:16 UTC
I've removed those lines from our Common.css. As far as I see, it's not working. Feel free to check further.
Comment 9 Niklas Laxström 2010-12-08 12:14:39 UTC
Naturally it isn't, see my previous comment:
WikiMedia Foundation has not picked up these changes yet
Comment 10 Bawolff (Brian Wolff) 2010-12-08 13:40:52 UTC
On my personal test wiki (running trunk, with no customized css, but with the content language set to bn just to test this), doing:


Gives (on firefox 3, (Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/2009061212 Iceweasel/3.0.6 (Debian-3.0.6-1)) and Google chrome 5.0.342.7 beta (Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.7 Safari/533.2) ) something that looks like:

১. 1
২. 2
৩. 3
৪. 4
৫. 5
৬. 6
৭. 7
৮. 8
৯. 9
১০. 10
১১. 11

(Which i presume is correct)

However, normal decimal numbers (1, 2, 3...) are seen on Opera 10.10 (Opera/9.80 (X11; Linux i686; U; en) Presto/2.2.15 Version/10.10), Konquour 3.5.9 (Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.10 (like Gecko) (Debian)), ie6, and lynx 2.8.7dev.9 (yeah, I know those are mostly quite old browsers, but they were what was on my computer. newer versions might support it. And no, I did not really expect it to work on lynx or ie6 ;)
Comment 11 Tanvir Rahman 2010-12-10 04:43:50 UTC
But as far as I see Bengali Wikipedia has not picked up this changes yet (and so is the wmf wiki). What to do with it now? Can we go back to our previous settings? I mean adding those lines back to our CSS.
Comment 12 Roan Kattouw 2010-12-10 10:04:29 UTC
(In reply to comment #11)
> But as far as I see Bengali Wikipedia has not picked up this changes yet (and
> so is the wmf wiki). What to do with it now? Can we go back to our previous
> settings? I mean adding those lines back to our CSS.
Yes, until Niklas's changes go live (estimates of when this will happen vary from January to March, depending on who you ask).

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