CSS Customization and numbering system

@Nike: User:Ebraminio/number seems good for now.

ebraminiotalk09:19, 3 September 2010
Edited by another user.
Last edit: 21:04, 13 September 2010

Added the following rules for testing:

/* Localised ordered list numbering for some languages */
ol:lang(bcc) li,
ol:lang(bqi) li,
ol:lang(fa) li,
ol:lang(glk) li,
ol:lang(kk-arab) li,
ol:lang(mzn) li {
	list-style-type: -moz-persian;
	list-style-type: persian;
}

ol:lang(ckb-arab) li {
	list-style-type: -moz-arabic-indic;
	list-style-type: arabic-indic;
}
Nike14:40, 13 September 2010

great, this code working well for me. i had not knowledge about this selector. why you don't put it for other languages that i listed? I exported that data from mediawiki localization codes.

ebraminiotalk20:45, 13 September 2010

Just testing if there any unseen problems with it. How did you come up with ckb-arab? There doesn't seem to be such language?

Nike14:54, 15 September 2010

Not anymore, but it was still there a few weeks ago.

Siebrand15:10, 15 September 2010
 

yes, please change ckb-arab to ckb,

if you want test your css code, you can test that on this page with this CSS:

ol:lang(ckb) li {
	list-style-type: decimal
}

this will turn over ۱۲۳۴۵... to 12345... (and this confirm that your CSS is working great:) )

ebraminiotalk07:09, 17 September 2010