Amir E. Aharoni
da2244279e
Whitespace and quotes
2012-11-16 13:52:32 +02:00
Amir E. Aharoni
9aa9f3ee01
Replaced the deprecated languagesInScripts function
2012-10-15 16:26:51 +02:00
Amir E. Aharoni
77e62c99a5
Changed $( this ) into meaningful variables
2012-10-08 17:34:35 +02:00
Amir E. Aharoni
f14073a21a
Rename the variable that to lcd
2012-10-08 17:22:01 +02:00
Amir E. Aharoni
2e22c5c550
Initial whitespace cleanup
2012-10-08 17:04:05 +02:00
Amir E. Aharoni
9d38d9bd64
Fix a few trivial CSS lint issues
2012-10-08 08:35:14 +02:00
Amir E. Aharoni
e35a18eb0d
Merge branch '2012/bug_39963/cleanup_function_names' of github.com:amire80/jquery.uls into 2012/bug_39963/cleanup_function_names
...
Conflicts:
src/jquery.uls.data.utils.js
2012-10-08 08:32:06 +02:00
Amir E. Aharoni
c40caf4a29
Update the remaining calls to deprecated functions
2012-10-08 08:27:50 +02:00
Amir E. Aharoni
faeac72491
.languagesByScript* -> .getLanguagesByScript*
2012-10-08 08:13:34 +02:00
Amir E. Aharoni
bd355b249d
.allRegions -> .getAllRegions
2012-10-08 08:13:34 +02:00
Amir E. Aharoni
d74d9b003b
.autonyms -> .getAutonyms
2012-10-08 08:13:34 +02:00
Amir E. Aharoni
5e16abf26d
.autonym -> .getAutonym
2012-10-08 08:13:34 +02:00
Amir E. Aharoni
7d48ec230b
.regions -> .getRegions
2012-10-08 08:13:34 +02:00
Amir E. Aharoni
17f525f510
Replace .script with .getScript
2012-10-08 08:13:34 +02:00
Amir E. Aharoni
c007ba3427
(bug 39963) Add "get" to function names
...
Kept the old names and gave them simple deprecation marking.
2012-10-08 08:13:34 +02:00
Amir E. Aharoni
8f32169c3d
Merge branch 'santhosh-tests' of github.com:amire80/jquery.uls into santhosh-tests
2012-10-08 07:46:33 +02:00
Amir E. Aharoni
9188e8c246
Update readme with working test commands
2012-10-08 07:43:41 +02:00
Amir E. Aharoni
427c3bf39d
Added RTL tests from Gerrit and fixed another test
2012-10-08 07:43:41 +02:00
Amir E. Aharoni
1e955cc60d
Update readme with working test commands
2012-10-08 07:42:58 +02:00
Amir E. Aharoni
b4c407163b
Added RTL tests from Gerrit and fixed another test
2012-10-08 01:33:49 +02:00
Amir E. Aharoni
da4912a6cb
Merge branch 'master' of git://github.com/santhoshtr/jquery.uls into santhosh-tests
2012-10-08 01:28:20 +02:00
Amir E. Aharoni
779067bd66
.languagesByScript* -> .getLanguagesByScript*
2012-10-07 22:09:52 +02:00
Amir E. Aharoni
2f5bafda3d
.allRegions -> .getAllRegions
2012-10-07 22:00:58 +02:00
Amir E. Aharoni
4b8820ddac
.autonyms -> .getAutonyms
2012-10-07 21:50:56 +02:00
Amir E. Aharoni
b52df71d8c
.autonym -> .getAutonym
2012-10-07 21:50:05 +02:00
Amir E. Aharoni
52c2cac2a9
.regions -> .getRegions
2012-10-07 21:47:24 +02:00
Amir E. Aharoni
3847838da7
Replace .script with .getScript
2012-10-07 20:11:53 +02:00
Amir E. Aharoni
ce71c79c82
(bug 39963) Add "get" to function names
...
Kept the old names and gave them simple deprecation marking.
2012-10-07 20:02:37 +02:00
Amir E. Aharoni
972247b895
Remove unecessary whitespace
2012-10-07 17:17:36 +02:00
Amir E. Aharoni
97194de047
Do nothing if the clicked region is already selected
...
Supposed to fix bug
https://bugzilla.wikimedia.org/show_bug.cgi?id=39932
2012-10-05 08:38:43 +02:00
amire80
9ce06d2112
Whitespace in jquery.uls.data.utils.js
2012-09-24 17:34:53 -07:00
amire80
72fe9f1e82
Update ulsdata2json.php for cleaner codes handling
...
Add supplementalData.xml to .gitignore.
Tweaks to make CLDR codes usable in ULS.
2012-09-24 17:32:22 -07:00
amire80
7f16137efc
Fix whitespace
2012-09-24 16:51:03 -07:00
amire80
f9e3e148e3
Add basic support for dir and lang attributes for autonyms
...
Added a util function for getting the language's direction.
Added lang and dir attributes for every language item in the list.
2012-09-24 16:34:06 -07:00
Amir E. Aharoni
da89d0088b
(bug 39946) Add Portuguese to WW
...
Change-Id: I1b54971ae4e4d1ec9e1eac98a46291504d53bb61
2012-09-03 20:04:46 +03:00
Amir E. Aharoni
e63a1e7eaf
(bug 38679) Replacing regions NA, LA, SA with AM
...
Change-Id: Ib484dd9cb0453ec1bd214e0196119b14d96ac128
2012-09-01 10:09:16 +03:00
Amir E. Aharoni
fd8d6e2110
Filtering out languages that the ULS doesn't recognize
...
Change-Id: Ifda0caa640434254cf99c25a70887126f83427d2
2012-08-31 08:29:34 +03:00
Amir E. Aharoni
5172fcc253
Sort language names in the landing page
...
Change-Id: I7463cd08fb42e79f9e089809e3d16567c1ab1a60
2012-08-30 16:16:05 +03:00
Amir E. Aharoni
790065a1f9
Adding language presence by territory to langdb
...
A very simple mechanism for importing per-country language lists
from CLDR to ULS' langdb.
If I understand correctly, we only need languages spoken in a country
ordered by number of speakers. The CLDR data already has it and it should be
mostly useful.
Also added a utility function and a test.
Some tweaks to override the CLDR data are still needed:
* The data as it is omits some useful languages. For example, Amharic is not
listed in Eritrea.
* Some countries have a very large number of languages. Ideally it's right,
but is not practical currently, for example India with 75. Maybe
hand-picking or limiting the choice to top X languages can be useful,
but requires thought.
* Some language codes are standard, but different from Wikipedia practice,
for example "pa_Guru" (we just write "pa"). Maybe a mapping of codes
is needed.
Change-Id: I3c0cd5a9118997ba39a4f3695978e359f3de6956
2012-08-26 10:40:52 +03:00
Amir E. Aharoni
ee3cd5c8d1
Add basic information and utils for RTL scripts
...
Change-Id: Ie01b58cd3627e8f0bf726f0bb296bffb25efcbb5
2012-08-22 18:16:01 +03:00
Amire80 and Gerrit Code Review
2c2e480a9c
Merge "Cache the region filter results"
2012-08-21 14:14:17 +00:00
Amir E. Aharoni
c7192c5ec2
Remove double space
...
Change-Id: I01098eb637bbfe6170901dae68d5ea0fe1570aa6
2012-08-16 18:39:02 +03:00
Amir E. Aharoni
9ba1a77c7b
Added French to NA (Quebec), SA (Guiana) and WW
...
Also updated tests accordingly.
Patch originally proposed by Aude.
Change-Id: Id83f6fb80d394e6fac4d7486ba2feae9e9c5bd99
2012-08-15 09:37:16 +03:00
Amire80 and Gerrit Code Review
0ada49322a
Merge "WebFonts integration with ULS display settings."
2012-08-15 06:01:13 +00:00
Amir E. Aharoni
8f1860d8bd
Partly reverting the langdb
...
Multiple scripts and autonyms are not currently supported by ULS utils.
I commented out the problematic lines and left the current de-facto
situation in Wikipedia.
This is a TODO item, but it needs proper specification.
Also updated the tests somewhat.
Change-Id: I8cdc6ae430f5bb5af4b1890abf6e71a91b6beb3d
2012-08-14 16:46:11 +03:00
Amir E. Aharoni and Santhosh Thottingal
d2bdb80acc
Add Language settings dialog
...
Change-Id: Ie3455f32ac6ceff3c52d79643a6f7f82106ab7f1
2012-08-14 10:42:13 +05:30
Amire80 and Gerrit Code Review
279fc73826
Merge "Implement visual language grouping in ULS"
2012-08-07 10:59:15 +00:00