Santhosh Thottingal
305e883eb1
Add Divehi font
...
Using the font from GNU FreeFont(subset)
Bug: 42812
Change-Id: I55c5045ac764d9a40e7ee9b7e9881414816863f4
2013-04-01 13:41:08 +00:00
Amir E. Aharoni
95253cfd47
Adding the Alef font for Hebrew
...
Change-Id: Ie0936a690613e31204a967cb693b1ef615fad3f0
2013-03-21 18:43:14 +02:00
Santhosh Thottingal
629947ea8b
Add Tuladha Jejeg font for Javanese
...
for jv as non default font, for jv-java as default font
Change-Id: I86a60a510f2d2b070a4aaa7549c1e0c6936a4a01
2013-03-13 22:10:59 +05:30
Amir E. Aharoni
dfbae630a5
Add 'ar' as a language supported by the Amiri font
...
It is used as the default in the Arabic Wikipedia, so it should be
used in jquery.webfonts, too.
Change-Id: I862e313add75e494fce9e85172b3b9ce869f3716
2013-02-08 17:35:38 +05:30
Santhosh Thottingal
076b9af4cf
(bug 44021) WebFonts font drop-down menu has "Opendyslexic" instead of "OpenDyslexic"
...
Change-Id: Ibcdf2a915085a1b0560db609a8971d837fb2b8c9
2013-01-16 09:24:33 +05:30
Santhosh Thottingal
45194da68c
Add Kannada Gubbi font to repo, replace Kedage
...
Tcy also use the same font, but not default font.
Change-Id: I791e7d69b4c59867f208f2b3cdfa5305972130df
2012-11-26 09:58:36 +05:30
Santhosh Thottingal
710e72c2c7
Fix Bug 42100 - Add more languages for OpenDyslexic font
...
nl fy li id tl gl bk nb added
Change-Id: Ie97aabe1e28bd92a7142f21a0b4dcda94ec3019f
2012-11-21 16:50:27 +05:30
Santhosh Thottingal
cf8fcf80ee
Add font variants for Amiri
...
Change-Id: I657cd8cd7ff7921cc8973b89356e31a9eb49cf00
2012-11-14 15:25:17 +05:30
Santhosh Thottingal
54f229d72b
Update the font.ini with variant information
...
Change-Id: I9e50fb2be81f8597247458edd8e45073fb924d3e
2012-11-14 15:25:01 +05:30
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
Siebrand Mazeland
7be6eeaa2e
Fix possible variable pollution
...
Change-Id: I93b3329d4ff2d8affac379d10baec892c46481f0
2012-11-12 07:45:12 +01:00
Niklas Laxström
8529ed7377
Guard for web execution
...
Change-Id: I4cac7035a9b80865c3ff5a709f5d7d7c5e5cada4
2012-10-26 19:35:00 +00:00
Amir E. Aharoni
ebfc81d058
Make "system" the default font for Hebrew
...
"Miriam" was used for initial experimentation. It shouldn't be
the default, becase people complain repeatedly, and rightly, that
it's too small and hard to read.
Change-Id: Ie791ed66acdf71a20275884c39208602bddb06cc
2012-10-21 17:29:22 +02:00
Santhosh Thottingal
b04a9bcced
Fix some TODO items in font repository
...
* upstream URLs
Change-Id: I4f2333c5aacab32e27347f056a1197d45b8b0baa
2012-10-14 14:59:45 +05:30
Santhosh Thottingal
d9215c0585
Fix Bug 40539 Add Opendyslexic font
...
Added it as non-default font for following 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
Change-Id: Ia4b18cf0429dc9e07c89b84cdae16a8325806618
2012-10-05 10:36:53 +05:30
Santhosh Thottingal
68f63e003c
Explicitly mark the default fonts for many languages
...
Change-Id: Ib01e0dbf1bbd2bff6ff8e3aabd6a5ddbdcea6e6b
2012-09-26 21:26:08 -07:00
Siebrand Mazeland
e1a4f7f0cb
After training the PHPStorm code formatter.
...
See https://github.com/siebrand/MediaWiki-PHPStorm
Issue remains with anonymous functions in JavaScript.
Change-Id: I2b520f8df127452acf02deb659277a6465e6ca59
2012-09-17 17:10:59 -07:00
Santhosh Thottingal
5ce0dac72d
JsHint fixes - Move the invocation into the parens that contain the function.
...
Change-Id: I83d4808a9daeb6e0d52f77c718f9e384454d8ecc
2012-09-07 13:46:12 +05:30
Reedy
0f0732f865
Fixup a few minor documentation issues
...
Added some newlines
Left a FIXME in LanguageNameIndexer.php
Losslessly compressed display.png
Change-Id: I884b423d3812ddb964a6a70f75a6331a73371165
2012-08-19 01:19:46 +01:00
Siebrand Mazeland
72d2519c4d
Fix some issues pointed out by IDE.
...
* Update .gitignore to ignore .idea.
* Removed unused local variables.
* use local context and Message class instead of deprecated wfMsg* methods.
* Remove redundant px in CSS where possible.
* Combine CSS statements where possible.
* Replace b by strong.
Change-Id: I9d5ed7b7ce585a1c101044254bcbdfc33d42afc1
2012-08-15 17:32:49 +02:00
Niklas Laxström
3f4b5e4540
Mediawiki WebFonts repository for jquery.webfonts
...
Added license and upstream information and a
script to compile repoconfig automatically
from metadata.
also contains integration code
Change-Id: Ib39668249dd568a1f6017f0c08a3b9d1e2067ae4
2012-08-14 19:01:46 +05:30
Niklas Laxström
23763bd247
Added autonyms directly to langdb.yaml
...
* Can add languages not in MW
* Can get rid of foo / bar names which include different scripts
* Can get rid of directionality marks
* PHP scripts to generate the jquery.uls.data.js is now independent of
mediawiki and moved the scripts to lib/jquery.uls/data
* No pretty printing for the jquery.uls.data.js and added a 'do not edit' comment.
* Related changes in RL module definition and example html
Change-Id: I9a360dbdec4e9312aa5c76f801424ff95a8550d6
2012-08-14 10:19:38 +00:00
Siebrand
e2af6470fb
Merge "Add header to jquery.uls.data to say it's generated programatically"
2012-08-12 16:12:41 +00:00
Reedy
b696e24a99
Don't use json_encode directly
...
Also pass "true" to "isHtml", which reflects to prettify
Change-Id: Ifdefe4dc2bcccb06f4b13774b60c16a6c7066b1a
2012-08-12 17:01:18 +01:00
Reedy
254e6da88f
Add header to jquery.uls.data to say it's generated programatically
...
Also add the same comment to the ulsdata2json.php script
Change-Id: I61f795ea6e4545e7b668f171f759a231cc995437
2012-08-12 16:57:04 +01:00
Santhosh Thottingal
db0606f2fb
Add langnames.ser
...
Change-Id: I49351f62bb786961c49aa08c18de05347ab2ef43
2012-08-10 12:07:35 +05:30
Santhosh Thottingal
76f9038aff
Allow typo in search key
...
* Introduce Levenshtein algorithm
* New API param 'typos' to give number of typos allowed
* test cases
Change-Id: I22bf34d08a910d1509d7eab5adc292eadc9a7c7d
2012-08-03 07:33:12 +00:00
Santhosh Thottingal
878313d2ec
Rearranging Files
...
* Seperating standalone jQuery ULS plugin and extension related code
* lib/jquery.uls can be submodule, but not now.
Change-Id: I7d9cb47daa88dd1a27ceda602a08cab0073caf33
2012-08-03 12:24:04 +05:30
Santhosh Thottingal
3d9807e7f2
Fix php warnings.
...
Change-Id: Icd1302f7db425157def4771ffe0d7c816164eb23
2012-07-31 16:03:52 +05:30
Santhosh Thottingal
08c14dafa4
Cross-language language name search
...
Implementation of Also Written As language name
search algorithm.
See http://etherpad.wikimedia.org/l10n-uls-language-search
Change-Id: Iff84408c531b650a44d031b63d5c823737cceafc
2012-07-30 14:08:26 +05:30
Niklas Laxström
2c82ff0100
Enable syntax highlighting inside heredoc
...
Change-Id: I6e77455fac58289dfdca8a6aa72cd305f9b8d7b3
2012-07-19 10:21:18 +00:00
Amir E. Aharoni
7f3b3b1210
Save source files as UTF-8
...
Non-ASCII characters broke the functionality.
Saving as UTF-8 fixes this.
Also removed an unneded <?php statement from a JS file and replaced
non-ASCII pretty apostrophes with straight ASCCI.
Change-Id: Ic6719fe0863bc5d8ae19abbf01cfbb7b2b714f12
2012-07-18 15:29:17 +03:00
Siebrand Mazeland
6cc7c75458
Merge "Implement dual license GPLv2 and MIT."
2012-07-18 05:35:30 +00:00
Amir E. Aharoni
2775e6f5b3
Update tests and sync DBs after reordering regions
...
Followup I6fcf34dd
Change-Id: I2369f97ec978892a8db9fa15c17885de9cc841ec
2012-07-15 15:35:46 +00:00
Siebrand Mazeland
4041e7dca1
Implement dual license GPLv2 and MIT.
...
Should only be merged after +1 by all current contributors that are added as
reviewers.
Change-Id: Ie0480019524fa7b45ec6635d92b63e8b7880a2a0
2012-07-13 15:16:06 -04:00
Amir E. Aharoni
58bc495d6f
Reorder regions in region groups
...
The order of the regions in each group was random and confusing.
Now it's reordered so it corresponds to the map.
Change-Id: I6fcf34dd97808f26eabbef51665e7d2743a6cd85
2012-07-10 10:58:43 -04:00
Siebrand Mazeland
78ccbc57e6
Updates for language database (~75 codes added).
...
* Added codes used on translatewiki.net.
* Uncommented and updated a few codes.
* Put a few comments on a separate line, because when trailing, the conversion script b0rks.
* Updated the script groups with new scripts.
* Corrected the tests.
Change-Id: Ia53195834c2afc908d57d2f396bc317fadb2c7a9
2012-07-03 17:02:25 +03:00
Amir E. Aharoni
47b1a7f16f
Fixes of information for several languages.
...
Change-Id: Ic499a2ea1874f07958534d0220ffb232237fcf5d
2012-07-03 09:00:22 +03:00
Amir E. Aharoni
765e9be3fd
Fixing region of language id
...
Change-Id: I3acd05b6623d26571c6a9a35b675ee097c720b84
2012-07-02 16:21:01 +03:00
Amir E. Aharoni
15a45b3764
Rename 'regions' section to 'importanceInRegions'
...
The name is more meaningful and not overloaded.
Change-Id: I6fe2f88de1c724a932be6df0041e54e2767e7c36
2012-07-02 14:46:16 +03:00
Amir E. Aharoni
d082d34ddc
Removed Rusyn and Ukrainian from NA
...
Change-Id: Ia53795a44b7e7ae20988cec4bc4d6c36d057fb36
2012-07-01 12:44:31 +03:00
Santhosh Thottingal
720a3f3885
Add autonyms to language database
...
Change-Id: Ifad5721485634142505a37ba00ca68c744781103
2012-06-30 17:20:07 +05:30
Amir E. Aharoni
03df48a609
Created script groups, introduce $.uls.data
...
Gave script groups clear names and sorted them.
Documentation in comments.
Add tests to check that no script has been left behind.
Corrected Lath to Latn (thanks to testing).
Rename langdb.js to ext.uls.data.js
Add ResourceLoader module ext.uls.data
Change-Id: I91fafa94ffd1eaf2d12c954fe3a71064276533f9
2012-06-27 15:08:07 +05:30
Amir E. Aharoni
240bd3be45
Fixing comments in YAML
...
With the old way the comments were written, some lines were skipped.
Change-Id: I420a9620611aae3a2233cbf1af05d67753387031
2012-06-27 08:16:23 +03:00
Amir E. Aharoni
7dfd131884
Adding spaces after commas in lists
...
Lists without spaces after commas are considered one string,
which is probably not the thing that we want.
Change-Id: I738ecadd6d33089e63e8e454b3e89efb137aade0
2012-06-26 22:58:17 +03:00
Niklas Laxström
1b8a56ba20
Updated langdb
...
Change-Id: Id76894de23aa763f84560f774b7c6bce541a5739
2012-06-26 11:39:14 +00:00
Niklas Laxström
16d2b1c33d
Proof of concept language database database
...
Change-Id: I5d6b9ff4ce46c8e2d48bf56ab08f093287672467
2012-06-22 17:34:43 +05:30