Santhosh Thottingal 42e3a65131 Support font variants
Generate the font listing in javascript with variant support

An example of generated script:

"Opendyslexic": {
	"version": "0.6",
	"license": "Creative Commons Attribution 3.0 Unported License",
	"ttf": "Opendyslexic\/opendyslexic.ttf",
	"eot": "Opendyslexic\/opendyslexic.eot",
	"woff": "Opendyslexic\/opendyslexic.woff",
	"variants": {
		"bold": "Opendyslexic Bold",
		"italic": "Opendyslexic Italic"
	}
},
"Opendyslexic Bold": {
	"version": "0.6",
	"license": "Creative Commons Attribution 3.0 Unported License",
	"fontweight": "bold",
	"ttf": "Opendyslexic\/opendyslexic-bold.ttf",
	"eot": "Opendyslexic\/opendyslexic-bold.eot",
	"woff": "Opendyslexic\/opendyslexic-bold.woff"
},
"Opendyslexic Italic": {
	"version": "0.6",
	"license": "Creative Commons Attribution 3.0 Unported License",
	"fontstyle": "italic",
	"ttf": "Opendyslexic\/opendyslexic-italic.ttf",
	"eot": "Opendyslexic\/opendyslexic-italic.eot",
	"woff": "Opendyslexic\/opendyslexic-italic.woff"
},

Corresponding ini file:

[Opendyslexic]
languages=en,af,pt,es,sw,de,fi,sq,fr,hu,ca,da,fo,ga,is,ms,sv,wa,lb,gd,oc,tr,mi,it,et,cy
version=0.6
license=Creative Commons Attribution 3.0 Unported License
licensefile=http://dyslexicfonts.com/license.php
url=https://github.com/antijingoist/open-dyslexic
ttf=opendyslexic.ttf
eot=opendyslexic.eot
woff=opendyslexic.woff
bold=Opendyslexic Bold
italic=Opendyslexic Italic

[Opendyslexic Bold]
ttf=opendyslexic-bold.ttf
eot=opendyslexic-bold.eot
woff=opendyslexic-bold.woff
fontweight=bold

[Opendyslexic Italic]
ttf=opendyslexic-italic.ttf
eot=opendyslexic-italic.eot
woff=opendyslexic-italic.woff
fontstyle=italic

Change-Id: I55afcd89fe5be5ecf35b4f2fc47ba508fbcfc41e
2012-11-14 15:21:23 +05:30
2012-11-14 15:21:23 +05:30
2012-11-14 15:19:36 +05:30
2012-11-14 10:35:41 +05:30
2012-08-15 17:32:49 +02:00
2012-06-12 14:13:34 +02:00
2012-10-16 16:58:51 +05:30
2012-07-13 15:16:06 -04:00
2012-07-18 15:29:17 +03:00
2012-09-23 21:59:18 -07:00

== Copying ==

In short: You may use any Project Milkshake product, including the Universal
Language Selector, under the terms of either the MIT License or the GNU General
Public License (GPL) Version 2 or later.

See GPL-LICENSE and MIT-LICENSE for details.

== Installation ==
For a very, very quick start add the following to LocalSettings.php:

include("$IP/extensions/UniversalLanguageSelector/UniversalLanguageSelector.php");

== For Developers ==
The MediaWiki Universal Language Selector project uses jquery.uls(https://github.com/wikimedia/jquery.uls).
Its development is at wikimedia github account. So any fixes to lib/jquery.uls should happen at github. 
Follow the build instructions of jquery.uls to create jquery.uls.js.

More documenation is at
 https://www.mediawiki.org/wiki/Extension:UniversalLanguageSelector

== Change log ==
Languages
JavaScript 79.4%
HTML 11.9%
PHP 4.7%
Less 2.5%
CSS 1.4%
Other 0.1%