Last modified: 2012-10-04 09:53:04 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 (০ ... ৯) Thanks --Ragib
Can anyone please tak a look at the bug? Thanks. --Ragib
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: http://www.w3.org/TR/2002/WD-css3-lists-20021107/#numeric 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.
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. Thanks Ragib
looks like r75247
Can someone confirm it works in trunk? (WMF has not picked up these changes yet)
I confirm that it works in Bengali Wikipedia.
You're not testing the same thing. Bengali Wikipedia has the following rule in MediaWiki:Common.css: ol{ list-style-type:bengali; list-style-type:-moz-bengali; } However the rule I added to shared.css is: ol:lang(bn) li { list-style-type: -moz-bengali; list-style-type: bengali; }
I've removed those lines from our Common.css. As far as I see, it's not working. Feel free to check further.
Naturally it isn't, see my previous comment: WikiMedia Foundation has not picked up these changes yet
On my personal test wiki (running trunk, with no customized css, but with the content language set to bn just to test this), doing: #1 #2 #3 #4 #5 #6 #7 #8 #9 #10 #11 Gives (on firefox 3, (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11) 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 ;)
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.
(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).