Last modified: 2012-03-21 05:51:12 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 13896 - Rendering of devanagari numbers in automatic '#' number lists
Rendering of devanagari numbers in automatic '#' number lists
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Santhosh Thottingal
http://mr.wikipedia.org
: i18n
Depends on:
Blocks: css
  Show dependency treegraph
 
Reported: 2008-04-30 13:20 UTC by Kaustubh
Modified: 2012-03-21 05:51 UTC (History)
5 users (show)

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


Attachments
Test case to see what browsers (733 bytes, text/html)
2008-04-30 14:30 UTC, Aryeh Gregor (not reading bugmail, please e-mail directly)
Details
Complete test case of defined CSS 2.1 and 3 list style types (14.88 KB, text/html)
2008-05-01 00:06 UTC, Brion Vibber
Details

Description Kaustubh 2008-04-30 13:20:53 UTC
Dear Developers, currently on mr:wiki the number list generates English numbers (1,2,3,...). 

Is there any possibility of getting these numbers in Marathi? (१,२,३,४,५,६,७,८,९ & ०)

Thanks / Regards,

Kaustubh
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2008-04-30 13:33:51 UTC
The numbering is done in CSS, which does not support a significant number of numeral systems as currently implemented.  CSS3 supports some more:

http://www.w3.org/TR/2002/WD-css3-lists-20021107/

But seemingly not Marathi.  This can't be implemented reasonably without better browser support, as far as I can see (and that is not likely to arrive soon, since even the CSS3 numeral systems generally don't work in modern browsers).  If anyone has any ideas on how to do it, feel free to suggest them.
Comment 2 Kaustubh 2008-04-30 13:45:14 UTC
(In reply to comment #1)
> The numbering is done in CSS, which does not support a significant number of
> numeral systems as currently implemented.  CSS3 supports some more:
> http://www.w3.org/TR/2002/WD-css3-lists-20021107/
> But seemingly not Marathi.  This can't be implemented reasonably without better
> browser support, as far as I can see (and that is not likely to arrive soon,
> since even the CSS3 numeral systems generally don't work in modern browsers). 
> If anyone has any ideas on how to do it, feel free to suggest them.

As per the given link, in the Numerals section, already Devanagari is defined.
(Devanagari is the script for Marathi Language). Whether this problem will be
solved after upgrading to CSS3?

Regards, Kaustubh
Comment 3 Aryeh Gregor (not reading bugmail, please e-mail directly) 2008-04-30 14:30:25 UTC
Created attachment 4852 [details]
Test case to see what browsers 

I don't think browsers support Devanagari numbering yet.  This test case should show whether or not I'm correct.  Should support be added to any browsers, the following line in [[MediaWiki:Common.css]] will use it:

ol { list-style-type: devanagari; }
Comment 4 Niklas Laxström 2008-04-30 18:35:09 UTC
Resolving as later, because there isn't much we can do with current browser support.
Comment 6 Brion Vibber 2008-05-01 00:06:07 UTC
Created attachment 4856 [details]
Complete test case of defined CSS 2.1 and 3 list style types

For completeness's sake. :)
Comment 7 Brion Vibber 2011-11-29 22:39:44 UTC
Loading that attachment & testing as of today...

Testing on Ubuntu 11.10:
* Chrome 15.0.874.121 -- shows devanagari list numbers
* Firefox 8.0 -- does not
* Opera 11.52 -- does not

And on Mac OS X:
* Safari 5.1.1 -- shows devanagari list numbers

On Windows 7:
* IE 9.0.8112.16421 -- does not

On Windows 8 developer preview:
* IE 10 -- does not

If folks do in fact want this on their ordered lists, you can add the line to http://mr.wikipedia.org/wiki/MediaWiki:Common.css as in comment #3 and it should work in current WebKit browsers, but not necessarily in others.
Comment 8 Niklas Laxström 2011-12-02 07:45:20 UTC
Don't suggest local mod. We have done this in core for some time now, see: http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/skins/common/shared.css?view=markup&pathrev=104160#l834
Comment 9 Sumana Harihareswara 2011-12-20 23:31:41 UTC
+i18n keyword
Comment 10 Shaurabh Bharti 2012-02-02 20:32:22 UTC
The value for mozilla is -moz-devanagari. For html ol, have following in style property

list-style-type: -moz-devanagari

The devanagari numbering should work in mozilla too.
Comment 11 Santhosh Thottingal 2012-03-21 05:51:12 UTC
Fixed this in r114350 for mr and hi.

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


Navigation
Links